freqtrade_origin/freqtrade/exchange/bitmart.py

22 lines
448 B
Python
Raw Normal View History

2024-05-12 14:58:33 +00:00
"""Bitmart exchange subclass"""
2023-11-09 05:35:15 +00:00
import logging
from typing import Dict
from freqtrade.exchange import Exchange
logger = logging.getLogger(__name__)
class Bitmart(Exchange):
"""
Bitmart exchange class. Contains adjustments needed for Freqtrade to work
with this exchange.
"""
_ft_has: Dict = {
"stoploss_on_exchange": False, # Bitmart API does not support stoploss orders
"ohlcv_candle_limit": 200,
2023-11-09 05:35:15 +00:00
}