Guide
Does a trading bot retry a failed order?
Nyria does not retry a failed or rejected order. The one exception is a close on a cash account that the broker rejected for a reason that clears by itself, such as unsettled funds, a broker timeout or an outage. If the position is open, Nyria sends that close one more time, checking every 30 minutes. Every other failed exit stays failed and the position stays open, so you close it yourself or fix the cause and send another exit alert.
Official documentation
Recover from a failed order
- 1
Find the stage
An alert fails in one of three places: the strategy, the bot, or the broker. Each logs in a different place.
- 2
Open the right log
The strategy's Logs tab has one entry per incoming alert. The bot's Logs tab has one per bot per alert.
- 3
Read the reason
A bot log quotes the broker's reason word for word, so search for that exact text.
- 4
Fix the cause
Fix the alert, the strategy settings, the budget or the account, then wait for the next alert or send the entry again.
- 5
Close a stuck position
A rejected exit leaves the position open. Close it at your broker, or send another exit alert.
Three places an order can fail
- The alert never became a trade: Nyria could not read it, the ticker is not in the strategy's list, or the strategy is paused.
- The bot could not place it: the budget is below one contract, or the account has no buying power.
- The broker rejected it: missing permissions, a day-trade limit, a closed market or an unavailable contract.
The one close Nyria re-sends
- It applies to a close on a cash account only.
- The bot log marks it Retrying the close a cash account could not settle.
- It is sent once more, checking every 30 minutes while the position is open.
Your daily check
- Open Notifications, filter to Live, and read anything unread.
- Look for Failed or Needs attention rows on each live bot's Logs tab.
- Compare the Live now list with the positions page at your broker. They should match.
- Make sure every integration shows Connected.
Questions
- Does a rejected entry get sent again?
- No. A rejected entry is not sent again. Fix the cause and wait for the next alert, or send the entry again.
- What happens to a failed exit?
- The position stays open and the bot log shows the exit failed and the position is still open. Close it yourself.
- Does an exit alert with no position retry?
- No. It is logged Skipped and sends nothing.
- Will I be told a trade failed?
- Flagged failures send a notification under Trades, and a broker's late rejection appears under Brokers. The bot log records all of them.
- What does it cost?
- Paper is free. Live trading from $15 a month.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Alpaca.
- Step by step for one account: how to automate TradingView to tastytrade.
- Alert tester.
Guides
Why is my trading bot not placing orders?
Open the bot's Logs tab. Seven states explain a bot that places nothing.
Read guideWhy was my trading bot's exit skipped?
Skipped exits send nothing. Five causes, one leaves a position open.
Read guideHow do I get notified when a trading bot's order fails?
Trades email is off by default. Turn it on to hear about a failed order.
Read guideWhat happens when only some legs of an option spread fill?
Filled legs are tracked and exit on the next exit alert. Check your broker.
Read guideWhy did my broker reject an automated order?
The broker's reason, and the fix for each common rejection.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.