Is API implementation stable?#
CopyFactory API did exist even before MetaApi project was started, in the beginning of 2020. The API is stable at this point.
How can I be sure your service is reliable enough?#
We execute over a thousand tests on each build, run in-depth load tests and execute our own copy trading app in production.
During pre-release load tests we copied 100K MT4 and 100K MT5 trades. No trades were lost and median trade copying latency introduced by our servers was only 35ms.
This makes us probably the best offering in the market.
Thus we beleive that implementation is ready for production use.
How many accounts your application supports per deployment?#
The service was tested integrationally with workloads of up to 5K MetaTrader accounts. This does not mean that 5K 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 5K accounts.
Does your service support usage scenarios when there are many subscribers subscribed to the same strategy?#
The service was tested with 1K subscribers per strategy provider. Median trade copying latency introduced by our servers was measured to be less than 180ms in this extreme scenario.
This does not mean 1K subscribers is a limit. This does not mean that this latency can not be reduced. If your subscribers are split across several uncorrelated strategy providers, then your latency will be significantly lower, down to 35ms latency introduced by our servers.
I have a larger-scale app and would like to have lowest possible trade copying latencies, is this possible?#
Trade copying latencies can be decreased 1.5-2 times in dedicated installations of MetaApi. Please contact support via online chat to negotiate dedicated installation of MetaApi for you.
Could you describe in high-level how your API works?#
CopyFactory API is based on MetaApi cloud forex trading API service https://metaapi.cloud.
In order to configure copy trading you need to:
- add your MetaTrader accounts to MetaApi
- add your MetaApi accounts to CopyFactory API
- subscribe subscribers to strategy providers
The trade copying will happen on our servers automatically.
Where can I find some code examples?#
We published some code examples in our github repositories, namely:
- Python: https://github.com/agiliumtrade-ai/metaapi-python-sdk/tree/master/examples
- Java: https://github.com/agiliumtrade-ai/metaapi-java-sdk/tree/master/examples
In order to convert the code examples to pure REST API invocations, please check source codes of the APIs invoked in examples.
Will I be charged for using your API?#
The CopyFactory API is intended to be used with a paid MetaApi MT terminal hosting service.
We recommend to run your workloads using G2 infrastructure with increased reliability, in order to make sure that trade copying setup is sufficiently reliable.
If you use recommended infrastructure type than we will charge no extra for CopyFactory API use.
Otherwise we will charge 50% on top of your regular MetaApi charges for CopyFactory API use.
See https://metaapi.cloud/#pricing for more details.
I would like to get a trial, is this possible?#
MetaApi provides a free usage tier so that you can launch a single MetaTrader account for free. However, in order to test copy trading you will need at least two accounts which means that you will consume a paid service. Note, however, that MetaApi charges are reasonable so that you will not have to pay too much just to test the API.
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 app via MetaApi, you expose your MT account 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.
How do you recommend to secure my account?#
We recommend you to add your MT accounts to MetaApi using investor (read-only) password when possible (e.g. for strategy provider accounts).
Any question? Post it via online chat any time to get a response. We will be happy to answer.