Update FTX to support new standardized futures format
This commit is contained in:
parent
04f2097002
commit
72b2d4ab5f
@ -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]] = [
|
||||||
|
2
setup.py
2
setup.py
@ -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',
|
||||||
|
@ -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': {
|
||||||
|
Loading…
Reference in New Issue
Block a user