PyMtApi5: implemented function InfoDouble

This commit is contained in:
Vyacheslav Demidyuk
2025-01-16 23:13:22 +02:00
parent a3ba4e7642
commit 9d2884b608
2 changed files with 41 additions and 23 deletions
+6
View File
@@ -322,6 +322,12 @@ class Mt5ApiClient:
return self.__send_command(
self.__get_default_expert(), Mt5CommandType.SymbolIsSynchronized, cmd_params)
# SymbolInfoDouble
def symbol_info_double(self, symbol_name: str, prop_id: ENUM_SYMBOL_INFO_DOUBLE):
cmd_params = {"Symbol": symbol_name, "PropId": prop_id}
return self.__send_command(
self.__get_default_expert(), Mt5CommandType.SymbolInfoDouble, cmd_params)
# Private methods
def __event_thread_func(self):