Added funding_fee method headers to exchange, and implemented some of the methods
This commit is contained in:
@@ -3,12 +3,12 @@ import logging
|
||||
from typing import Any, Dict, List
|
||||
|
||||
import ccxt
|
||||
from datetime import time
|
||||
|
||||
from freqtrade.exceptions import (DDosProtection, InsufficientFundsError, InvalidOrderException,
|
||||
OperationalException, TemporaryError)
|
||||
from freqtrade.exchange import Exchange
|
||||
from freqtrade.exchange.common import retrier
|
||||
from freqtrade.utils import hours_to_time
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -22,7 +22,7 @@ class Kraken(Exchange):
|
||||
"trades_pagination": "id",
|
||||
"trades_pagination_arg": "since",
|
||||
}
|
||||
funding_fee_times: List[time] = hours_to_time([0, 4, 8, 12, 16, 20])
|
||||
funding_fee_times: List[int] = [0, 4, 8, 12, 16, 20] # hours of the day
|
||||
|
||||
def market_is_tradable(self, market: Dict[str, Any]) -> bool:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user