Skip to content
Robinhood logo

Alerts to orders

Automate TradingView alerts to Robinhood

Nyria lets you auto trade each TradingView alert in your Robinhood account.

Unofficial · BetaStocksOptions up to 4 legs
A stocks strategy: the long and the short entry set to enter a position at market, exits set to close at market, then the review of what each alert does

Setup steps

Point the TradingView alert's webhook at a Nyria strategy. Then connect your Robinhood account in Nyria with your Robinhood login, an unofficial connection in beta. Each alert becomes an order in your own Robinhood account. Nyria connects live Robinhood accounts only, so test it free on Nyria Paper first.

  1. 1Connect Robinhood. Select Integrations, then the Robinhood card. Enter the username and password you use in the Robinhood app. Approve the request in the Robinhood app, or enter the 6-digit code Robinhood sends you.
  2. 2Create a strategy. In Nyria, select Create strategy and pick TradingView as the alert source. Choose stocks or options as the asset type. Set what an entry and an exit do on each side.
  3. 3Create the alert in TradingView. Open the alert dialog from the Alert button on the top toolbar. Set the Condition to your strategy or indicator. Open Message, paste the message from the strategy's Integration tab and select Apply. Open Notifications, tick Webhook URL, paste the strategy's webhook URL and select Apply. Then select Create. TradingView sends webhooks on its paid plans only, with two-factor sign-in on.
  4. 4Check the format. Back in Nyria, select Check format, then Check and save. The strategy turns Active once Nyria reads every side correctly. The Logs tab shows the ticker, side and contract it read.
  5. 5Deploy a bot. On the strategy, select Deploy bot. Pick the Robinhood account on the Account step and set a Budget per entry. Live bots need a Nyria Pro plan or a Premium strategy you have bought. The next alert becomes an order.

What a TradingView alert must say

Nyria needs the ticker, the side, and whether it opens or closes a position. It reads plain text or JSON in your own wording. There is no template to follow. For options, the alert says long or short. The strategy's rules pick the contract.

TradingView posts the Message box as written, plain text or JSON. Placeholders such as {{ticker}} and {{strategy.order.action}} fill in when the alert fires. One alert can serve every symbol a chart is on.

An alert cannot set the size: each bot's budget per entry does. Exits come from your exit alerts.

A stock entry

{ "ticker": "NVDA", "action": "buy" }

Buy NVDA. The alert carries no size, so each bot's budget per entry sets it.

An options entry, one order

{ "ticker": "SPY", "action": "OPEN", "direction": "LONG" }

Open a long on SPY options. The strategy's rules pick the contract, and Nyria sends it to Robinhood as one order.

What Robinhood does with it

Nyria's Robinhood connection is unofficial. It signs in with your Robinhood login. The password is used once and discarded, and the tokens Robinhood issues are stored encrypted at rest. If Robinhood ends the session, Nyria asks for a new sign-in. Unofficial connection. Nyria isn't affiliated with Robinhood.

Options go to Robinhood as single legs or spreads up to 4 legs in one order. Options trading must be turned on in the Robinhood account.

A crypto alert places no order on this connection. Use Alpaca or Nyria Paper for crypto.

Each alert becomes a market or a limit order, as the strategy sets it. Nyria sends a market order to Robinhood as a limit order priced from the live quote. Nothing waits at Robinhood between alerts. The exit comes from your alert.

Questions

Do I need a paid TradingView plan?
Yes. TradingView sends webhooks on its paid plans only, with two-factor sign-in turned on. Nyria itself is free to test on paper, with no card.
Can TradingView place Robinhood orders on its own?
No. TradingView doesn't place Robinhood orders itself. A TradingView alert with a webhook calls your Nyria strategy, and Nyria places the stock or option order in your Robinhood account, through an unofficial connection in beta. Webhooks need a paid TradingView plan with two-factor sign-in on.
Can a TradingView alert trade Robinhood options?
Yes. The alert says long or short, and the strategy's rules pick the contract. Nyria sends it to Robinhood as one order, a single leg or a spread up to 4 legs. Options trading must be turned on in your Robinhood account before the first alert.
What does a Robinhood market order look like?
Each alert becomes a market or a limit order, as the strategy sets it. Nyria sends a market order to Robinhood as a limit order priced from the live quote. Stocks trade in whole shares, sized by each bot's budget per entry, never by the alert.
What happens to alerts if Robinhood signs Nyria out?
Nyria marks the connection as needing a new sign-in, and it can't place orders until you sign in again. Sign in from Integrations and approve the request in the Robinhood app, or enter the newest 6-digit code. An alert that arrives before then places no order.
Does Nyria hold my Robinhood password?
No. The password is used once to sign in and is then discarded. The tokens Robinhood issues are stored encrypted at rest.
Can I test before trading real money at Robinhood?
Nyria connects live Robinhood accounts only, so run the strategy on Nyria Paper first. When the log reads the way you expect, deploy a second bot on the Robinhood account.
How fast does an alert become an order?
Sub-second, alert to order.

From the sources

Next

Robinhood orders, by alert source

TradingView alerts to crypto exchanges

Send your first TradingView alert

Trade and test free on paper. No card required.