moved mark_ohlcv_price in _ft_has

This commit is contained in:
Sam Germain
2021-10-31 00:53:36 -06:00
parent 0ea8957ccc
commit 2bfc812618
2 changed files with 3 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ class Ftx(Exchange):
_ft_has: Dict = {
"stoploss_on_exchange": True,
"ohlcv_candle_limit": 1500,
"mark_ohlcv_price": "index"
}
funding_fee_times: List[int] = list(range(0, 24))
@@ -28,7 +29,6 @@ class Ftx(Exchange):
# (TradingMode.MARGIN, Collateral.CROSS), # TODO-lev: Uncomment once supported
# (TradingMode.FUTURES, Collateral.CROSS) # TODO-lev: Uncomment once supported
]
mark_ohlcv_price = 'index'
def market_is_tradable(self, market: Dict[str, Any]) -> bool:
"""