Goal
Enable our system to send Telegram messages that Cornix can parse as trade update commands, allowing us to modify the Take Profit (TP) or Stop Loss (SL) of a specific trade that is already open.
Background
We already send Telegram trade signals that Cornix parses and executes. After a trade is opened, market conditions may change and we may need to adjust the trade’s TP or SL.
The requested feature is to send a follow-up Telegram message, linked to an earlier signal, that Cornix can interpret as an update to the existing open trade rather than a new trade.
Requested Behavior
The system should be able to send a Telegram message that:
Specifies whether to update:
Example Use Case
Initial signal sent to Telegram:
LONG BTC/USDT
Entry: 65000
TP: 66500
SL: 64000Later, after the trade is already open, we want to update the SL:
Update BTC/USDT trade
Move SL to 64800Or update TP:
Update BTC/USDT trade
Change TP to 67200Requirements
The update message should clearly identify the trade, ideally by:
Acceptance Criteria