MtApi5: completed rewriting API functions for using SendCommand

This commit is contained in:
Viacheslav Demydiuk
2024-02-11 21:00:24 +02:00
parent ad822af2f2
commit 9cb12855e1
2 changed files with 620 additions and 704 deletions
+615 -692
View File
File diff suppressed because it is too large Load Diff
+5 -12
View File
@@ -48,9 +48,9 @@ namespace MtApi5.MtProtocol
Bars = 36, Bars = 36,
Bars2 = 1036, Bars2 = 1036,
BarsCalculated = 37, BarsCalculated = 37,
// IndicatorCreate = 38, IndicatorCreate = 38,
// IndicatorParameters = 38, // IndicatorParameters = 38,
// IndicatorRelease = 39, IndicatorRelease = 39,
CopyBuffer = 40, CopyBuffer = 40,
CopyBuffer1 = 1040, CopyBuffer1 = 1040,
CopyBuffer2 = 1140, CopyBuffer2 = 1140,
@@ -96,7 +96,7 @@ namespace MtApi5.MtProtocol
SymbolInfoSessionTrade = 59, SymbolInfoSessionTrade = 59,
MarketBookAdd = 60, MarketBookAdd = 60,
MarketBookRelease = 61, MarketBookRelease = 61,
//MarketBookGet = 62, MarketBookGet = 62,
OrderCloseAll = 63, OrderCloseAll = 63,
//CTrade //CTrade
@@ -112,9 +112,6 @@ namespace MtApi5.MtProtocol
BacktestingReady = 66, BacktestingReady = 66,
IsTesting = 67, IsTesting = 67,
//Requests
//MtRequest = 155,
PositionSelectByTicket = 69, PositionSelectByTicket = 69,
ObjectCreate = 70, ObjectCreate = 70,
@@ -182,8 +179,6 @@ namespace MtApi5.MtProtocol
TimeLocal = 129, TimeLocal = 129,
TimeGMT = 130, TimeGMT = 130,
IndicatorRelease = 131,
//Chart Operations //Chart Operations
ChartId = 206, ChartId = 206,
ChartRedraw = 207, ChartRedraw = 207,
@@ -263,9 +258,7 @@ namespace MtApi5.MtProtocol
OrderSend = 301, OrderSend = 301,
OrderSendAsync = 302, OrderSendAsync = 302,
OrderCheck = 303, OrderCheck = 303,
MarketBookGet = 304, Buy = 304,
IndicatorCreate = 305, Sell = 305
Buy = 306,
Sell = 307
} }
} }