PyMtApi5: implemented function ChartNext

This commit is contained in:
Vyacheslav Demidyuk
2025-03-07 14:19:53 +02:00
parent f3360cf6d6
commit 80e4886d4f
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -504,6 +504,10 @@ class Mt5ApiClient:
def chart_first(self):
return self.__send_command(self.__get_default_expert(), Mt5CommandType.ChartFirst)
def chart_next(self, chart_id):
cmd_params = {"ChartId": chart_id}
return self.__send_command(self.__get_default_expert(), Mt5CommandType.ChartNext, cmd_params)
# Private methods
def __event_thread_func(self):