Skip to content

Guide

How do I build a no-code trading bot for stocks and options?

Automated trading bots, no code: build a bot in a form, point an alert at it and each alert becomes an order. Paper is free.

Automate trading without code in five steps

  1. 1

    Pick where the alerts come from

    Use a TradingView alert, a Discord or Telegram channel you run, a TrendSpider alert, or any tool that posts text or JSON to a URL. A plain line is enough. There's no template to learn.

  2. 2

    Build a strategy in a form

    In Nyria, select Create strategy and pick the alert source. Choose stocks or options as the asset type. Set what an entry and an exit do on each side.

  3. 3

    Check the format

    Select Check format, then Check and save. The strategy turns Active once Nyria reads every side. The Logs tab shows what it read.

  4. 4

    Deploy a paper bot

    Select Deploy bot, choose Nyria Paper and set a Budget per entry. Let real alerts fire for a week or two. Check the quantity on each order.

  5. 5

    Deploy a bot on your broker

    Deploy a second bot and pick your Charles Schwab, Alpaca, tastytrade or Tradier account. The next alert becomes an order. Live trading from $15 a month.

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. 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. 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. 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. 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 automated trading bots do

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. For a small account, the small-budget guide works the numbers through from paper to the $15 tier.

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; a market order buys or sells at the current market price. 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 exchange 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. Alpaca and Tradier paper accounts connect with a key you copy from the broker's own dashboard.
Will it work with my broker?
Live orders go to Binance, Coinbase, OKX, MEXC, Charles Schwab, Alpaca, Kraken, Hyperliquid, Kraken Futures, tastytrade, Tradier and My Funded Perps, plus Webull, Robinhood, Robinhood Crypto, E*TRADE, Gemini, Binance US and Coinbase US in beta. Nyria Paper is the built-in simulated broker and is free. TradeStation and Tradovate are not connectable yet.
What does it cost?
Paper is free. Live trading from $15 a month.

Weighing tools first? See Capitalise.ai alternatives.

Build it, deploy a paper bot

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