2020-10-13 18:09:43 +00:00
|
|
|
""" Bittrex exchange subclass """
|
|
|
|
import logging
|
|
|
|
from typing import Dict
|
|
|
|
|
|
|
|
from freqtrade.exchange import Exchange
|
|
|
|
|
|
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
class Bittrex(Exchange):
|
|
|
|
"""
|
|
|
|
Bittrex exchange class. Contains adjustments needed for Freqtrade to work
|
|
|
|
with this exchange.
|
|
|
|
"""
|
|
|
|
|
|
|
|
_ft_has: Dict = {
|
2021-02-14 09:32:55 +00:00
|
|
|
"ohlcv_candle_limit_per_timeframe": {
|
|
|
|
'1m': 1440,
|
|
|
|
'5m': 288,
|
|
|
|
'1h': 744,
|
|
|
|
'1d': 365,
|
|
|
|
},
|
2020-10-13 18:09:43 +00:00
|
|
|
"l2_limit_range": [1, 25, 500],
|
|
|
|
}
|