This repository contains a basic implementation of MetaQuotes Web API / Manager Interface (Rest API) for connecting to MetaQuotes servers and performing authentication.
using MetaquotesApi;
var connector = new Connector("127.0.0.1:443");
await connector.SendAuth("9999", "MY_PASSWORD", "AGENT");
await connector.SendGet("/api/group/total");
- Request to Start Authentication: Send a request to start authentication.
- Start of Authentication on the Access Server: Receive a response containing a random sequence from the access server.
- Response to the Server: Apply a password hash to the random sequence and send it back to the server.
- End of Authentication: Receive confirmation of successful authentication.
Refer to the MetaQuotes API Documentation for detailed information on the authentication process.
Feel free to contribute and expand upon this implementation as needed.