Push Notifications
FreqDroid supports two ways to deliver push notifications. Pick whichever fits your workflow.
| ntfy | FCM via push.freqdroid.com | |
|---|---|---|
| Setup | Self-host an ntfy server | Just register in the app |
| Battery | Foreground service or polling | Real push, no service or polling |
| Latency | Instant (Live) or up to interval | Instant |
| Platforms | Android (iOS once released) | Android and iPhone |
| Encryption in transit | TLS to your server | TLS + ciphertext only your phone can open (X25519 key per device), through Google FCM (Android) or Apple’s push service (iPhone) |
| Trading data leaves your network | Yes (to your ntfy) | Yes (to push.freqdroid.com โ Google FCM or Apple, encrypted) |
Pick a transport
Set up ntfy
Self-host an ntfy server, point FreqTrade webhooks at your topics, subscribe from the app. Android now, iOS once the app is released.
Set up FCM
Register the device in the app, point FreqTrade webhooks at your unique relay URL. No server to run. Android and iPhone.
Add the Python callback
Optional add-on for richer exit messages โ profit-based emoji, partial-fill handling, trade duration. Works with both transports.
Webhook events at a glance
Both transports route through FreqTrade’s webhook block in config.json, but the block differs: ntfy uses "format": "raw" with a data field per event, FCM uses "format": "json" with bot_name and message. Copy the example from the matching setup page. FreqTrade fires one of these event types per notification, and you template the body for each one separately. Any event not listed in your webhook block is silently dropped.
| Event | Fires when | Useful template tokens |
|---|---|---|
entry | Entry order placed | {trade_id}, {pair}, {direction}, {open_rate}, {stake_amount}, {stake_currency}, {enter_tag} |
entry_fill | Entry order filled | same as entry |
entry_cancel | Entry order cancelled | {trade_id}, {pair}, {reason} |
exit | Exit order placed | {trade_id}, {pair}, {order_rate}, {exit_reason}, {profit_amount}, {profit_ratio} |
exit_fill | Exit order filled | same as exit |
exit_cancel | Exit order cancelled | {trade_id}, {pair}, {reason} |
protection_trigger | Per-pair protection activated | {pair}, {reason}, {lock_end_time} |
protection_trigger_global | Global protection activated (all pairs) | {reason}, {lock_end_time} |
status | Bot state change (running, stopped, process died) | {status} |
startup | Bot startup info (exchange, ROI, pairlist, protections) | {status} |
warning | Non-fatal warnings | {status} |
exception | Exceptions raised during operation | {status} |
strategy_msg | Custom messages from dp.send_msg() in the strategy | {msg} |
liquidation_warning | A futures position’s liquidation stop is getting close (FreqTrade 2026.9+) | {trade_id}, {pair}, {direction}, {leverage}, {current_rate}, {liquidation_price}, {remaining_ratio}, {warn_ratio}, {positions_at_risk}, {open_positions} |
strategy_msgrequires"allow_custom_messages": trueat the top of thewebhookblock. Without that flag, FreqTrade silently drops everydp.send_msg()call instead of dispatching it as a webhook.
startup/warning/exceptionfall through to thewebhookstatuskey by default in FreqTrade. Defining them as explicit unprefixed keys (as in the setup-page examples) bypasses that fallback so each gets its own template.
liquidation_warningis only sent if you list it. FreqTrade (2026.9+, futures only) sends it when a position’s liquidation stop is withinliquidation_warn_ratioof the price (default0.2: 2% away at 10x), at most once a day per position unless the distance halves. It has no legacy fallback key, so add an explicitliquidation_warningblock. Start the message with “Liquidation warning” (or, with FCM, add"type": "liquidation_warning") and FreqDroid posts it on a separate high-importance Liquidation warnings channel on Android.remaining_ratioruns from about 1.0 for a fresh position to 0.0 at the stop, so format it as{remaining_ratio:.0%}. Don’t use a format spec on{leverage}: it can be empty, and FreqTrade drops the whole webhook when formatting fails.
#{trade_id}in the body enables tap-to-navigate. FreqDroid scans the message text for#<number>and uses it to deep-link straight to the trade detail screen.