moved mark_ohlcv_price in _ft_has
This commit is contained in:
@@ -69,6 +69,7 @@ class Exchange:
|
||||
"trades_pagination_arg": "since",
|
||||
"l2_limit_range": None,
|
||||
"l2_limit_range_required": True, # Allow Empty L2 limit (kucoin)
|
||||
"mark_ohlcv_price": "mark"
|
||||
}
|
||||
_ft_has: Dict = {}
|
||||
|
||||
@@ -80,8 +81,6 @@ class Exchange:
|
||||
# TradingMode.SPOT always supported and not required in this list
|
||||
]
|
||||
|
||||
mark_ohlcv_price = 'mark'
|
||||
|
||||
def __init__(self, config: Dict[str, Any], validate: bool = True) -> None:
|
||||
"""
|
||||
Initializes this module with the given config,
|
||||
@@ -1752,7 +1751,7 @@ class Exchange:
|
||||
timeframe="1h",
|
||||
since=start,
|
||||
params={
|
||||
'price': self.mark_ohlcv_price
|
||||
'price': self._ft_has["mark_ohlcv_price"]
|
||||
}
|
||||
)
|
||||
history = {}
|
||||
|
||||
Reference in New Issue
Block a user