mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
29 lines
771 B
Python
29 lines
771 B
Python
""" Kucoin exchange subclass """
|
|
import logging
|
|
from typing import Dict, List
|
|
|
|
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,
|
|
"order_time_in_force": ['gtc', 'fok', 'ioc'],
|
|
"time_in_force_parameter": "timeInForce",
|
|
}
|
|
|
|
funding_fee_times: List[int] = [4, 12, 20] # hours of the day
|