From b27e52b27286e4a2f4be9c9b1cdcb673896dae35 Mon Sep 17 00:00:00 2001 From: Robert Davey Date: Wed, 29 May 2024 13:35:31 +0100 Subject: [PATCH 1/2] Update rest-api.md Update docs to reflect force exit order_type and rate options --- docs/rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rest-api.md b/docs/rest-api.md index 51573b77f..50d8413fa 100644 --- a/docs/rest-api.md +++ b/docs/rest-api.md @@ -161,7 +161,7 @@ freqtrade-client --config rest_config.json [optional parameters] | `delete_lock ` | Deletes (disables) the lock by id. | `locks add , , [side], [reason]` | Locks a pair until "until". (Until will be rounded up to the nearest timeframe). | `profit` | Display a summary of your profit/loss from close trades and some stats about your performance. -| `forceexit ` | Instantly exits the given trade (Ignoring `minimum_roi`). +| `forceexit [order_type] [rate]` | Instantly exits the given trade (ignoring `minimum_roi`), using the given order type ("market" or "limit", uses your config setting if not specified), and the chosen rate (full sell if not specified). | `forceexit all` | Instantly exits all open trades (Ignoring `minimum_roi`). | `forceenter [rate]` | Instantly enters the given pair. Rate is optional. (`force_entry_enable` must be set to True) | `forceenter [rate]` | Instantly longs or shorts the given pair. Rate is optional. (`force_entry_enable` must be set to True) From 7ca96beca7b0d2726c7f0019c33c379b213c192a Mon Sep 17 00:00:00 2001 From: Robert Davey Date: Wed, 29 May 2024 15:30:41 +0100 Subject: [PATCH 2/2] Amend rate to amount --- docs/rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rest-api.md b/docs/rest-api.md index 50d8413fa..2b55c2563 100644 --- a/docs/rest-api.md +++ b/docs/rest-api.md @@ -161,7 +161,7 @@ freqtrade-client --config rest_config.json [optional parameters] | `delete_lock ` | Deletes (disables) the lock by id. | `locks add , , [side], [reason]` | Locks a pair until "until". (Until will be rounded up to the nearest timeframe). | `profit` | Display a summary of your profit/loss from close trades and some stats about your performance. -| `forceexit [order_type] [rate]` | Instantly exits the given trade (ignoring `minimum_roi`), using the given order type ("market" or "limit", uses your config setting if not specified), and the chosen rate (full sell if not specified). +| `forceexit [order_type] [amount]` | Instantly exits the given trade (ignoring `minimum_roi`), using the given order type ("market" or "limit", uses your config setting if not specified), and the chosen amount (full sell if not specified). | `forceexit all` | Instantly exits all open trades (Ignoring `minimum_roi`). | `forceenter [rate]` | Instantly enters the given pair. Rate is optional. (`force_entry_enable` must be set to True) | `forceenter [rate]` | Instantly longs or shorts the given pair. Rate is optional. (`force_entry_enable` must be set to True)