2021-08-20 04:51:04 +00:00
|
|
|
""" Gate.io exchange subclass """
|
|
|
|
import logging
|
|
|
|
from typing import Dict
|
|
|
|
|
|
|
|
from freqtrade.exchange import Exchange
|
|
|
|
|
|
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
class Gateio(Exchange):
|
|
|
|
"""
|
|
|
|
Gate.io exchange class. Contains adjustments needed for Freqtrade to work
|
|
|
|
with this exchange.
|
|
|
|
|
|
|
|
Please note that this exchange is not included in the list of exchanges
|
|
|
|
officially supported by the Freqtrade development team. So some features
|
|
|
|
may still not work as expected.
|
|
|
|
"""
|
|
|
|
|
|
|
|
_ft_has: Dict = {
|
|
|
|
"ohlcv_candle_limit": 1000,
|
|
|
|
}
|
2021-09-16 04:28:10 +00:00
|
|
|
|
|
|
|
_headers = {'X-Gate-Channel-Id': 'freqtrade'}
|