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, "ohlcv_candle_limit": 1500,
"mark_ohlcv_price": "index", "mark_ohlcv_price": "index",
"mark_ohlcv_timeframe": "1h", "mark_ohlcv_timeframe": "1h",
"ccxt_futures_name": "future"
} }
_supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [ _supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [

View File

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

View File

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