- Create a strategy with TrendSpider as its alert source. My strategies, then Create strategy: a strategy name typed in, TrendSpider picked as its alert source, then Next to what it trades, where Stocks is picked.
Alert source · TrendSpider
Automate TrendSpider trading alerts
Nyria reads TrendSpider Alerts and Strategy Bots, in TrendSpider's own variables. Each becomes an order at your broker.

Alerts and bots
Alerts or Strategy Bots
A plain Alert posts from one account-level URL and reaches one strategy. A Strategy Bot posts its own URL and body. Each bot can reach a different strategy.
TrendSpider's own variables
alert_symbol, last_price and bot_symbol take percent signs, not TradingView's curly braces.
One URL per strategy
Each strategy has its own webhook URL with its own token. Keep it private. Rotate it from the strategy's Integration tab if it leaks.
Set it up
- Copy the webhook URL
- Open the strategy in Nyria, select Integration, and copy its webhook URL.
- Set it in TrendSpider
- Open Account & Settings, check Webhook, paste the URL. Set the method to POST.
- Put the payload in the note
- TrendSpider posts each alert's note as the request body. Valid JSON is sent as JSON.
- One account URL, one strategy
- The account webhook feeds one Nyria strategy. To feed several, use a Strategy Bot per strategy instead.
Code examples
{
"symbol": "%alert_symbol%",
"action": "buy",
"price": "%last_price%"
}{
"symbol": "%bot_symbol%",
"action": "sell",
"price": "%last_price%"
}TrendSpider's variables
TrendSpider fills these in when a webhook fires. It has no action or quantity variable. Write buy or sell into each alert and leave quantity out. Your Nyria bot sizes the order.
| Variable | Where | What it is |
|---|---|---|
| %alert_symbol% | Alert | The symbol the alert fired on. |
| %last_price% | Both | The last price when it fired. |
| %alert_name% | Alert | The alert's own name. |
| %alert_note% | Alert | The alert's note text. |
| %price_action_event% | Alert | touch, break_through, bounce, or script_returned_true. |
| %bot_symbol% | Strategy Bot | The bot's symbol. |
| %bot_status% | Strategy Bot | in_position or not_in_position. |
| %bot_name% | Strategy Bot | The bot's own name. |
| %bot_timeframe% | Strategy Bot | The bot's timeframe. |
With Provided in alert, the strategy trades the legs the alert names. Each leg needs a side, strike, expiration and buy or sell action. It refuses an entry missing one. With From my rules, it picks the contract itself.
With the limit set to Alert price, the alert's price is the limit. Otherwise Nyria prices from the live chain. An entry it can't price isn't placed.
Webhook to paper to live: the TrendSpider alerts to your broker guide.
Test an alert first
Questions
How do I send TrendSpider alerts to my broker?
Create a strategy with TrendSpider as the source and paste its webhook URL into an Alert or a Strategy Bot. It stays inactive until a test alert reads correctly. Steps per broker: TrendSpider to Schwab, TrendSpider to Alpaca, TrendSpider to tastytrade and TrendSpider to Tradier.
TrendSpider alerts, by broker
TrendSpider to Schwab
Stocks and ETFs, Options up to 4 legs
TrendSpider to Alpaca
Stocks and ETFs, Options up to 4 legs, Crypto spot
TrendSpider to tastytrade
Stocks and ETFs, Options up to 4 legs
TrendSpider to Tradier
Stocks and ETFs, Options up to 4 legs
TrendSpider to Nyria Paper
Stocks, options, crypto, free
Other alert sources
Point TrendSpider at Nyria
Point the account webhook, or one Strategy Bot, at a strategy. No card required.