mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-15 11:48:09 +00:00
Issue #284: MtApi4/MQL4 - added function GetSymbols
This commit is contained in:
@@ -502,6 +502,12 @@ namespace MtApi
|
||||
Dictionary<string, object> cmdParams = new() { { "Pool", (int)pool} };
|
||||
return SendCommand<List<MtOrder>>(ExecutorHandle, MtCommandType.GetOrders, cmdParams);
|
||||
}
|
||||
|
||||
public List<string>? GetSymbols(bool selected)
|
||||
{
|
||||
Dictionary<string, object> cmdParams = new() { { "Selected", selected } };
|
||||
return SendCommand<List<string>>(ExecutorHandle, MtCommandType.GetSymbols, cmdParams);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Checkup
|
||||
|
||||
Reference in New Issue
Block a user