Safety
Dry-run is the default. Set LIVE_TRADING_ENABLED=true only when you intend to send live MT5
orders.
Cursor priming
On first run the service primes the cursor to the latest Telegram message and skips old chat history, so historical signals are not replayed into the terminal.
Deduplication
Deduplication uses (chat_id, message_id) so restarts do not duplicate orders. Handled keys are
persisted under STATE_DIR (see Logs & State).
Live order path
Live orders require all of the following:
LIVE_TRADING_ENABLED=true- MT5 initialization
- Symbol visibility / selection
order_check- Then
order_send
Missing SL / TP
Missing SL/TP are allowed, but logged as missing_sl and missing_tp.
Related
Last updated on