2021-04-13 10:28:07 +00:00
|
|
|
""" Kucoin exchange subclass """
|
|
|
|
import logging
|
|
|
|
from typing import Dict
|
|
|
|
|
|
|
|
from freqtrade.exchange import Exchange
|
|
|
|
|
|
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
class Kucoin(Exchange):
|
|
|
|
"""
|
|
|
|
Kucoin 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 = {
|
|
|
|
"l2_limit_range": [20, 100],
|
|
|
|
"l2_limit_range_required": False,
|
2021-09-16 04:28:10 +00:00
|
|
|
"order_time_in_force": ['gtc', 'fok', 'ioc'],
|
|
|
|
"time_in_force_parameter": "timeInForce",
|
2021-04-13 10:28:07 +00:00
|
|
|
}
|