Current Behavior
The existing Telegram (TG) bot integration allows sending trade signals via messages. These messages can instruct the bot to open trades (e.g., go long/short on a specific coin). However, once a signal is sent, it remains active indefinitely unless manually canceled. This can lead to undesirable scenarios:
If a long signal is sent and the ideal entry window is missed, the bot might still open the trade later — potentially at a much worse price (e.g., after the coin has dropped) during a drop.
As a result, stale signals lead to poor entries, increased drawdown, and unintended risk.
Proposed Feature: Time-Bound Signal Validity
Introduce an auto-expiry mechanism for trade signals sent to the Telegram bot.
The key aspects are:
Each signal sent to the bot includes a unique message ID (e.g., #123456).
This ID is used to track the specific trade signal lifecycle.
When the message is sent, an expiry duration is attached (default: 5 minutes, but configurable per signal or globally).
After this duration, if the trade has not been opened, the signal is considered expired and should be automatically canceled.
After the time threshold is reached:
The bot marks the signal as invalid/stale.
Optionally, the bot can send a follow-up message to the user:
“Signal #123456 expired after 5 minutes. No trade opened.”
This prevents execution of outdated trade entries.
Benefits
🛑 Reduces accidental bad entries from outdated signals.
🔄 Keeps trade logic time-sensitive and aligned with current market momentum.
⚙️ Fully automated, reducing manual oversight for each signal.
📥 Improves user trust in bot accuracy and reactivity.
This is a similar request as Time-Limited Trade Setups in Free Text Flow #511