Skip to main content

WebAPI v2 covers the whole Manager API of MT4 and MT5

WebAPI v2 grows to 456 operations — subscriptions and their history, the configuration systems, reports, market insight, client paperwork, communications, trading writes and dealer operations, on both platforms. All four SDKs move to 0.6.1 with it.

WebAPI v2 no longer stops where v1 did. Two hundred and thirty-two operations were added, taking the total to 456 — 175 on MT4, 281 on MT5.

The new ground: subscriptions and their history, the configuration and trade-configuration systems (groups, symbols, leverage, plugins), daily and summary reports with the broker exposure, market insight (online users, the manager's selected symbols, market depth), client records with documents, comments and attachments, communications (mail, news, the manager log and password, network state, settings files, geolocation, proxy), trading writes in every bulk form, the dealer queue with account assignment and trade calculations, and the MT4 dealer reports.

Two fields that the platform interface hid are now published: a subscription configuration reports priceCost, the amount the client is actually charged, and a history action reports its time.

Every request to a trade platform answers within a deadline, and a write is executed once even if a retry arrives with the same idempotency key. A raw tick read is bounded to one day and one million ticks — ask a day at a time and continue from the last tick returned.

WebAPI v1 keeps its routes, parameters and response shapes. The SDKs — TypeScript, Python, .NET and PowerShell — were regenerated at 0.6.1 with the full surface.

This note sums up an article on the CPlugin™ blog. Read the full article ↗