Skip to content

Commit cdffee2

Browse files
committed
docs: Add stoploss order type explainer
closes freqtrade#12984
1 parent 384e0c5 commit cdffee2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/stoploss.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@ The Order-type will be ignored if only one mode is available.
3939
In that case, the bot will fallback to using the `emergency_exit` order type to place a market order as placing the stoploss order failed.
4040
Freqtrade currently does not implement a limitation to avoid this situation, so please ensure your stoploss values are within reasonable limits for your exchange or disable stoploss on exchange.
4141

42+
### Which order type is used for stoploss on exchange?
43+
44+
The order type used for stoploss on exchange is determined by the `stoploss` value and the exchange capabilities.
45+
If your selected exchange supports both stop-limit and stop-market orders, then the `stoploss` value will determine which order type is used for stoploss on exchange.
46+
If your exchange only supports one of the two order types, you must configure your `stoploss` value accordingly, otherwise the bot will fail to start.
47+
48+
### Which order type should i use for stoploss on exchange?
49+
50+
If we translate the two stoploss order types into human words - they would be something like this:
51+
52+
* **stoploss-market** -> "when stop triggers, get me the hell out of here at whatever price".
53+
* **stoploss-limit** -> "when stop triggers, place a limit order x% below the stoploss price. I accept a loss of "stoploss + 1%" at worst - but if price jumps further - i accept to wait for price to get back down to me, potentially resulting in a much bigger loss than "stoploss + 1%".
54+
55+
As a consequence, we recommend using stoploss-market orders whenever possible, as the main point of a stoploss is to get you out of a position when the market is crashing, and in such situations, you'll want to exit the position immediately at the best available price, rather than risking a limit order not getting filled and potentially incurring even greater losses.
56+
The choice is ultimately up to you, but please be aware of the risk of using stoploss-limit orders, especially in volatile markets.
57+
4258
### stoploss_on_exchange and stoploss_on_exchange_limit_ratio
4359

4460
Enable or Disable stop loss on exchange.

0 commit comments

Comments
 (0)