add SymbolsTotal()

This commit is contained in:
Konstantin Ivanov
2016-09-29 16:14:53 +03:00
parent 802b19b402
commit dc28823ca9
6 changed files with 31 additions and 2 deletions
+8
View File
@@ -652,6 +652,14 @@ namespace MtApi
#endregion
#region Symbols
public int SymbolsTotal(bool selected)
{
var commandParameters = new ArrayList { selected };
return SendCommand<int>(MtCommandType.SymbolsTotal, commandParameters);
}
#endregion
#region Common Function
public void Alert(string msg)
+6 -1
View File
@@ -195,6 +195,11 @@ namespace MtApi
MtRequest = 155,
//Backtesting
BacktestingReady = 156
BacktestingReady = 156,
//Symbols
SymbolsTotal = 200,
SymbolName = 201,
SymbolSelect = 202
}
}