Update FTX to support new standardized futures format

This commit is contained in:
Matthias 2022-01-06 11:16:05 +01:00
parent 04f2097002
commit 72b2d4ab5f
3 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,6 @@ class Ftx(Exchange):
"ohlcv_candle_limit": 1500,
"mark_ohlcv_price": "index",
"mark_ohlcv_timeframe": "1h",
"ccxt_futures_name": "future"
}
_supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [

View File

@ -43,7 +43,7 @@ setup(
],
install_requires=[
# from requirements.txt
'ccxt>=1.61.24',
'ccxt>=1.66.20',
'SQLAlchemy',
'python-telegram-bot>=13.4',
'arrow>=0.17.0',

View File

@ -39,7 +39,7 @@ EXCHANGES = {
'pair': 'BTC/USD',
'hasQuoteVolume': True,
'timeframe': '5m',
'futures_pair': 'BTC-PERP',
'futures_pair': 'BTC/USD:USD',
'futures': True,
},
'kucoin': {