Added function OrderCloseAll to mtapi4

This commit is contained in:
Vyacheslav Demidyuk
2014-11-26 00:30:30 +02:00
parent 772b27551c
commit ab14a5f8a2
9 changed files with 50 additions and 13 deletions
+4
View File
@@ -303,6 +303,10 @@ namespace MtApi
return (TradeOperation) retVal;
}
public bool OrderCloseAll()
{
return sendCommand<bool>(MtCommandType.OrderCloseAll, null);
}
#endregion
#region Check Status
+2 -1
View File
@@ -181,6 +181,7 @@ namespace MtApi
iTimeArray = 149,
//
RefreshRates = 150
RefreshRates = 150,
OrderCloseAll = 151
}
}
+2 -2
View File
@@ -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")]