A local Freqtrade stoploss is evaluated in the bot; stoploss_on_exchange places a stop order on the venue after the entry fills, and official docs say a failed placement triggers an emergency_exit (default market). In dry-run, official text assumes an on-exchange stop is filled at the stop price, so a paper test can compare timing and fallback logs but cannot demonstrate a live exchange trigger. Recheck Freqtrade's supported-exchange table for your market. This is an operational comparison, not a return test.
Documentation review. AI-assisted drafting. Educational information; no individual financial advice.
Two different places the stop can be evaluated
Freqtrade can manage a stoploss locally in the bot, or it can place a stoploss order on the exchange after an entry fill. Official stoploss documentation configures this with stoploss_on_exchange (boolean), stoploss_on_exchange_interval (default 60 seconds), stoploss_on_exchange_limit_ratio (used when the stop is a limit order; the official example is 0.99), and emergency_exit (optional, defaults to market) for the case where an on-exchange stop cannot be placed.
The stoploss value itself is a loss ratio and is optional. Official text says stoploss calculations include fees, so a stoploss of −10% is placed exactly 10% below the entry point. Configuration values override strategy values. This article compares the two evaluation places for a paper (dry-run) test of trigger timing and fallback behaviour. It does not claim that either mode improves returns.
Official on-exchange behaviour and fallback
When stoploss_on_exchange is enabled, official documentation says a stoploss order is placed on the exchange immediately after the buy (entry) order fills. Execution of that stop then happens at the exchange, without depending on the bot's network path at the moment of the trigger. If the on-exchange stoploss is cancelled manually, the bot creates a new one. The bot does not update that order on every iteration; stoploss_on_exchange_interval sets the interval in seconds (default 60) so the process is not so frequent that the exchange bans the API key. The same interval logic reapplies a stop if it was cancelled accidentally.
Not every venue or market supports this mode. Official documentation maintains a supported-exchange table, including whether the available on-exchange stop is market, limit, or unavailable, and notes that the list contains supported exchanges and that other exchanges may work but will not have stoploss on exchange available. Recheck that table for your venue and market before enabling the flag. Support can differ between spot and futures on the same venue, and between market and limit stop types, so check the row for the exact market you trade. This article does not assert support for any venue absent from a current reading of that table.
Official order-type language describes the two styles as: stop-market meaning "when stop triggers, get me out at whatever price," and stop-limit meaning "when stop triggers, place a limit order a configured ratio below the stop price." The official 100 / 95 / 0.99 illustration places a stop price at 95 and a limit at 95 × 0.99 = 94.05, so a fill may occur between 95 and 94.05. Official documentation recommends stop-market whenever it is available, because the point of a stoploss is to exit during a crash, and a limit may not fill. The choice remains the operator's, with that risk disclosed.
If creating the on-exchange stop fails, official documentation says an emergency exit is initiated. By default that exit uses a market order; the type can be changed with emergency_exit, and the docs advise against treating that change lightly. Official text also warns that a very tight on-exchange stop raises the risk of a missed fill, and that a very wide stop (the example is −1) may fail to place because of exchange limitations, in which case the bot falls back to emergency_exit. Freqtrade does not currently implement a limitation to prevent that wide-stop failure, so official guidance is to keep values within reasonable exchange limits or disable on-exchange stoploss.
Official dry-run assumption
Dry-run does not post orders, including stoploss orders, to the exchange. Official dry-run considerations state that, in combination with stoploss_on_exchange, the stop-loss price is assumed to be filled. A paper test can still compare configuration, logs, and recorded trade reasons, but it cannot demonstrate a real on-exchange trigger path. Local mode in dry-run is also a simulation: the bot evaluates the stop in its loop against simulated prices.
Official backtesting assumptions remain a separate model: stoploss exits at the stop price, stoploss is evaluated before ROI on the same candle, and backtests can show more stoploss exits than dry-run or live for the same strategy. Do not treat a backtest stop count as the paper-test result.
A paper test of trigger timing and emergency-exit fallback
This is a repeatable procedure, not a completed hands-on run and not a performance test.
- Pin the strategy, the
stoplossratio, trailing-stop settings (on or off), pricing, order types, pairs, and timeframe. Use dry-run and a dedicated database for each mode (see the separate SQLite procedure). - Run A, local stop:
stoploss_on_exchangefalse. Log file, for example,user_data/logs/sl-local-2026-11-11.log. Database, for example,sqlite:///user_data/sl-local-2026-11-11.sqlite. - Run B, on-exchange configuration in dry-run:
stoploss_on_exchangetrue, with an explicitstoploss_on_exchange_interval(start with the official default of 60 unless you have a documented reason to change it), and withstoploss/emergency_exitrecorded. If the official table says your venue supports only one of market or limit for this mode, setorder_typesaccordingly; official text says the bot will fail to start if the configured stop type is not supported and both types are not available. - During the window, record for every stopped trade: signal time, the stop price implied by the official fee-inclusive ratio, the time the exit is recorded, the exit reason, and whether logs show an emergency-exit path rather than a normal stop.
- Compare Run A and Run B on timing and reason, not on profit. In local mode, the stop cannot fire between bot iterations except as the simulator models it. In on-exchange mode, official live behaviour is that the exchange holds the stop, but official dry-run behaviour assumes a fill at the stop price. Note that difference in the test record so a dry-run result is not described as an exchange trigger.
- Optional configuration probe (still in dry-run, still not a return test): confirm that a deliberately unsupported stop type fails to start, as official validation describes, and that your
emergency_exitvalue is the one you intend if placement failure is logged.
A minimal official-style order_types block for on-exchange mode, taken from the stoploss documentation, is:
order_types = {
"entry": "limit",
"exit": "limit",
"emergency_exit": "market",
"stoploss": "market",
"stoploss_on_exchange": True,
"stoploss_on_exchange_interval": 60,
"stoploss_on_exchange_limit_ratio": 0.99
}Official documentation also says the configuration file's order_types mapping overrides the strategy as a whole, so the dictionary must be complete where it is defined. If stoploss_on_exchange is enabled, entry, exit, stoploss, and stoploss_on_exchange must be present or the bot will fail to start.
Tight and wide stops
Official warnings are operational, not performance claims. A tight on-exchange stop can miss a fill. A very wide on-exchange stop can fail to place and fall back to emergency_exit. When leverage is used, official documentation says the stoploss ratio is risk on the trade: a 10% stoploss on a 10x position triggers after a 1% price move. This article does not recommend a leverage setting; it only restates that official relationship so a paper test does not mis-read the trigger distance.
Trailing stops and custom stoploss functions have additional official rules (including a limitation that a stop on an open trade cannot be changed once a trailing stop has already been adjusted). Those modes can be included in a later comparison if they are part of the pinned configuration, but they are not required for a first timing-and-fallback test.
What this test is not
It is not a claim that on-exchange stops are safer in a measured sense, that local stops are better, or that a dry-run assumed fill will match a live exchange fill. Recheck the official stoploss page and your venue row in the supported-exchange table at the next review. Related reading: the bot evaluation guide and dry-run versus backtest fills.
Sources & method
What this article adds
A dry-run paper-test procedure that isolates trigger timing and emergency-exit fallback between local and on-exchange stoploss modes, restating official placement, interval, limit-ratio, and failure behaviour without reporting a bot run or any return.
How it was prepared
Drafted from official Freqtrade stable stoploss and configuration (order_types and dry-run) pages fetched on 2026-11-11. Supported-exchange remarks are limited to official guidance; no individual venue is asserted. No bot was run and no returns are reported.
- Freqtrade stable docs: Stoploss Checked 2026-11-11
- Freqtrade stable docs: Configuration Checked 2026-11-11
Official stoploss documentation supports stoploss_on_exchange, the default 60-second interval, the 0.99 limit-ratio example, emergency_exit fallback, tight and wide stop warnings, fee-inclusive placement, and the supported-exchange table. Official dry-run considerations support assuming a fill at the stop price when that flag is enabled.
For corrections, contact the publisher. Editorial policy · Affiliate disclosure