Automated and Algorithmic Trading From Canada: APIs, Bots and Prop Firm Rules

From Canada you can automate through a broker API (Tradovate, OANDA v20), a platform's own scripting (NinjaTrader, MetaTrader) or alerts sent to a webhook (TradingView). TopstepX API access costs US$29 a month and must run from your own device; FTMO allows EAs; Apex's own rules could not be confirmed.

Which routes to automation can a Canadian use?

Automation means a program, not you, sends orders. There are four common routes. A broker API lets your own code send orders and read prices. Platform scripting runs a strategy inside the trading software (NinjaScript on NinjaTrader, Expert Advisors on MetaTrader). An alert or webhook sends a signal from a charting platform to another service that places the order. A copier repeats trades from one account to others. Each has a different cost, and the one you can use depends on where your account is held.

The table lists what we could confirm from each provider's own pages on 23 November 2026. Interactive Brokers, Questrade and Wealthsimple block automated checks, so their API and rate-limit details are not here. Rate limits for the other platforms were not published on the pages we could read, so we do not state any.

PlatformAutomation routePublished cost or conditionCanada note
TradovateAPI add-onUS$25 a month per a Tradovate community reply; live account needed, reported minimum US$1,000 (not confirmed on a Tradovate help page)Accounts for Canadians are Ontario-only on this site's Tradovate review
NinjaTraderNinjaScript strategies; ATM strategies for trade managementATM strategies run in real time only and cannot be backtestedSee the NinjaTrader in Canada page for brokerage rules
MetaTrader 4 and 5Expert AdvisorsMT4 and MT5 pages at CMC Markets Canada describe Expert AdvisorsCMC and OANDA offer MetaTrader to Canadian clients
OANDAv20 REST APIAPI needs a v20 account, available to all divisions except OANDA Global Markets and OANDA TMS BROKERS S.A.OANDA (Canada) Corporation ULC is regulated by CIRO; OANDA Canada's platforms page names no API, so confirm with OANDA
TradingViewAlerts with webhookRequest is cancelled if your server takes more than 3 seconds; webhooks need two-factor authenticationConnects to several Canadian brokers
TopstepX (Topstep)TopstepX/ProjectX APIUS$29 a month, or US$14.50 with the code on its pageCanadians can trade with Topstep
Interactive Brokers, QuestradeAPINot confirmed (site blocked)Not confirmed

What do prop firms say about bots and EAs?

Rules differ by firm and by account stage, so read the firm's own page for the account you hold. These are the pages we could confirm.

Topstep: its API article says custom automated strategies and bots are allowed through the TopstepX/ProjectX API, subject to standard platform rules and a ban on high-frequency trading. Live funded accounts are not allowed to trade through the API. All trading must originate from your own device: VPS, VPN or remote access tools are prohibited. A private server may be used for storage, backtesting, logging or a read-only dashboard, and the page summarises it as 'your server can watch and record, but it cannot trade'. API orders are final, there is no sandbox (it suggests a Practice account), and Topstep gives no technical support for code. The page does not say which evaluation account types are eligible, so confirm with Topstep.

FTMO: its FAQ says it does not restrict discretionary trading, algorithmic trading or EAs, provided the trading is legitimate and follows the rules. A third-party EA may be run by others, and you could be denied an account if you exceed the maximum capital allocation rule. Platform servers cap orders at 200 at a time and 2,000 positions a day, and FTMO may contact you if an EA causes hyperactivity. Intentional repeated activity across multiple accounts can lead to account termination. Details of forbidden practices are on a separate FTMO page.

Apex Trader Funding: its help centre blocks automated access. Third-party guides disagree, from a full ban to a ban only on fully automated funded-account trading, so do not rely on them. Read Apex's Prohibited Activities page in a browser. We did not confirm Tradeify, Lucid or Take Profit Trader either; their sites block automated checks.

FirmBots or EAsConditions on the firm's page
TopstepAllowed through the TopstepX/ProjectX APINo HFT; own device only; no Live funded accounts; no support
FTMONot restricted if legitimateCapital allocation rule; 200 orders at a time; 2,000 positions a day; hyperactivity may trigger contact
Apex Trader FundingNot confirmedHelp centre blocked automated access
Tradeify, Lucid, Take Profit TraderNot confirmedSites block automated checks

What does automation cost? A worked example

Take a trader who runs a futures strategy through the TopstepX API. The API costs US$29 a month, billed separately from the Topstep subscription. At the site rate of 1.4291 CAD per USD (Bank of Canada, 17 Nov 2026), that is about CA$41.44 a month, or US$348 (CA$497) a year. Topstep's page says a code halves the price to US$14.50, or about CA$20.72 a month, and that the discount has no end date; check that before you rely on it.

The subscription is only the first hurdle. Suppose the strategy earns an average net of US$4 a trade after commissions. It needs 29 / 4 = 7.25, so 8 trades a month, to cover the full API price. At the discounted US$14.50 it needs 4 trades. If the strategy's average net is -US$1 a trade, as when fees exceed the edge, it loses more with every extra trade, and the subscription adds to the loss.

On a Tradovate live account the add-on is reported at US$25 a month plus a funded balance above US$1,000. A trader who needs the live account just to use the API is therefore tying up capital before the first trade. Prop evaluation accounts are generally reported as not eligible for the Tradovate add-on, but that comes from third parties, not Tradovate's own help pages.

What are the risks of running a bot?

A bot does what you tell it, quickly and repeatedly, including mistakes. A wrong size, a stuck loop or a disconnected data feed can place dozens of orders before you notice. Topstep says API orders are final, with no review, adjustment or reversal.

Backtests overstate results. A strategy tested on past data cannot account for how fills differ in a live market; our page on simulated vs live fills covers that gap. NinjaTrader says its ATM strategies cannot be backtested at all, so test in a simulator in real time.

Rules apply to automation exactly as to manual trading. Topstep treats rule violations the same whether they come from manual trading or automation. A bot can breach a daily loss limit or consistency rule faster than you can intervene, so build the firm's limits into the code with a margin below them.

Platform limits matter too. TradingView cancels a webhook request after three seconds, so a slow server misses the signal, and a missed signal can leave a position without its exit order. Run only on a connection and a computer you control, and check the prop firm's rule on servers, because Topstep bans trading from a VPS.

Who should not automate?

Anyone who has not traded the strategy by hand and recorded the results; automation of an unproven idea only loses money faster. Anyone who cannot watch the account during market hours, because stuck orders need a human. Anyone who plans to run a bot on a prop firm account without reading that firm's rule on bots, VPS and copiers: an unconfirmed rule is one that can cost you the account. Prop accounts use simulated capital, but the fees and the account are real.

This page is general information, not advice. Check your broker's agreement for its API terms.

Frequently asked questions

Can I run a trading bot on a Topstep account?

Yes, through the TopstepX/ProjectX API, which costs US$29 a month. High-frequency trading is prohibited, Live funded accounts cannot use the API, and all orders must come from your own device, not a VPS.

Does FTMO allow Expert Advisors?

FTMO's FAQ says it does not restrict discretionary trading, algorithmic trading or EAs if trading is legitimate and follows its rules. It notes caps of 200 orders at a time and 2,000 positions a day.

Does Apex allow trading bots?

We could not confirm. Apex's help centre blocks automated access and third-party guides conflict. Check its Prohibited Activities page.

Which Canadian-accessible brokers have an API?

OANDA publishes a v20 REST API, and Tradovate sells an API add-on at about US$25 a month. We could not confirm Interactive Brokers or Questrade because their sites block automated access.

Can I automate from TradingView?

TradingView alerts can send a webhook to a URL you set. It cancels the request if your server takes more than three seconds, and webhooks need two-factor authentication. You need a service or code that places the order.

Sources

Provider documents behind this page, checked November 23, 2026.