mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
25 lines
603 B
Python
25 lines
603 B
Python
"""Bingx exchange subclass"""
|
|
|
|
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,
|
|
"stoploss_on_exchange": True,
|
|
"stoploss_order_types": {"limit": "limit", "market": "market"},
|
|
"order_time_in_force": ["GTC", "IOC", "PO"],
|
|
"trades_has_history": False, # Endpoint doesn't seem to support pagination
|
|
}
|