Added more update_funding_fee tests, set exchange of default conf

This commit is contained in:
Sam Germain
2021-10-06 01:39:02 -06:00
parent a4a5c1aad0
commit e367f84b06
5 changed files with 32 additions and 30 deletions

View File

@@ -1,7 +1,8 @@
""" Bybit exchange subclass """
import logging
from typing import Dict, List
from typing import Dict, List, Tuple
from freqtrade.enums import Collateral, TradingMode
from freqtrade.exchange import Exchange
@@ -23,3 +24,9 @@ class Bybit(Exchange):
}
funding_fee_times: List[int] = [0, 8, 16] # hours of the day
_supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [
# TradingMode.SPOT always supported and not required in this list
# (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported
# (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported
]