TradeStation Automated Trading: Bot Setup Guide

By the AlgolaneBots research team · Published November 13, 2026 · 3 min read

Automated trading with TradeStation from outside software runs through TradeStation's official API. You ask TradeStation for a personal API key and secret, the bot uses them to open a TradeStation sign-in page, and you approve access once in your browser. TradeStation's own API page says you need a funded account with at least $10,000 to receive a key. With AlgolaneBots, the key, secret and sign-in all stay in the free desktop Connector on your own computer: AlgolaneBots's servers never see them, and the bot can trade but cannot move or withdraw money.

Try the ten bots on paper $10,000 of pretend money, all ten bots, free for 3 months. No card.
Try 3 months free

This guide covers getting the key, signing in, testing on TradeStation's simulated account, and what to check before trading real money.

How does a trading bot connect to TradeStation?

TradeStation's API uses OAuth: the API key identifies the app, and you sign in to TradeStation and click Allow to let it trade your account. The bot then gets tokens it can refresh, so you don't sign in every day.

With AlgolaneBots, the Connector on your computer reads your balance and the strategy's positions, sends those numbers (not your keys) to AlgolaneBots to work out the orders and run its safety checks (market calendar, signal age, price gaps, buying power), then places the orders. Before each real order it asks TradeStation to confirm the order details first.

TradeStation also has its own built-in strategy platform (EasyLanguage). That's a different route: you write and run strategies inside TradeStation's software. This guide is about connecting outside software through the API.

What do you need before you start?

  • A TradeStation account. TradeStation's API page lists a minimum funded balance of $10,000 to get API access, and its MCP page also mentions non-professional status. Requirements can change, so check with TradeStation.
  • The AlgolaneBots Connector on a Windows or Mac computer that's on during US market hours, or a cloud VPS.
  • A AlgolaneBots account: paper trading is free for 90 days; real money needs a subscription.

How do you get a TradeStation API key?

  1. From the email address on your funded account, write to ClientExperience@tradestation.com and ask for an API key for personal use. (TradeStation's API FAQ gives this address.)
  2. TradeStation replies with an API Key and an API Secret. Keep the secret private.
  3. Paste both into the Connector and click Sign in to TradeStation.
  4. Your browser opens TradeStation's sign-in page. Sign in and click Allow.

To remove access later, revoke it in your TradeStation account or ask TradeStation to disable the key.

How do you test on a SIM account?

TradeStation offers a SIM (simulated) environment alongside the live one. With AlgolaneBots, paper orders through the TradeStation connection go to your SIM account, so you can see orders appear in TradeStation without real money. It's a good way to confirm the connection works before switching to live.

To judge the strategy itself, AlgolaneBots's own paper account is free for 90 days and uses real prices with a cost on every fill, so you can compare its results with what you see in SIM.

How do you keep your keys safe?

  • Paste the API key and secret only into the Connector, never into a website, email or chat.
  • Use the key only for this purpose; if you use other tools, ask TradeStation whether you can get separate keys.
  • If you think the secret leaked, contact TradeStation to replace it.

Is it safe to connect a bot to your broker? covers the general checks for any tool.

What should you check before going live?

  1. Paper or SIM trade the strategy for several weeks, including a bad week.
  2. Know the strategy's worst past fall and whether you could live with it.
  3. Remember the $10,000 API minimum is about access, not how much you must trade: you can allocate less to the bot. Start small and follow the paper-to-live checklist.

Key takeaways

  • TradeStation automation from outside software uses an API key you request by email.
  • TradeStation lists a $10,000 funded balance to get API access.
  • You approve access once in your browser; test on SIM before real money.
  • With AlgolaneBots, keys stay on your computer and can't withdraw money.

Trading involves risk of loss, and backtests and paper results don't predict real results. Read the risk disclosure before trading real money.

Where the numbers come from: every strategy figure is from AlgolaneBots's own historical backtests, run on past prices with the method on how we test. Nobody earned them, and future results will differ. General market facts are checked against regulator and company sources. This guide is general information, not personal advice. Read the risk disclosure and how we write our guides.

Bots that use these ideas

Each one's rules, tested history and worst falls, beside simply holding the market.

Big Tech TrendNVDA · QQQ · GLD · monthlySee its backtest Crypto Trend BalancedIBIT · ETHA · dailySee its backtest Steady Growth7 fixed names · weeklySee its backtest

Keep reading

Brokers and setup · 8 min read

Is It Safe to Connect a Bot to Your Broker?

Is a trading bot safe to connect to your broker? How to judge permissions, sign-in methods, order safeguards and kill switches, and why safe bots still lose.

Brokers and setup · 8 min read

Paper to Live: A Checklist Before Real Money

Planning to switch from paper to live trading? Use this checklist to check your results, costs, broker setup, risk limits and exit plan before real money.

Brokers and setup · 3 min read

cTrader Algo Bots (cBots): How They Work vs MT5

cTrader algo bots (cBots) are C# trading robots that run inside cTrader. See how they work, how they compare with MT5 Expert Advisors and what to check.