Skip to content

Guide

Why did my TrendSpider test alert not trade in Nyria?

Read the response first. A 404 or 400 means the token in the URL is wrong, so copy it again from the Integration tab. A 200 with rejected true means the strategy is not Active. A 200 with status rejected means the symbol is not in the strategy's tickers, or that direction is off. The Logs tab shows the reason.

Official documentation

Find why a TrendSpider test did not trade

  1. 1

    Check the response

    Note the code TrendSpider got back from the webhook.

  2. 2

    Recopy the URL on a 404

    Copy it again from the strategy's Integration tab and paste it in the account setting.

  3. 3

    Make the strategy Active

    A strategy that is off answers 200 with rejected true.

  4. 4

    Check tickers and direction

    Add the symbol to the strategy's tickers and turn the direction on.

  5. 5

    Read the Logs tab

    The row names the reason, or carries the broker's refusal.

Response codes

  • 404 or 400: the token is wrong or cut short.
  • 200 with rejected true: the strategy is not Active.
  • 200 with status rejected: the symbol or direction is not allowed.

After Nyria accepts it

  • 422, 500 or 503 means Nyria could not process it. The Logs tab says why.
  • A limit order with no price is one cause.
  • A broker refusal is shown on the bot log row with the broker's reason.

Other things to check

  • The POST method is set in TrendSpider.
  • The Webhook box is ticked in Account and Settings.
  • A bot with a connected broker is deployed on the strategy.

Questions

Is a 200 a filled order?
No. A 200 means Nyria received it. Check the Logs tab for how it was read and the bot log for the fill.
Why a 500 on a limit order?
A limit order needs a price. Send price with the last-trade variable.
Can I test on paper first?
Yes. Point the strategy at Nyria Paper and send the test there.
Where is the token?
On the strategy's Integration tab, inside the webhook URL.

Next

Try a paper bot first

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