Skip to content

Guide

TradeStation automated trading from alerts

TradeStation publishes an official REST API v3 with OAuth2. You request an API key with the Request API key form at developer.tradestation.com, and a TradeStation account is required. The API covers stocks, options and futures; Nyria trades stocks and options only. TradeStation also runs a SIM environment with simulated fills. Nyria is adding a TradeStation connection. It is coming soon. You can test the same alert-to-order logic for free on Nyria Paper while you wait.

Official documentation

How Nyria will connect TradeStation

  1. 1

    Apply for an API key

    Go to developer.tradestation.com and complete the Request API key form. A TradeStation account is required. TradeStation reviews each request; the timeline is not published.

  2. 2

    Join early access in Nyria

    Go to nyria.io/integrations/tradestation and add your email. Nyria will contact you when the TradeStation connection opens.

  3. 3

    Expect the OAuth2 sign-in

    TradeStation uses the OAuth2 authorization-code flow. You sign in on TradeStation's own authorize page and approve access, so the password stays with TradeStation.

  4. 4

    Test on Nyria Paper

    Run the strategy on Nyria Paper, which is free, and read the Logs tab before any live account is connected.

  5. 5

    Deploy a live bot

    When the paper log reads right, deploy a live bot on the TradeStation account. Live bots start at $15 a month, priced by total entry allocation.

What the TradeStation API covers

  • US stocks and ETFs, long and short, with the account's margin and short-selling permissions.
  • Options, single legs and spreads, at the account's options approval level.
  • Futures, where the account is approved. Nyria trades stocks and options only.
  • TradeStation's SIM environment matches the live API but places no real orders.

How OAuth2 works

  • TradeStation uses the standard OAuth2 authorization-code flow. The password stays with TradeStation.
  • The access token expires after 20 minutes and is renewed with a refresh token.

Questions

Does TradeStation have a paper account?
TradeStation calls it SIM: artificial accounts with simulated fills on the same API as live. Test on Nyria Paper while the connection is coming soon.
When will the Nyria TradeStation connection open?
It is coming soon. Join the early-access list at nyria.io/integrations/tradestation to be notified when it opens.
Does TradeStation require a funded account for the API?
TradeStation's FAQ says a TradeStation account is required. Whether the account must be funded is not stated in the official docs. Contact TradeStation directly to confirm.
What does it cost?
Paper is free. Live trading from $15 a month.

Next

Try a paper bot first

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