PyMtApi5: implemented function SymbolInfoInteger

This commit is contained in:
Vyacheslav Demidyuk
2025-01-16 23:34:53 +02:00
parent 9d2884b608
commit 583aaa9627
2 changed files with 18 additions and 0 deletions
+6
View File
@@ -328,6 +328,12 @@ class Mt5ApiClient:
return self.__send_command(
self.__get_default_expert(), Mt5CommandType.SymbolInfoDouble, cmd_params)
# SymbolInfoInteger
def symbol_info_integer(self, symbol_name: str, prop_id: ENUM_SYMBOL_INFO_INTEGER):
cmd_params = {"Symbol": symbol_name, "PropId": prop_id}
return self.__send_command(
self.__get_default_expert(), Mt5CommandType.SymbolInfoInteger, cmd_params)
# Private methods
def __event_thread_func(self):