Guide
Why was my trading bot's exit skipped?
A skipped exit sends nothing to your broker and Nyria does not retry it. The row on the bot's Logs tab names which of five things happened: the bot held no position, the entry was rejected, the exit arrived before the entry filled, the exit named the wrong side, or the exit failed and the position is still open. The first four leave nothing open. Only the last one needs you, because the position is open at your broker.
Official documentation
Find out why an exit was skipped
- 1
Open the row
On the bot's Logs tab, open the Skipped row. Its details give the reason in words and a reason code.
- 2
Look for Needs attention
A row badged Needs attention means the exit failed and the position is still open. Close it at your broker.
- 3
Read the entry above it
If the entry was rejected or canceled, scroll up. The entry's own row names the cause and the fix.
- 4
Check the exit's side
On the strategy's Logs tab, a long position needs a long exit. Send the exit for the side that is open.
- 5
Send the exit again if needed
After you fix the cause, send another exit alert, or close the position at your broker.
The five causes
- No position found: the bot had nothing to close. The reason code is no_position.
- The entry was rejected, so the exit found nothing. The reason code is entry_rejected.
- The exit arrived while the entry order was still working, so Nyria canceled the entry. The reason code is entry_cancelled.
- The strategy refused the exit because it tracks no position on that side.
- The exit failed at the broker and the position is open. The reason code is stranded_exit.
Where each one shows
- The bot's rows are under My bots. The strategy's rows are on its Logs tab, which only its owner can read.
- A wrong-side refusal is logged on the strategy, because it happens before any bot sees the alert.
- A Short behavior set to Do nothing refuses short entries, so a later short exit finds nothing too.
The notice on the bot
- After three skipped exits in a row with no order in between, the bot shows No position to exit.
- After three failed exits in a row, it shows Exit failed, position still open, and goes away after the next successful order.
- A skip caused by a rejected entry does not count, because the entry's refusal was already reported.
Questions
- Does Nyria retry a skipped exit?
- No. A skipped exit sends nothing and is not sent again. Fix the cause, then send another exit alert.
- Is a position left open after a skipped exit?
- Not in the first four cases. Only a failed exit leaves a position open. That row is badged Needs attention.
- How do I stop the entry being canceled?
- Give the entry longer before the exit, or use a market order for the entry. A limit entry that sits unfilled is the usual case.
- What should I quote to support?
- The reason code in the row's details, the bot's name and the time of the row.
- 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
How do I close or reverse a position with a TradingView alert?
CLOSE with the direction exits. One alert that reports the flip reverses.
Read guideWhy is my trading bot not placing orders?
Open the bot's Logs tab. Seven states explain a bot that places nothing.
Read guideCan I trade by hand in an account my trading bot uses?
Nyria tracks only its own orders. Keep hand trades out of its account.
Read guideWhy was my spread exit not sent because legs are missing?
Some legs are gone, so nothing is sent. Close the rest at 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.