cTrader Bot Development: Custom cBots and Open API Apps

cTrader bot development turns your trading rules into a cBot, a program that runs inside the platform and places the orders for you. When the job needs an outside app instead, such as a signal bridge, we build it on the cTrader Open API.

Both are custom work. We have no ready-made cTrader app, so cTrader bot development starts from your rules, your broker and your account.

What cTrader bot development covers

Most cTrader bot development requests fall into one of these groups. We write each one to your rules, then test it before it touches a live account.

If you are not sure which group your idea fits, describe it in plain words. We will tell you which route suits it and give the reason.

cBots and indicators, the built-in route

cTrader Algo is the platform’s own framework for automated trading and custom tools. It was once called cTrader Automate. Many traders still say cAlgo, a name that lives on in the cAlgo.API namespace at the top of cBot code.

According to the cTrader Algo help centre, you can write cBots and indicators in either C# or Python. Development needs the .NET SDK, the Windows or Mac app and a cTrader ID, plus Python itself for Python algos. You can write the code in the built-in editor or in an outside IDE.

In code, a cBot is a C# or Python class with settings you can change and methods that run at set moments. One method runs at start-up, another when a bar closes, and another when you stop it. The strategy then reacts to the market without you at the screen.

A cBot can also read files, take in outside data and connect to other tools. On the desktop apps, you can start it on your own machine or in the cloud. On cTrader Web and mobile, cBots run in the cloud only. Cloud runs have limits: up to 10 cBots at once on live accounts and 1 on demo, where a run stops after 7 days. A cBot that uses outside packages runs in the cloud only under conditions, and the rules can vary by broker (see Spotware’s cloud features page).

Two routes for cTrader bot development: a cBot inside cTrader Algo, or an Open API app outside the platform
The two routes side by side. Most strategy work is a cBot; bridges from outside sources are usually Open API apps.

Backtesting and optimisation

Before a cBot goes near real money, we run it on history. The built-in tester can replay tick data from the server, the most accurate option, or use one-minute or one-hour bars from the server, or one-minute bars from your own CSV file. The tester also lets you set commission and choose a fixed or random spread.

Visual mode replays the test, so you can watch each position open and close on the chart. Then optimisation repeats the test with different settings. It can try every combination on a grid, or use a genetic search, which Spotware says is significantly faster.

A backtest proves only that the code follows your rules. It does not prove the strategy will make money. Spreads, slippage and fills differ in live trading, and settings tuned on one stretch of history often fail on the next. We say so when a result looks too good.

From idea to live cBot: backtest on history, optimise the settings, run on demo, then go live with small size
Every cBot passes these four stages in order. One that fails a stage goes back for fixes before it moves on.

When an Open API app fits better

Some jobs do not belong inside the platform. For example, a Telegram signal bridge or a dashboard for several accounts runs better as its own program. For those, Spotware, the company behind the platform, offers the Open API.

Anyone with a cTrader ID can create an app, for accounts at a broker that offers cTrader. You register it on the Open API portal first, and Spotware reviews it before coding starts.

An approved app streams prices, places the trades the official apps allow and reads past deals, orders and positions. Messages travel as JSON or Protocol Buffers, with official SDKs for C# and Python. Spotware allows up to 50 requests per second on each connection and 5 per second for history requests (limits checked in November 2026).

Both demo and live accounts work with it, so we build and test on demo first. Our broker API bridge development page explains how we approach this kind of job.

Open API signal bridge: a signal or alert arrives, your app checks your rules, the order reaches your account
How a custom Open API bridge carries one signal. It runs on your PC or VPS, signed in to your own account.

cBot or Open API app: a side-by-side view

Both routes trade the same cTrader account, but they are built and run in different ways. We go through this comparison with clients before quoting.

cBot (cTrader Automate)Open API app
LanguageC# or Python, built with the .NET SDKAny language that speaks Protobuf or JSON over a socket
Where it runsInside cTrader on the trader’s PC or VPS, or in the cTrader cloudYour own server or desktop app
Account accessThe account open in cTraderAny account the trader authorises through OAuth
Setup for the traderImport a .algo file and press StartSign in once and approve the app
Best forOne strategy on one accountCopiers, dashboards and many accounts at once
BacktestingBuilt into cTraderYou build it yourself or test on demo

If the logic only needs the chart and one account, a cBot is quicker to build and easier to hand over. If it has to react to outside signals, such as Telegram or a TradingView webhook, or manage many accounts, the Open API is the better base. The app has to be registered with Spotware first.

Moving a strategy from MetaTrader or TradingView

Many cTrader bot development projects start as code from elsewhere, such as an Expert Advisor or a Pine Script strategy. The logic carries over, but the code has to be written again for cTrader.

We read the original line by line and list every rule it applies. Then we rebuild it in C# or Python and compare trades on the same history. Symbol names, lot sizes and order types often differ between platforms, so a port checks each one.

Porting a strategy: read the original, rebuild it as a cBot, compare trades on the same history, then demo
A port is checked trade by trade against the original before it runs on demo.

For the reverse trip, or for TradingView itself, see Pine Script development and MT4 and MT5 EA development.

How a project runs

  1. You describe the idea. Rules in a message, an indicator, another platform’s code or marked-up screenshots all work.
  2. We ask what the rules leave open, such as what happens when a position already exists at start-up.
  3. A fixed quote follows, with a timeline, once the scope is clear.
  4. We build and test on history and on demo, and you see results as we go.
  5. You review it before it runs on a live account. Then we walk you through setup.

To start, ask for a quote.

What every cBot we build includes: your lot rule, a daily loss cap, position limits, hours, restart recovery and a log
These guards go into the build in step 4, whatever the strategy.

Custom build, or a ready-made MetaTrader tool?

If your broker also offers MetaTrader, a finished tool may already do the job. Our Telegram to MT4/MT5 copier and TradingView to MT4/MT5 copier run today, with no build needed.

If you want to stay on cTrader, the job is a custom build. The platforms page compares every platform we automate, and the MetaTrader 5 page covers the closest alternative.

cTrader bot development: frequently asked questions

Is there a ready-made cBot or copier?

No, neither from us nor from TPcopier, our cloud copier. Everything on cTrader is built to your rules.

Which language do you use for cBots?

C# by default. Python also works in cTrader Algo, so tell us if you would rather read or edit the code in Python.

Can you turn my MT4 or MT5 Expert Advisor into a cBot?

Yes, if you have the MQ4 or MQ5 source. Compiled .ex4 and .ex5 files cannot be ported, because the rules cannot be read out of them.

Can you copy Telegram signals to cTrader?

As a custom build, usually on the Open API. We check the channel’s format and your broker’s setup first, then quote it.

Will a backtest show me future profits?

No backtest can. It shows that the cBot follows your rules on past data, and we tell you when a result looks like curve fitting.

Does a cBot need my PC to stay on?

Locally, yes, or you run it on a VPS. cTrader can also run cBots in its own cloud at no cost, within the instance limits above.

Do I get the source code?

Yes. You receive the source with the build, so the code stays yours.

Are bots allowed on prop firm accounts?

Bot use is the firm’s rule, not the platform’s. Read your agreement before you run any bot on a funded account.

How much does cTrader bot development cost?

The cost depends on the rules, the testing needed and whether the bot needs an Open API app. Typical starting ranges are on our pricing page. Tell us what it should do and we will quote a fixed price: ask for a quote.

WhatsApp