AlgoPuzzle Open the Builder
← Back to all articles

Platforms

Match-Trader Trading Bot: Build, Backtest and Run a Strategy via the API

By AlgoPuzzle · Published · Updated

Match-Trader does not run Expert Advisors or cBots, so you cannot drop an MT5 EA onto a Match-Trader account. The way to automate it is the Match-Trader API: a service sends the orders to your account on your behalf. AlgoPuzzle is an EA builder with a backtester that does exactly that. You build the strategy from blocks (market, timeframe, entry condition, lot size, stop loss, take profit, exit rule, trading hours), backtest it in the browser, then switch to Live, add a Match-Trader connection with an API token generated in your Match-Trader settings, and send the strategy with one click. From then on AlgoPuzzle places the trades through the API: nothing to install, no MetaTrader, no VPS, and no computer that has to stay on. Stop loss and take profit are set at your broker with every trade, and the Live panel shows the balance, open positions, closed trades and the strategy version running. Two conditions apply: your broker or prop firm must offer API access, and its rules must allow automated trading. This guide explains how it works, how it compares with MetaTrader 5 and cTrader, the setup step by step, and what to check before running a bot on a real or prop firm account.

Can you automate a Match-Trader account?

Yes, through its API. Match-Trader is a trading platform offered by a number of forex and CFD brokers and prop firms, and unlike MetaTrader it has no built-in scripting language for robots. Automation therefore runs outside the platform: a service holds an API token for your account and sends orders when the strategy's rules say so.

Way to automateMetaTrader 5cTraderMatch-Trader
Bots inside the platformExpert Advisors (MQL5)cBots (C#)No
Automation through an APINot the usual routeOpen APIYes, API access with a token
What has to stay onMetaTrader on a computer or VPScTrader (local) or a cloud instanceNothing on your side
Run an AlgoPuzzle strategyExport an .mq5, or Live with AlgoPuzzle LinkExport a .cs cBotLive via the Match-Trader API

If you are still choosing a platform, MT4 vs MT5 vs cTrader compares the MetaTrader and cTrader side.

How AlgoPuzzle runs a strategy on Match-Trader

In Live mode the strategy you built is checked on AlgoPuzzle's side and the resulting orders go to your Match-Trader account through the API. Each part of the process is documented, including what it does not do:

PartHow it works
EntriesEach rule is checked once per new candle of its timeframe; trades open a second or two after the bar opens
Price protectionIf the price has already moved too far from the bar open, the trade is skipped rather than chased
Stop loss and take profitRequired stop loss; both levels are set at your broker with each trade
Break-even and trailing stopMoved every few seconds, not tick by tick
Exit rule (CLOSE IF)Checked once per new candle, like the entry
New strategy versionTrades new entries at once; open positions keep the rules of the version that opened them
If AlgoPuzzle is unavailableNo new trades; exits, break-even and trailing wait; stop loss and take profit stay at the broker
StoppingStop ends new trades; open positions keep their stop loss and take profit
TokenStored encrypted; removing the connection deletes it at once, and you can revoke it in Match-Trader under API Access

The full description is in the documentation: Run live without files.

Match-Trader vs MetaTrader 5 vs cTrader with AlgoPuzzle

The same strategy can reach all four platforms; what differs is how it gets there and what has to keep running.

Match-Trader (Live)MetaTrader 5 / 4 (Live)MT5 / MT4 (export)cTrader (export)
How it runsAlgoPuzzle places trades through the APIAlgoPuzzle Link EA in your MetaTraderThe exported EA in your MetaTraderThe exported cBot in cTrader
InstallNothingThe Link EA, onceThe EA file for each strategyThe cBot for each strategy
Must stay onNothing on your sideMetaTrader on a computer or VPSMetaTrader on a computer or VPScTrader, or a cloud instance
Change the strategySend a new version from the builderSend a new version from the builderExport and install againExport and build again
Stop loss and take profitAt the broker with each tradeOn the position in MetaTraderWatched by the EAWatched by the cBot

To run one strategy on MetaTrader and Match-Trader accounts side by side, see Run Forex Trading Bots on MT4, MT5 and Match-Trader From One Dashboard. Exports are covered in Export to MT5, MT4 and cTrader.

How to run a trading bot on Match-Trader, step by step

  1. Build the strategy. Open the builder and set each rule's market, timeframe, IF condition and THEN trade with a lot size, a stop loss (required for Live) and a take profit. Five simple rule types and 19 Trading Indicators Explained help with the conditions.
  2. Backtest it. Switch to Backtest, set a realistic spread and run it; check the Monte Carlo tab. See the backtester.
  3. Create an API token in Match-Trader. Open Settings, then API Access, and generate a token with the Full preset. Your broker or prop firm has to offer API access for this option to appear.
  4. Add the connection. In the builder switch the header to Live (or click Run it live in the backtest results), click Add connection, choose Match-Trader and paste the token. Read and tick the boxes, including the one accepting the risk of losing money, and click Connect. You need to be logged in.
  5. Choose instruments and send the strategy. Pick the instruments and send the strategy from the canvas. It is also saved to My Strategies.
  6. Watch it in the Live panel. Balance and equity, open positions with their profit or loss, closed trades, a balance chart since connecting, the strategy versions running, activity and history.
  7. Start on demo. Run it on a demo account first, and compare its trades with the backtest before using real money.

Running a bot on a prop firm Match-Trader account

Many prop firms offer Match-Trader, and a bot that is fine on a personal account can still break a challenge's rules. Before connecting, check these points in the rules of your exact program:

CheckWhy it mattersWhat to do
API accessWithout it there is no token and no connectionAsk the firm or look under Settings, API Access
Automated trading allowedSome programs ban or restrict bots and EAsRead the rules; ask support in writing if unclear
Daily and maximum loss limitsOne bad day can end the accountSize trades with Risk % of balance and a stop loss on every trade
News and weekend rulesSome firms restrict trading around news or holding over the weekendUse trading hours and weekdays on the rule
Consistency or minimum-day rulesA bot that trades rarely may not meet themCheck the backtest's trade count per week

Why Profitable EAs Fail Prop Firm Challenges explains these rules in detail, and Position Sizing shows how to keep each trade's risk small.

Free and Pro: how many Match-Trader accounts

Free planPro pass
Live connections (Match-Trader or MetaTrader 5)1Up to 5
Backtests5 a day, on up to the last 3 monthsNo daily limit, 6 months, a year or custom dates
PriceFree account, no cardFrom $12.99 for 30 days, not a subscription

All limits are on the Pricing page.

Risks to understand before going live

Automating an account removes manual errors but adds new ones, and none of them is covered by a backtest.

Where to go next

You want toRead
Understand forex trading bots and EAsWhat Is an Expert Advisor (EA)?
Build a first strategyHow to Build Your First Algorithmic Trading Strategy
Test it properlyBest Backtesting Software for Forex Traders
Avoid common automation errors7 Automated Trading Mistakes to Avoid
Set stops that fit the marketATR-Based Stop Loss Sizing
See the full Live documentationRun live without files

Common questions

Can you run a trading bot on Match-Trader?

Yes, through the Match-Trader API, if your broker or prop firm offers API access. In AlgoPuzzle you build the strategy from blocks, backtest it, add a Match-Trader connection with an API token in Live mode and send the strategy to it; AlgoPuzzle then places the trades on your account. Nothing has to be installed and no computer has to stay on.

Does Match-Trader support Expert Advisors?

No. Expert Advisors (.mq5, .mq4) run only inside MetaTrader, and cBots only inside cTrader. A Match-Trader account is automated through its API instead, by software that sends the orders on your behalf, such as AlgoPuzzle Live.

How do I connect AlgoPuzzle to Match-Trader?

In Match-Trader open Settings, API Access and generate a token with the Full preset. In the AlgoPuzzle builder switch the header to Live, click Add connection, choose Match-Trader, paste the token, read and tick the boxes and click Connect. Then choose your instruments and send a strategy.

Do I need a VPS to automate Match-Trader?

No. With Match-Trader, AlgoPuzzle places the trades through the API, so no computer or VPS has to stay on. A VPS or an always-on computer is needed only for MetaTrader 5 or MetaTrader 4, where the AlgoPuzzle Link EA runs inside your own terminal.

Can I use a trading bot on a prop firm Match-Trader account?

Only if the prop firm gives you API access and its rules allow automated trading. Many firms restrict bots, copy trading or certain strategies, so check the rules of your exact program before connecting, and keep daily and maximum loss limits in mind when you size trades.

What happens if AlgoPuzzle or the API is unavailable?

No new trades are opened, and exit conditions, break-even and trailing stops wait until the connection is back. Stop loss and take profit are set at your broker with each trade, so they stay in place. Errors, delays or outages can still cause losses, so start on a demo account.

Is running a strategy on Match-Trader free?

The AlgoPuzzle Free plan includes 1 Live connection, which can be a Match-Trader account, with a free account login. A Pro pass allows up to 5 connections. Your broker or prop firm may have its own fees.

Build a strategy for Match-Trader