mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 12:13:57 +00:00
22 lines
483 B
Python
22 lines
483 B
Python
"""Lbank exchange subclass"""
|
|
|
|
import logging
|
|
|
|
from freqtrade.exchange import Exchange
|
|
from freqtrade.exchange.exchange_types import FtHas
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
class Lbank(Exchange):
|
|
"""
|
|
Lbank exchange class. Contains adjustments needed for Freqtrade to work
|
|
with this exchange.
|
|
"""
|
|
|
|
_ft_has: FtHas = {
|
|
"ohlcv_candle_limit": 1998, # lower than the allowed 2000 to avoid current_candle issue
|
|
"trades_has_history": False,
|
|
}
|