Add SymbolSelect() and use existing local variables

This commit is contained in:
Konstantin Ivanov
2016-09-29 17:13:41 +03:00
parent 68d5fa98af
commit db4bb44fb3
3 changed files with 6 additions and 0 deletions
+6
View File
@@ -664,6 +664,12 @@ namespace MtApi
var commandParameters = new ArrayList { pos, selected };
return SendCommand<string>(MtCommandType.SymbolName, commandParameters);
}
public bool SymbolSelect(string name, bool select)
{
var commandParameters = new ArrayList { name, select };
return SendCommand<bool>(MtCommandType.SymbolSelect, commandParameters);
}
#endregion
#region Common Function
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.