Skip to content

Guide

Why did my sell alert arrive before my buy alert?

Nyria does not guarantee the order of alerts sent close together. A sell alert posted right after a buy alert can arrive first, and two alerts that conflict can leave a position you did not intend. Leave a gap of at least 30 to 60 seconds. To flip a position, send one alert that reverses it instead of an exit followed by an entry.

Official documentation

Fix alerts that arrive out of order

  1. 1

    Check the arrival order

    Open the strategy's Logs tab. It has one entry per incoming alert, so you can see which one Nyria received first.

  2. 2

    Compare with your broker

    Open the positions page at your broker. Nyria tracks the orders it placed, so the broker shows what is really open.

  3. 3

    Space the alerts out

    Keep a gap of at least 30 to 60 seconds. TradingView can send an alert up to a minute late.

  4. 4

    Reverse with one alert

    Set both sides to Enter position and send one alert that reports the flip, not an exit followed by an entry.

  5. 5

    Close what is wrong

    If an unintended position is open, close it at your broker, or send a CLOSE alert with the direction you hold.

Why alerts race

  • Each alert source adds its own delivery time, so two alerts sent together can land in either order.
  • A sell that lands before its buy finds no open position, so Nyria logs it Skipped and sends nothing.
  • The buy then opens a position you meant to close.

What to change in the strategy

  • Do not build a strategy that sends conflicting alerts.
  • Use one alert to flip between long and short.
  • Wait 30 to 60 seconds before sending the next.

Related limits

  • TradingView can send an alert up to a minute late.
  • Discord, Telegram and TrendSpider add their own delivery time.
  • Nyria is built for 1-minute timeframes and slower.

Questions

Does Nyria guarantee the order of alerts?
No. Alerts sent close together can arrive in either order.
What happens when a sell arrives first?
With no open position, Nyria sends nothing to the broker and logs the exit Skipped.
How long should I wait between alerts?
Leave at least 30 to 60 seconds.
How do I flip long to short safely?
Send one alert that reverses the position, not an exit and then an entry.
Where do I see what arrived?
The strategy's Logs tab has one entry per incoming alert.
What does it cost?
Paper is free. Live trading from $15 a month.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.