- Deploy a strategy to Alpaca. The strategy's Deploy page: the budget per entry at its starting figure, the Alpaca account picked, Deploy, then the new bot's page in My bots, on Alpaca.
- Set up a crypto spot strategy. A crypto spot strategy: the long entry set to enter a position at market, the short side set to exit the long, with the note that spot crypto can't be shorted, then the review of what each alert does.
Broker · Available now
Alpaca automation
Trade stocks, ETFs, options up to 4 legs and crypto spot on Alpaca.


On Alpaca
Paper and live, one key each
Connect Alpaca's paper and live API keys. Test on paper, then go live.
Stocks, options and crypto
US stocks, ETFs, options up to 4 legs and Alpaca's crypto spot pairs.
How to connect
Create a Nyria account
Sign up free and create a strategy for your alerts.
Connect Alpaca
Create an API key and secret in your Alpaca dashboard. Paste both into Nyria.
Deploy a bot
Deploy a bot, pick the Alpaca account and set its budget per entry.
Watch the setup

Steps in the video
- 0:00Connect Alpaca. Open Integrations and the Alpaca card. Pick Paper or Live and accept. Paste the API key ID and secret from your Alpaca dashboard.
- 0:22Create a strategy. Select Create strategy. Name it, keep TradingView as the source, pick stocks and a ticker. Create the draft.
- 0:49Create the alert in TradingView. Copy the webhook URL and the alert message from the Integration tab. In TradingView, select Message, paste the message and select Apply. Then select Notifications, tick Webhook URL, paste the URL and select Apply.
- 2:31Check the format. Select Check format and add an entry and an exit alert. Nyria shows the ticker, side and order it read.
- 2:51Deploy a bot. Select Deploy bot, set a budget per entry and pick an account. Nyria Paper is free, so test there first. On your own Alpaca account, pick it on the Account step. Send a sample alert and watch the paper order fill.
Asset class support
| Asset class | Supported | Notes |
|---|---|---|
| Stocks | US equities, in whole shares | |
| ETFs | US ETFs, in whole shares | |
| Options | Single legs and spreads up to 4 legs | |
| Crypto | Crypto spot pairs Alpaca lists | |
| Futures | Not offered by Alpaca |
Trading features
Order types and durations
Options orders go as Day. Crypto orders go as GTC. Stops and targets are exit alerts.
Revoke the key any time
Connecting Alpaca lets Nyria read your account and place the orders your alerts trigger.
Alpaca doesn't warrant or endorse Nyria. Before connecting, read the Alpaca integration docs.
Questions
How do I automate TradingView alerts to Alpaca?
Connect Alpaca in Nyria, create a strategy with TradingView as the source and paste its webhook URL into a TradingView alert. Each alert becomes an Alpaca order, and the strategy stays inactive until a test alert reads correctly. Full steps: TradingView to Alpaca.
Can I run a strategy on Alpaca paper?
Yes. Alpaca issues separate paper and live API keys. Connect both and test on paper first.
What can Nyria trade on Alpaca?
US stocks and ETFs in whole shares, and options up to 4 legs. Plus the crypto spot pairs Alpaca lists. Futures aren't offered.
What does Nyria do with the Alpaca key?
It reads the account and places and cancels orders. The key is encrypted at rest. Revoke it in the Alpaca dashboard any time.
Do I need a server to send TradingView alerts to Alpaca?
No. Nyria hosts the webhook URL and runs in the cloud with nothing to install. It places each order at Alpaca with the API key you paste in.
Which hours does Nyria trade at Alpaca?
Stocks and options run in the regular session, with no extended hours. Alpaca stops new orders on contracts expiring that day after 3:15 pm ET. The cutoff is 3:30 pm ET for broad-based ETFs such as SPY and QQQ. Nyria skips such an entry instead of sending an order Alpaca would refuse.
Other brokers
Alpaca orders, by alert source
Test for free on paper first
Free on paper, no card required. Then run the same strategy on Alpaca.