From 71cb2ded7958e45c579fa832bfbaef37ff901153 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 May 2024 18:18:22 +0200 Subject: [PATCH] Add Bingx stoploss documentation --- docs/exchanges.md | 7 +++++++ docs/stoploss.md | 1 + freqtrade/exchange/bingx.py | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/docs/exchanges.md b/docs/exchanges.md index d4437cfff..f3550e97e 100644 --- a/docs/exchanges.md +++ b/docs/exchanges.md @@ -127,6 +127,13 @@ These settings will be checked on startup, and freqtrade will show an error if t Freqtrade will not attempt to change these settings. +## Bingx + +BingX supports [time_in_force](configuration.md#understand-order_time_in_force) with settings "GTC" (good till cancelled), "IOC" (immediate-or-cancel) and "PO" (Post only) settings. + +!!! Tip "Stoploss on Exchange" + Bingx supports `stoploss_on_exchange` and can use both stop-limit and stop-market orders. It provides great advantages, so we recommend to benefit from it by enabling stoploss on exchange. + ## Kraken Kraken supports [time_in_force](configuration.md#understand-order_time_in_force) with settings "GTC" (good till cancelled), "IOC" (immediate-or-cancel) and "PO" (Post only) settings. diff --git a/docs/stoploss.md b/docs/stoploss.md index a1095b465..e0353d4da 100644 --- a/docs/stoploss.md +++ b/docs/stoploss.md @@ -30,6 +30,7 @@ The Order-type will be ignored if only one mode is available. |----------|-------------| | Binance | limit | | Binance Futures | market, limit | +| Bingx | market, limit | | HTX (former Huobi) | limit | | kraken | market, limit | | Gate | limit | diff --git a/freqtrade/exchange/bingx.py b/freqtrade/exchange/bingx.py index fee74085b..ea0c32a85 100644 --- a/freqtrade/exchange/bingx.py +++ b/freqtrade/exchange/bingx.py @@ -19,4 +19,9 @@ class Bingx(Exchange): "ohlcv_candle_limit": 1000, "stoploss_on_exchange": True, "stoploss_order_types": {"limit": "limit", "market": "market"}, + "order_time_in_force": [ + "GTC", + "IOC", + "PO", + ], }