mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-22 15:18:12 +00:00
Added fucntion OrderCloseAll into mt5 api
This commit is contained in:
@@ -466,6 +466,15 @@ namespace MtApi5
|
||||
|
||||
return sendCommand<string>(Mt5CommandType.HistoryDealGetString, commandParameters);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Close all open positions.
|
||||
///</summary>
|
||||
///<param name="ticket">OrderCloseAll</param>
|
||||
public bool OrderCloseAll()
|
||||
{
|
||||
return sendCommand<bool>(Mt5CommandType.OrderCloseAll, null);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Account Information functions
|
||||
|
||||
Reference in New Issue
Block a user