Skip to content

FAQ#

Is API implementation stable?#

The API is ready for production use at this point.

How can I be sure your service is reliable enough?#

We implemented a comprehensive automated tests which we execute before each release. We use the service to execute our own trading account workloads.

I would like to use websocket API (real-time streaming API) from language different from python or javascript, is this possible?#

Streaming API has evolved over time and currently the protocol is complex. We insist you to use an SDK if you want to use the streaming API. In case you need to use the streaming API from a language different from javascript or python, the best strategy would be to convert the complete SDK from javascript to the language of your choice.

What is the maximum workload size supported by your service?#

The service was tested integrationally with workloads of up to 50K MetaTrader accounts. This does not mean that 50K accounts is a limit. The theoretical limit based on load test results of individual service components is 1M accounts. It is theoretical because we just can not get as much hardware at this point to test this kind of workload integrationally. This said, it is necessary to run appropriate load tests before launching workloads bigger than 50K accounts.

What is your service uptime?#

We are constantly working to improve our uptime. The average per-MT account uptime measured on production during trading session exceeds 99.5%.

For trading robots or other apps where uptime is critical we recommend launching your workloads on a high reliability infrastructure. Workloads launched in this mode were load-tested to have per-MT account average uptime of up to 99.96% depending on your broker.

What are the latencies introduced by your servers?#

Median trade execution latency introduced by our servers was measured to be 6ms. Median update streaming latency introduced by our server was measured to be less than 1ms.

Ping time from our servers located in new-york region to New York is less than 1ms, meaning that when you trade via MetaApi using a broker located in New York, then the network latency for trade execution will be less than 0.5ms.

Please note that network latency and latency introduced by our servers is added on top of regular broker latency, i.e. the latency which is introduced solely by your broker.

If you are trading correlated strategies on your accounts please consider using resource slots feature to reduce trade & signal latency.

Where the API servers are located?#

Our API servers are located in data centers in several regions (geographical locations) across the globe. Please contact us (support@metaapi.cloud) if your application runs in a different location and you need lower latency for your location.

We recommend you to deploy your app in the same location as your workloads for minimal network latency.

I would like to see working code samples, do you have some?#

Please check this short video to see how you can download samples via our web application.

Please check also our GitHub repos.

Please note that these all are working code examples. We execute them before each release to make sure they still runs correctly after each update we make to our service.

If you have questions on how to use them, please check Using code examples document.

How to get an optimal latency for my app?#

We recommend you to deploy your app in the same location as your workloads for minimal network latency.

Will I be charged for an account I added to your app?#

You will be charged for it only if API server is running (i.e. in deployed state). You can stop the API server any time.

I would like to save on a cloud offering by launching an API server for a short time, then executing some actions, then stopping it again. Can I do so?#

Yes. Please note that in current version you are billed for 6 hours each time you start your server.

I would like to get a trial, is this possible?#

MetaApi provides a free tier so that you can test our APIs. Workloads of up to two trading accounts are free for personal use.

I plan to run many accounts at once. Can I get a discount?#

We designed our pricing so that you pay equal or less than amount you have to pay for executing your own infrastructure even in high volume usage scenario. Please check our pricing.

Is the service safe to use?#

Security of our service is mostly based on the fact that it is not possible to transfer funds from your trading account using trading terminal access, because access to deposits/withdrawals is split from trading access by your broker. Our app requires only trading terminal access to operate correctly. Feel free to do your own research on this subject if you want.

When you add your trading account to our, you expose your trading password (so that our app can connect to your broker) and your API calls to our app.

In our company we employ standard industry security protocols. The application code is being reviewed by senior management before going into production. The cloud infrastructure runs on an isolated network and all ingoing and outgoing communication is encrypted and uses strong authentication. The number of people who have access to production infrastructure is limited to a single person who administers the infrastructure and resolve technical issues if they arise.

I want to try a service without risk of making real trades, can I do so?#

You can add a demo account to our service.

Alternatively you can specify investor password for read-only terminal access (trading features will not be available in this case).

I'm getting 404 NotFound or 401 UnauthorizedError error when I'm trying to access my account via API, what might be wrong?#

Please make sure that the URL you use to access your account matches the region account is deployed at. You can find region-specific URL on API access page.

Other questions#

Any question? Post it via online chat any time to get a response. We will be happy to answer.