Added bibox and hitbtc funding fee times

This commit is contained in:
Sam Germain 2021-10-09 13:14:41 -06:00
parent b83933a10a
commit 95be5121ec
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
""" Bibox exchange subclass """ """ Bibox exchange subclass """
import logging import logging
from typing import Dict from typing import Dict, List
from freqtrade.exchange import Exchange from freqtrade.exchange import Exchange
@ -24,3 +24,5 @@ class Bibox(Exchange):
def _ccxt_config(self) -> Dict: def _ccxt_config(self) -> Dict:
# Parameters to add directly to ccxt sync/async initialization. # Parameters to add directly to ccxt sync/async initialization.
return {"has": {"fetchCurrencies": False}} return {"has": {"fetchCurrencies": False}}
funding_fee_times: List[int] = [0, 8, 16] # hours of the day

View File

@ -1,5 +1,5 @@
import logging import logging
from typing import Dict from typing import Dict, List
from freqtrade.exchange import Exchange from freqtrade.exchange import Exchange
@ -21,3 +21,5 @@ class Hitbtc(Exchange):
"ohlcv_candle_limit": 1000, "ohlcv_candle_limit": 1000,
"ohlcv_params": {"sort": "DESC"} "ohlcv_params": {"sort": "DESC"}
} }
funding_fee_times: List[int] = [0, 8, 16] # hours of the day