freqtrade_origin/freqtrade/exchange/bingx.py

23 lines
467 B
Python
Raw Normal View History

2024-05-12 14:58:33 +00:00
"""Bingx exchange subclass"""
2024-04-02 05:14:52 +00:00
import logging
from typing import Dict
from freqtrade.exchange import Exchange
logger = logging.getLogger(__name__)
class Bingx(Exchange):
"""
Bingx exchange class. Contains adjustments needed for Freqtrade to work
with this exchange.
"""
_ft_has: Dict = {
"ohlcv_candle_limit": 1000,
2024-05-20 07:53:52 +00:00
"stoploss_on_exchange": False,
"stoploss_order_types": {"limit": "limit", "market": "market"},
2024-04-02 05:14:52 +00:00
}