Start freeSign in
Developers

Automated trading for MetaTrader and broker accounts

Sonar Lab strategies execute on the user's own connected MetaTrader or broker account. Your bot routes a strategy through the API; the Sonar relay places the orders at the broker's own price, under its safety gates. You build the automation, not the execution risk.

Read the quickstartOpenAPI spec

Connect an account, route a strategy

A user links their MetaTrader or broker account to Sonar once, in the app. From then on your bot can route any Sonar Lab strategy to that account through the API and choose the size, from 1x to 10x. The strategy runs on Sonar's servers; the relay is the only thing that sends an order to the broker.

Executed at the broker's price

Everything the relay acts on comes from the connected broker: the prices it evaluates, the sizing, and the brackets. Real money fills at the broker's price, so what your bot routes and what the account trades stay consistent. If the broker cannot be read, the order is refused loudly rather than guessed.

Test it before it touches real money

Both SDKs accept an injected HTTP client, so you can drive every branch of your bot against a mock and touch no network. Then link a demo account and route a free strategy to watch the account state and the record of what traded, before you go near a live account.

Build it

Agent quickstart
Endpoint by endpoint, every error branch.
Building bots
Any platform, with a testing discipline.
TypeScript SDK
Zero-dependency, fully typed client.
Developers overview
The whole integration, four calls.