Guide
No-code trading bot: stock and option alerts in, orders out
A no-code trading bot is one where the logic lives somewhere you already work, a chart, a channel or a tool that can call a URL, and the orders come out the other end at your broker. Nyria is that other end. You build a strategy in a form, point an alert at it, and deploy a bot that places each alert as an order in the account you choose. This guide covers where the alerts come from, what the settings decide, what a bot is, and what the whole thing will not do.
Where the alerts come from
- TradingView
- An alert on a chart or a strategy, with the strategy's webhook URL as the alert's webhook. The message can be plain text or JSON. A TradingView strategy picks its option contracts from the rules you set.
- Discord or Telegram
- A channel in a server or group you run. Nyria reads the posts there, with an author or keyword filter if the channel is shared. The alert can name the contract itself.
- TrendSpider or your own bot
- Anything that can post text or JSON to a URL. The strategy's webhook URL is the address; the fields Nyria reads are in the webhook reference in the docs.
There is no message template to learn. A plain line such as the entry below is enough for a stock or for an options strategy that picks its own contracts. The automate trading alerts guide compares the three ways an alert can reach a broker.
What the strategy settings decide
- 1
What each alert does
A strategy handles four kinds of alert: long entry, long exit, short entry and short exit. Under Long behavior and Short behavior you set whether an entry opens a position, closes the other side, or does nothing, and whether exit alerts close positions. A long-only setup can use short entries as its exits.
- 2
How option contracts are chosen
From my rules: 1 to 4 legs, each finding its strike by a target delta, a target price, strikes from at-the-money or an offset from another leg, with a buy or sell, call or put, and a DTE range. Provided in alert: the alert names the strike and expiration, for Discord, Telegram or your own bot.
- 3
Order type, duration and limit target
Market or limit, set separately for entries and exits on each side. A limit order takes its price from the target you pick: Bid, Ask, Mid, a custom price, or the price in the alert. Duration is Day, Good till canceled or Fill or kill, with a few broker overrides the docs list.
- 4
Trading window and multiple entries
Limit trading hours drops entries outside the hours you set and still lets exits through. Allow multiple entries, off by default, decides whether a second entry stacks on an open position or is skipped.
What a bot is
The strategy is the rules. A bot is the strategy running on one account with one budget per entry.
Deploying a bot means picking a connected account and a size. Stocks are sized per share: a $500 budget on a $50 stock buys 10 shares, and Nyria orders whole shares on every broker. Options are sized per contract, and one contract covers 100 shares, so a $2.00 premium costs $200. If the budget is smaller than one contract, the bot buys nothing, and Nyria refuses the deploy up front when a live quote shows that. You can run the same strategy on a second account by deploying a second bot, and each bot's stats are kept on their own.
A worked example, from a chart
TradingView alert message, entry
SPY long entry
TradingView alert message, exit
SPY long exit
The strategy is options, From my rules, with a single leg: Buy, Call, 0.40 delta, 14 to 31 DTE. Long behavior is Enter position with Close on exit alerts on. Entries and exits are limit orders at Ask and Bid, Day. A bot is deployed on Nyria Paper with a $500 budget per entry. When the first message arrives, Nyria picks the listed SPY call closest to 0.40 delta inside that DTE range with a live quote. At a $2.00 quote, the bot buys 2 contracts and spends $400. When the exit arrives, it sells the 2 it holds. If no contract inside the range is within 0.25 of the target delta, the bot skips the entry and places nothing, and the Logs tab says so.
Paper, then live
Nyria Paper is free on every plan and runs up to 10 paper bots. A market order there pays the quoted spread and never slips, so paper P&L reads better than live; what paper proves is that the alert fires, that Nyria reads it the way you meant, and that every exit closes the entry it belongs to. It does not show whether the strategy makes money, and it cannot see a broker rejection such as an options approval level. Run it for a week or two, check the quantity on each order, then deploy on the live account or edit the bot to use it. The first live deploy asks you to accept the risk disclosure.
What it will not do
Nyria places market and limit orders. It does not place stop or stop-limit orders, and it does not put a stop behind a short option or a short stock position: a position closes when an exit alert arrives, or when an entry on the other side is set to close it. It does not place futures or forex orders; an index alert trades as an option instead. It does not guess at hedged wording, so "thinking about SPY?" places nothing. And it does not tell you whether the strategy makes money: a paper bot shows that the setup works, and nothing more.
Questions
- Do I need to write any code?
- No. The strategy is a form, the alert is text or JSON from a tool you already use, and the bot is a deploy step that picks an account and a budget per entry. There is no script, no server and no API key for Nyria itself. Tradier and Alpaca paper accounts connect with a key you copy from the broker's own dashboard.
- Will it work with my broker?
- Live orders go to Charles Schwab, Tradier, tastytrade and Alpaca. Nyria Paper is the built-in simulated broker and is free. Webull, TradeStation, Binance, Binance US, Coinbase, Coinbase US and Tradovate are not connectable yet.
- What does it cost?
- Paper is free. Live trading from $15 a month.
Guides
Automate TradingView alerts
The alert, the webhook URL, the message, a paper test, then live.
Automate trading alerts into broker orders
What an alert is, three ways to automate it, and what to check before you trust it.
Automate options alerts
Single legs and spreads up to 4 legs, from any alert source to your broker.
Build the strategy, deploy a paper bot
Paper is free. Live trading from $15 a month.