Skip to content

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. 1

    Authorize tastytrade

    Pick tastytrade in Integrations. Sign in at tastytrade and select Authorize. Every account under the login comes in.

  2. 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. 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. 4

    Test on Nyria Paper

    tastytrade has no paper route on Nyria. Run the strategy on Nyria Paper first.

  5. 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

More TradingView to tastytrade guides

Try a paper bot first

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