MT5 Account information

easy direct connection to any MT4 and MT5 server

MT5 Account information

Here we shows how to get information about account and symbols.

var api = new MT5API("45.76.194.231:443", 7371, "mt5api");
api.OnConnectStatus += ConnectionStatus;
api.Connect();
foreach (var item in api.Symbols())
    Console.Write(item.Info.Currency + " ");
Console.WriteLine();
Console.WriteLine("Balance = " + api.Account().Balance);
Console.ReadKey();

Leave a Reply