This is RESTful JSON WebAPI to manage MT4/MT5 servers from any HTTP-enabled client.
For real-time data it has SignalR endpoint offering WebSockets, LongPooling etc protocols.
The project hosted at https://MyWebAPI.com (and other URLs, keep reading for more info)
There is Swagger 2.0 documentation (https://mywebapi.com/swagger/index.html) to let you very easily generate client-side proxy classes. Do have a look at https://github.com/swagger-api/swagger-codegen
This saves a lot of time when you want to generate proxy classes for very first time. But this is not an obligation. Everything might be done without this step.
How to use
First of all you have to be registered within system.
If you don't have registration and would like to create new organization item from scratch than you can navigate to any website from the list and pass steps mentioned there:
- https://admin.cplugin.net - being logged off it will redirect you to authorization server to authenticate or register brand new account.
- https://auth.cplugin.net - here you can sign in or sign up. Then you can navigate to other web sites form family of cloud products.
Then navigate to https://admin.cplugin.net → Clients and create api account for your application. Remember login and password, you will not be able to get it later.
When you get client id and secret you can pass authorization step (which explained in another section) and start working with WebAPI (JSON and SignalR endpoints).
Firewall setting you suggested to set up
IP list from where it can connect to your MT4 servers are:
MS Azure cloud in Western Europe:
Cloud - https://cloud.MyWebAPI.com
We run (in test mode) swarm of WebAPI to archive few goals:
- geographical distributed instances for minimize delay in communication between caller and server
- multiple instances must gain up uptime
- spread the load over multiple servers
- if any instance down, you get IP address of another instance automatically. It is a matter of second when systems reacts.
All above made possible by DNS traffic manager, if you try to get IP of domain name
cloud.mywebapi.com - you will get IP address of instance, which is closest (geographically) to you (with least ping).
We analyze usage and can run additional server in the region of customer, who can get real benefits of that.