mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-07 07:57:50 +00:00
Added function OrderCloseAll to mtapi4
This commit is contained in:
@@ -303,6 +303,10 @@ namespace MtApi
|
||||
return (TradeOperation) retVal;
|
||||
}
|
||||
|
||||
public bool OrderCloseAll()
|
||||
{
|
||||
return sendCommand<bool>(MtCommandType.OrderCloseAll, null);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Check Status
|
||||
|
||||
@@ -181,6 +181,7 @@ namespace MtApi
|
||||
iTimeArray = 149,
|
||||
|
||||
//
|
||||
RefreshRates = 150
|
||||
RefreshRates = 150,
|
||||
OrderCloseAll = 151
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.16.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.16.0")]
|
||||
[assembly: AssemblyVersion("1.0.17.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.17.0")]
|
||||
|
||||
Reference in New Issue
Block a user