Skip to content

Guide

Does TradeStation have an API?

Yes. TradeStation has a REST API, now at version 3. It covers stocks, options and futures. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order. Nyria will connect TradeStation soon with TradeStation's own sign-in. You need no developer account or API key.

Official documentation

Connect TradeStation in five steps

  1. 1

    Create a strategy

    Pick TradingView as the source and Stocks or Options as the asset.

  2. 2

    Open the TradeStation card

    Select Integrations, then the TradeStation card.

  3. 3

    Sign in at TradeStation

    Approve access on TradeStation's own page. Your password stays there.

  4. 4

    Test on Nyria Paper

    Run a full entry and exit on paper first. It's free.

  5. 5

    Point TradingView at Nyria

    Under Notifications, tick Webhook URL, paste the strategy's URL, then select Apply.

What the API does

  • TradeStation's API is RESTful.
  • It covers brokerage and market data.
  • Its docs list stocks, options and futures.
  • Apps sign in with OAuth, then call it.

Why an alert can't call it

  • A TradingView alert sends a webhook.
  • Something has to place the order.
  • Nyria is that receiver, and it never places an order by itself.
  • Your alerts and strategy rules decide every entry and exit.

How Nyria connects TradeStation

  • You sign in on TradeStation's own page.
  • Your password never reaches Nyria.
  • Nyria receives a token and stores it encrypted at rest.
  • It refreshes the token in the background.
  • It reads the account and places and cancels orders.
  • It has no feature that moves money.

What Nyria trades there

  • Stocks, in whole shares.
  • Options, single legs and spreads up to 4 legs.
  • Market and limit orders, as the strategy sets them.
  • Not futures. Nyria trades stocks and options on TradeStation.

Questions

Can a TradingView alert call the TradeStation API?
No. An alert sends a webhook. Nyria receives it and places the order.
Do I need a TradeStation API key?
No. You sign in at TradeStation and approve access.
Does Nyria see my TradeStation password?
No. You sign in at TradeStation. Nyria only receives a token.
Does Nyria trade futures at TradeStation?
No. Nyria trades stocks and options there.
Can I test before using real money?
Yes. Run the strategy on Nyria Paper first. It's free.
Is the connection official?
It uses TradeStation's API v3 with its own OAuth sign-in. Nyria isn't affiliated with TradeStation.

Next

Try a paper bot first

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