Guide
Does tastytrade have an API?
Yes. tastytrade has an API that signs every request with an OAuth2 token. You sign in at tastytrade and select Authorize. Nyria connects tastytrade that way and holds the token. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order.
Official documentation
Connect tastytrade in five steps
- 1
Authorize tastytrade
Pick tastytrade in Integrations. Sign in at tastytrade and select Authorize. Every account under the login comes in.
- 2
Create a strategy
Select Create strategy and choose stocks or options. Set what an entry and an exit do. Copy the strategy's URL and keep its token private.
- 3
Paste the URL into TradingView
Paste the URL into the alert's Webhook URL field, then select Apply. TradingView needs a paid plan with two-factor sign-in on.
- 4
Test on Nyria Paper
tastytrade has no paper route on Nyria. Run the strategy on Nyria Paper first.
- 5
Check the order
Deploy a bot on your tastytrade account. Open the bot's Logs tab to check each order.
What the API does
- An OAuth2 token signs every request.
- You sign in at tastytrade and select Authorize.
- The token reads accounts, balances and positions.
- It places and cancels orders.
Why an alert can't call it
- A TradingView alert can't call the tastytrade API itself.
- It posts a webhook. Something has to place the order with the token.
- Nyria is that receiver. The webhook posts to the strategy's own URL.
- Webhooks need a paid TradingView plan with two-factor sign-in on.
How Nyria connects tastytrade
- You authorize once. Nyria holds the OAuth2 token.
- Every account under that login is imported.
- The bot sizes each order from its budget per entry.
- Alert to order, sub-second.
What it can't do
- Paper at tastytrade. Use Nyria Paper instead.
- Change a working order in place. Send CANCEL, then a new OPEN.
- Move money.
Questions
- Does the tastytrade API work with TradingView?
- With Nyria. The alert posts to Nyria's webhook. The order goes out signed with the OAuth2 token.
- Do I need a tastytrade API key?
- No. Authorize at tastytrade once. Nyria holds the OAuth2 token that signs each request.
- Can I test before using real money?
- Not at tastytrade. Run the strategy on Nyria Paper first. It's free.
- Can an alert change a working order?
- Not in place. Send CANCEL for the working entry, then a new OPEN.
- Can an AI agent send tastytrade orders?
- Yes, over Nyria's MCP endpoint. Preview with nyria_preview_alert first. It places nothing.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to tastytrade.
- Step by step for one account: how to automate TradingView to Nyria Paper.
Guides
How to connect TradingView to tastytrade
Authorize at tastytrade once. One webhook URL turns alerts into orders.
Read guidetastytrade API TradingView setup
OAuth2 sign-in once. Then each alert becomes a tastytrade order.
Read guideHow do I connect TradingView to tastytrade?
tastytrade's own sign-in, no code: alerts become stock and option orders, spreads up to 4 legs. Paper first.
Read guideDoes Robinhood have an API?
The Crypto Trading API, the Agentic Trading beta and what the Customer Agreement says.
Read guideConnect TradingView webhooks to tastytrade
Authorize tastytrade, paste Nyria's webhook URL into TradingView, and alerts become stock and option orders at tastytrade.
Read guideHow do I send trade alerts from my own code with a REST API?
POST /v1/alerts with a Bearer token. The reply carries an order_id you can poll.
Read guideMore TradingView to tastytrade guides
Try a paper bot first
No card required. Paper is free. Live trading from $15 a month.