Whenever a trade or close order fails, MagicTradeBot immediately broadcasts notifications to ensure you are aware and can take action if needed.
๐น Types of Failure Messages
Order Execution Failed
- Triggered when the bot cannot place a new trade
Broadcast includes:
- Symbol (e.g., BTCUSDT)
- Intended Direction (Long/Short)
- Error Reason (e.g., insufficient balance, exchange rejection)
Close Order Failed
- Triggered when an existing trade cannot be closed
Broadcast includes:
- Symbol
- Order ID
- Error Details (e.g., network timeout, exchange API issue)
๐น Why This Is Important
- Provides immediate awareness of issues affecting trade execution
- Allows you to manually intervene if a critical order fails
- Ensures account risk is monitored even during failures
- Prevents missed stop-loss, take-profit, or DCA executions
๐น Key Takeaway
If an order fails, MagicTradeBot broadcasts:
- Order execution failed โ symbol, intended direction, error reason โ
- Close order failed โ symbol, order ID, error details โ
These notifications give you real-time visibility of trading failures, helping you protect your account and maintain control over active positions.