From 95be5121ec439f2508e67424c7cc0f4b45c28593 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Sat, 9 Oct 2021 13:14:41 -0600 Subject: [PATCH] Added bibox and hitbtc funding fee times --- freqtrade/exchange/bibox.py | 4 +++- freqtrade/exchange/hitbtc.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/freqtrade/exchange/bibox.py b/freqtrade/exchange/bibox.py index 074dd2b10..e0741e34a 100644 --- a/freqtrade/exchange/bibox.py +++ b/freqtrade/exchange/bibox.py @@ -1,6 +1,6 @@ """ Bibox exchange subclass """ import logging -from typing import Dict +from typing import Dict, List from freqtrade.exchange import Exchange @@ -24,3 +24,5 @@ class Bibox(Exchange): def _ccxt_config(self) -> Dict: # Parameters to add directly to ccxt sync/async initialization. return {"has": {"fetchCurrencies": False}} + + funding_fee_times: List[int] = [0, 8, 16] # hours of the day diff --git a/freqtrade/exchange/hitbtc.py b/freqtrade/exchange/hitbtc.py index a48c9a198..8e0a009f0 100644 --- a/freqtrade/exchange/hitbtc.py +++ b/freqtrade/exchange/hitbtc.py @@ -1,5 +1,5 @@ import logging -from typing import Dict +from typing import Dict, List from freqtrade.exchange import Exchange @@ -21,3 +21,5 @@ class Hitbtc(Exchange): "ohlcv_candle_limit": 1000, "ohlcv_params": {"sort": "DESC"} } + + funding_fee_times: List[int] = [0, 8, 16] # hours of the day