mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
23 lines
561 B
Python
23 lines
561 B
Python
"""Bitmart exchange subclass"""
|
|
|
|
import logging
|
|
|
|
from freqtrade.exchange import Exchange
|
|
from freqtrade.exchange.exchange_types import FtHas
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
class Bitmart(Exchange):
|
|
"""
|
|
Bitmart exchange class. Contains adjustments needed for Freqtrade to work
|
|
with this exchange.
|
|
"""
|
|
|
|
_ft_has: FtHas = {
|
|
"stoploss_on_exchange": False, # Bitmart API does not support stoploss orders
|
|
"ohlcv_candle_limit": 200,
|
|
"trades_has_history": False, # Endpoint doesn't seem to support pagination
|
|
}
|