2021-11-02 18:49:53 +00:00
|
|
|
import logging
|
|
|
|
from typing import Dict
|
|
|
|
|
|
|
|
from freqtrade.exchange import Exchange
|
|
|
|
|
|
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
2022-02-08 18:45:39 +00:00
|
|
|
class Okx(Exchange):
|
|
|
|
"""Okx exchange class.
|
2021-11-09 10:31:54 +00:00
|
|
|
|
|
|
|
Contains adjustments needed for Freqtrade to work with this exchange.
|
2021-11-02 18:49:53 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
_ft_has: Dict = {
|
2022-01-06 13:31:23 +00:00
|
|
|
"ohlcv_candle_limit": 300,
|
2021-11-02 18:49:53 +00:00
|
|
|
}
|