AnonymousSpottedToad/securityPatternsRecovery / codebase /repos /python /freqtrade_freqtrade /freqtrade /exchange /bingx.py
| """Bingx exchange subclass""" | |
| import logging | |
| from freqtrade.exchange import Exchange | |
| from freqtrade.exchange.exchange_types import FtHas | |
| logger = logging.getLogger(__name__) | |
| class Bingx(Exchange): | |
| """ | |
| Bingx exchange class. Contains adjustments needed for Freqtrade to work | |
| with this exchange. | |
| """ | |
| _ft_has: FtHas = { | |
| "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 | |
| } | |
Xet Storage Details
- Size:
- 632 Bytes
- Xet hash:
- ad474ab991814d7343ed7a8477534bbd1f767700d0d64279c56b68d72079d121
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.