Skip to content

Conntect to MT5 WebAPI with standard HttpClient. Send request

Notifications You must be signed in to change notification settings

ivmazurenko/mt5-webapi-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MetaQuotes Web API / Manager Interface (Rest API)

This repository contains a basic implementation of MetaQuotes Web API / Manager Interface (Rest API) for connecting to MetaQuotes servers and performing authentication.

Usage Example

using MetaquotesApi;

var connector = new Connector("127.0.0.1:443");

await connector.SendAuth("9999", "MY_PASSWORD", "AGENT");

await connector.SendGet("/api/group/total");

Authentication Process

  1. Request to Start Authentication: Send a request to start authentication.
  2. Start of Authentication on the Access Server: Receive a response containing a random sequence from the access server.
  3. Response to the Server: Apply a password hash to the random sequence and send it back to the server.
  4. End of Authentication: Receive confirmation of successful authentication.

Documentation

Refer to the MetaQuotes API Documentation for detailed information on the authentication process.

Feel free to contribute and expand upon this implementation as needed.

About

Conntect to MT5 WebAPI with standard HttpClient. Send request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages