mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-20 22:28:17 +00:00
Add SymbolSelect() and use existing local variables
This commit is contained in:
@@ -664,6 +664,12 @@ namespace MtApi
|
|||||||
var commandParameters = new ArrayList { pos, selected };
|
var commandParameters = new ArrayList { pos, selected };
|
||||||
return SendCommand<string>(MtCommandType.SymbolName, commandParameters);
|
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
|
#endregion
|
||||||
|
|
||||||
#region Common Function
|
#region Common Function
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user