Originally published at danielchenbuilds.com .
On a live prop-trading platform, the first MetaTrader 5 integration read positions through the Web API. A single positions call could take several seconds, so risk checks ran from a periodic backend job. Between two runs, a trader who had already broken a loss limit could keep trading.
I built a C#/.NET service on the Manager API and moved those reads to its locally pumped cache, where they take milliseconds. That is what made it practical to check every active account every few seconds. The background is in the case study .
Most public comparisons of the two APIs are vendor pages with no code. This one is written from running both in the same production system. The short version: they are good at different jobs, and most back offices end up using both.
What each API actually is
The Manager API is a native Windows SDK from MetaQuotes: C++ with a .NET wrapper, plus an official Python manager package that sits on the same native libraries.…