MetaRpcMT5 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- metarpcmt5-0.1.0/MetaRpcMT5/__init__.py +32 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mrpc_mt5_error_pb2.py +38 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mrpc_mt5_error_pb2_grpc.py +4 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_account_helper_pb2.py +153 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_account_helper_pb2_grpc.py +276 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_account_information_pb2.py +58 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_account_information_pb2_grpc.py +138 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_charts_pb2.py +54 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_charts_pb2_grpc.py +99 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_connection_pb2.py +83 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_connection_pb2_grpc.py +264 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_health_check_pb2.py +34 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_health_check_pb2_grpc.py +99 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_internal_charts_pb2.py +50 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_internal_charts_pb2_grpc.py +165 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_market_info_pb2.py +163 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_market_info_pb2_grpc.py +561 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_subscriptions_pb2.py +114 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_subscriptions_pb2_grpc.py +198 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_trade_functions_pb2.py +72 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_trade_functions_pb2_grpc.py +174 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_trading_helper_pb2.py +59 -0
- metarpcmt5-0.1.0/MetaRpcMT5/mt5_term_api_trading_helper_pb2_grpc.py +135 -0
- metarpcmt5-0.1.0/MetaRpcMT5.egg-info/PKG-INFO +8 -0
- metarpcmt5-0.1.0/MetaRpcMT5.egg-info/SOURCES.txt +29 -0
- metarpcmt5-0.1.0/MetaRpcMT5.egg-info/dependency_links.txt +1 -0
- metarpcmt5-0.1.0/MetaRpcMT5.egg-info/top_level.txt +4 -0
- metarpcmt5-0.1.0/PKG-INFO +8 -0
- metarpcmt5-0.1.0/bin/wfastcgi.py +913 -0
- metarpcmt5-0.1.0/pyproject.toml +15 -0
- metarpcmt5-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from . import mrpc_mt5_error_pb2
|
|
2
|
+
from . import mrpc_mt5_error_pb2_grpc
|
|
3
|
+
|
|
4
|
+
from . import mt5_term_api_account_helper_pb2
|
|
5
|
+
from . import mt5_term_api_account_helper_pb2_grpc
|
|
6
|
+
|
|
7
|
+
from . import mt5_term_api_account_information_pb2
|
|
8
|
+
from . import mt5_term_api_account_information_pb2_grpc
|
|
9
|
+
|
|
10
|
+
from . import mt5_term_api_charts_pb2
|
|
11
|
+
from . import mt5_term_api_charts_pb2_grpc
|
|
12
|
+
|
|
13
|
+
from . import mt5_term_api_connection_pb2
|
|
14
|
+
from . import mt5_term_api_connection_pb2_grpc
|
|
15
|
+
|
|
16
|
+
from . import mt5_term_api_health_check_pb2
|
|
17
|
+
from . import mt5_term_api_health_check_pb2_grpc
|
|
18
|
+
|
|
19
|
+
from . import mt5_term_api_internal_charts_pb2
|
|
20
|
+
from . import mt5_term_api_internal_charts_pb2_grpc
|
|
21
|
+
|
|
22
|
+
from . import mt5_term_api_market_info_pb2
|
|
23
|
+
from . import mt5_term_api_market_info_pb2_grpc
|
|
24
|
+
|
|
25
|
+
from . import mt5_term_api_subscriptions_pb2
|
|
26
|
+
from . import mt5_term_api_subscriptions_pb2_grpc
|
|
27
|
+
|
|
28
|
+
from . import mt5_term_api_trade_functions_pb2
|
|
29
|
+
from . import mt5_term_api_trade_functions_pb2_grpc
|
|
30
|
+
|
|
31
|
+
from . import mt5_term_api_trading_helper_pb2
|
|
32
|
+
from . import mt5_term_api_trading_helper_pb2_grpc
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: mrpc-mt5-error.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14mrpc-mt5-error.proto\x12\x0cmt5_term_api\"\xc2\x03\n\x05\x45rror\x12%\n\x04type\x18\x01 \x01(\x0e\x32\x17.mt5_term_api.ErrorType\x12\x12\n\nerror_code\x18\x02 \x01(\t\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x32\n\x0emql_error_code\x18\x04 \x01(\x0e\x32\x1a.mt5_term_api.MqlErrorCode\x12\x1a\n\x12mql_error_int_code\x18\x05 \x01(\x05\x12\x1d\n\x15mql_error_description\x18\x06 \x01(\t\x12=\n\x14mql_error_trade_code\x18\x07 \x01(\x0e\x32\x1f.mt5_term_api.MqlErrorTradeCode\x12 \n\x18mql_error_trade_int_code\x18\x08 \x01(\x05\x12#\n\x1bmql_error_trade_description\x18\t \x01(\t\x12\x13\n\x0bstack_trace\x18\n \x01(\t\x12\x19\n\x11\x63ommand_type_name\x18\x0b \x01(\t\x12\x11\n\tcommandId\x18\x0c \x01(\x03\x12/\n\nproperties\x18\r \x03(\x0b\x32\x1b.mt5_term_api.ErrorProperty\"?\n\rErrorProperty\x12\x15\n\rerror_arg_key\x18\x01 \x01(\t\x12\x17\n\x0f\x65rror_arg_value\x18\x02 \x01(\t\"h\n\x0bLogFileInfo\x12\'\n\x08log_type\x18\x01 \x01(\x0e\x32\x15.mt5_term_api.LogType\x12\x11\n\tfull_path\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\t*\x82\x02\n\tErrorType\x12\r\n\tUNDEFINED\x10\x00\x12\x08\n\x04MRPC\x10\x01\x12\x13\n\x0fMRPC_VALIDATION\x10\x02\x12\x10\n\x0cMRPC_TIMEOUT\x10\x03\x12\x18\n\x14TERMINAL_API_TIMEOUT\x10\x04\x12\x1b\n\x17TERMINAL_API_GET_PARAMS\x10\x05\x12\x1b\n\x17TERMINAL_API_SET_RESULT\x10\x06\x12\x1b\n\x17TERMINAL_API_UNEXPECTED\x10\x07\x12\x11\n\rMQL_EXECUTION\x10\x08\x12\x18\n\x14MQL_CUSTOM_EXECUTION\x10\t\x12\x17\n\x13MQL_TRADE_EXECUTION\x10\n*)\n\x07LogType\x12\n\n\x06Global\x10\x00\x12\x08\n\x04MQL5\x10\x01\x12\x08\n\x04MQL4\x10\x02*\xe3\x31\n\x0cMqlErrorCode\x12\x0f\n\x0b\x45RR_SUCCESS\x10\x00\x12\x17\n\x12\x45RR_INTERNAL_ERROR\x10\xa1\x1f\x12!\n\x1c\x45RR_WRONG_INTERNAL_PARAMETER\x10\xa2\x1f\x12\x1a\n\x15\x45RR_INVALID_PARAMETER\x10\xa3\x1f\x12\x1a\n\x15\x45RR_NOT_ENOUGH_MEMORY\x10\xa4\x1f\x12#\n\x1e\x45RR_STRUCT_WITHOBJECTS_ORCLASS\x10\xa5\x1f\x12\x16\n\x11\x45RR_INVALID_ARRAY\x10\xa6\x1f\x12\x1b\n\x16\x45RR_ARRAY_RESIZE_ERROR\x10\xa7\x1f\x12\x1c\n\x17\x45RR_STRING_RESIZE_ERROR\x10\xa8\x1f\x12\x1e\n\x19\x45RR_NOTINITIALIZED_STRING\x10\xa9\x1f\x12\x19\n\x14\x45RR_INVALID_DATETIME\x10\xaa\x1f\x12\x17\n\x12\x45RR_ARRAY_BAD_SIZE\x10\xab\x1f\x12\x18\n\x13\x45RR_INVALID_POINTER\x10\xac\x1f\x12\x1d\n\x18\x45RR_INVALID_POINTER_TYPE\x10\xad\x1f\x12\x1d\n\x18\x45RR_FUNCTION_NOT_ALLOWED\x10\xae\x1f\x12!\n\x1c\x45RR_RESOURCE_NAME_DUPLICATED\x10\xaf\x1f\x12\x1b\n\x16\x45RR_RESOURCE_NOT_FOUND\x10\xb0\x1f\x12\"\n\x1d\x45RR_RESOURCE_UNSUPPORTED_TYPE\x10\xb1\x1f\x12\"\n\x1d\x45RR_RESOURCE_NAME_IS_TOO_LONG\x10\xb2\x1f\x12\x16\n\x11\x45RR_MATH_OVERFLOW\x10\xb3\x1f\x12\x14\n\x0f\x45RR_SLEEP_ERROR\x10\xb4\x1f\x12\x18\n\x13\x45RR_PROGRAM_STOPPED\x10\xb6\x1f\x12\x15\n\x10\x45RR_INVALID_TYPE\x10\xb7\x1f\x12\x17\n\x12\x45RR_INVALID_HANDLE\x10\xb8\x1f\x12\x19\n\x14\x45RR_TOO_MANY_OBJECTS\x10\xb9\x1f\x12\x17\n\x12\x45RR_CHART_WRONG_ID\x10\x85 \x12\x17\n\x12\x45RR_CHART_NO_REPLY\x10\x86 \x12\x18\n\x13\x45RR_CHART_NOT_FOUND\x10\x87 \x12\x18\n\x13\x45RR_CHART_NO_EXPERT\x10\x88 \x12\x1a\n\x15\x45RR_CHART_CANNOT_OPEN\x10\x89 \x12\x1c\n\x17\x45RR_CHART_CANNOT_CHANGE\x10\x8a \x12\x1e\n\x19\x45RR_CHART_WRONG_PARAMETER\x10\x8b \x12\"\n\x1d\x45RR_CHART_CANNOT_CREATE_TIMER\x10\x8c \x12\x1d\n\x18\x45RR_CHART_WRONG_PROPERTY\x10\x8d \x12 \n\x1b\x45RR_CHART_SCREENSHOT_FAILED\x10\x8e \x12\x1e\n\x19\x45RR_CHART_NAVIGATE_FAILED\x10\x8f \x12\x1e\n\x19\x45RR_CHART_TEMPLATE_FAILED\x10\x90 \x12\x1f\n\x1a\x45RR_CHART_WINDOW_NOT_FOUND\x10\x91 \x12#\n\x1e\x45RR_CHART_INDICATOR_CANNOT_ADD\x10\x92 \x12#\n\x1e\x45RR_CHART_INDICATOR_CANNOT_DEL\x10\x93 \x12\"\n\x1d\x45RR_CHART_INDICATOR_NOT_FOUND\x10\x94 \x12\x15\n\x10\x45RR_OBJECT_ERROR\x10\xe9 \x12\x19\n\x14\x45RR_OBJECT_NOT_FOUND\x10\xea \x12\x1e\n\x19\x45RR_OBJECT_WRONG_PROPERTY\x10\xeb \x12\x1e\n\x19\x45RR_OBJECT_GETDATE_FAILED\x10\xec \x12\x1f\n\x1a\x45RR_OBJECT_GETVALUE_FAILED\x10\xed \x12\x1e\n\x19\x45RR_MARKET_UNKNOWN_SYMBOL\x10\xcd!\x12\x1c\n\x17\x45RR_MARKET_NOT_SELECTED\x10\xce!\x12\x1e\n\x19\x45RR_MARKET_WRONG_PROPERTY\x10\xcf!\x12 \n\x1b\x45RR_MARKET_LASTTIME_UNKNOWN\x10\xd0!\x12\x1c\n\x17\x45RR_MARKET_SELECT_ERROR\x10\xd1!\x12\x1c\n\x17\x45RR_MARKET_SELECT_LIMIT\x10\xd2!\x12\x1d\n\x18\x45RR_MARKET_SESSION_INDEX\x10\xd3!\x12\x1a\n\x15\x45RR_HISTORY_NOT_FOUND\x10\xb1\"\x12\x1f\n\x1a\x45RR_HISTORY_WRONG_PROPERTY\x10\xb2\"\x12\x18\n\x13\x45RR_HISTORY_TIMEOUT\x10\xb3\"\x12\x1b\n\x16\x45RR_HISTORY_BARS_LIMIT\x10\xb4\"\x12\x1c\n\x17\x45RR_HISTORY_LOAD_ERRORS\x10\xb5\"\x12\x1d\n\x18\x45RR_HISTORY_SMALL_BUFFER\x10\xb7\"\x12!\n\x1c\x45RR_GLOBALVARIABLE_NOT_FOUND\x10\x95#\x12\x1e\n\x19\x45RR_GLOBALVARIABLE_EXISTS\x10\x96#\x12$\n\x1f\x45RR_GLOBALVARIABLE_NOT_MODIFIED\x10\x97#\x12\"\n\x1d\x45RR_GLOBALVARIABLE_CANNOTREAD\x10\x98#\x12#\n\x1e\x45RR_GLOBALVARIABLE_CANNOTWRITE\x10\x99#\x12\x19\n\x14\x45RR_MAIL_SEND_FAILED\x10\x9e#\x12\x1a\n\x15\x45RR_PLAY_SOUND_FAILED\x10\x9f#\x12\x1c\n\x17\x45RR_MQL5_WRONG_PROPERTY\x10\xa0#\x12 \n\x1b\x45RR_TERMINAL_WRONG_PROPERTY\x10\xa1#\x12\x18\n\x13\x45RR_FTP_SEND_FAILED\x10\xa2#\x12!\n\x1c\x45RR_NOTIFICATION_SEND_FAILED\x10\xa3#\x12%\n ERR_NOTIFICATION_WRONG_PARAMETER\x10\xa4#\x12$\n\x1f\x45RR_NOTIFICATION_WRONG_SETTINGS\x10\xa5#\x12\"\n\x1d\x45RR_NOTIFICATION_TOO_FREQUENT\x10\xa6#\x12\x15\n\x10\x45RR_FTP_NOSERVER\x10\xa7#\x12\x14\n\x0f\x45RR_FTP_NOLOGIN\x10\xa8#\x12\x17\n\x12\x45RR_FTP_FILE_ERROR\x10\xa9#\x12\x1b\n\x16\x45RR_FTP_CONNECT_FAILED\x10\xaa#\x12\x16\n\x11\x45RR_FTP_CHANGEDIR\x10\xab#\x12\x1a\n\x15\x45RR_BUFFERS_NO_MEMORY\x10\xf9#\x12\x1c\n\x17\x45RR_BUFFERS_WRONG_INDEX\x10\xfa#\x12\x1e\n\x19\x45RR_CUSTOM_WRONG_PROPERTY\x10\xfb#\x12\x1f\n\x1a\x45RR_ACCOUNT_WRONG_PROPERTY\x10\xdd$\x12\x1d\n\x18\x45RR_TRADE_WRONG_PROPERTY\x10\x8f%\x12\x17\n\x12\x45RR_TRADE_DISABLED\x10\x90%\x12!\n\x1c\x45RR_TRADE_POSITION_NOT_FOUND\x10\x91%\x12\x1e\n\x19\x45RR_TRADE_ORDER_NOT_FOUND\x10\x92%\x12\x1d\n\x18\x45RR_TRADE_DEAL_NOT_FOUND\x10\x93%\x12\x1a\n\x15\x45RR_TRADE_SEND_FAILED\x10\x94%\x12\x1a\n\x15\x45RR_TRADE_CALC_FAILED\x10\x96%\x12!\n\x1c\x45RR_INDICATOR_UNKNOWN_SYMBOL\x10\xc1%\x12 \n\x1b\x45RR_INDICATOR_CANNOT_CREATE\x10\xc2%\x12\x1c\n\x17\x45RR_INDICATOR_NO_MEMORY\x10\xc3%\x12\x1f\n\x1a\x45RR_INDICATOR_CANNOT_APPLY\x10\xc4%\x12\x1d\n\x18\x45RR_INDICATOR_CANNOT_ADD\x10\xc5%\x12!\n\x1c\x45RR_INDICATOR_DATA_NOT_FOUND\x10\xc6%\x12\x1f\n\x1a\x45RR_INDICATOR_WRONG_HANDLE\x10\xc7%\x12#\n\x1e\x45RR_INDICATOR_WRONG_PARAMETERS\x10\xc8%\x12\x19\n\x14\x45RR_BOOKS_CANNOT_ADD\x10\xa5&\x12\x1c\n\x17\x45RR_BOOKS_CANNOT_DELETE\x10\xa6&\x12\x19\n\x14\x45RR_BOOKS_CANNOT_GET\x10\xa7&\x12\x1f\n\x1a\x45RR_BOOKS_CANNOT_SUBSCRIBE\x10\xa8&\x12\x17\n\x12\x45RR_TOO_MANY_FILES\x10\x89\'\x12\x17\n\x12\x45RR_WRONG_FILENAME\x10\x8a\'\x12\x1a\n\x15\x45RR_TOO_LONG_FILENAME\x10\x8b\'\x12\x19\n\x14\x45RR_CANNOT_OPEN_FILE\x10\x8c\'\x12\x1f\n\x1a\x45RR_FILE_CACHEBUFFER_ERROR\x10\x8d\'\x12\x1b\n\x16\x45RR_CANNOT_DELETE_FILE\x10\x8e\'\x12\x1b\n\x16\x45RR_INVALID_FILEHANDLE\x10\x8f\'\x12\x19\n\x14\x45RR_WRONG_FILEHANDLE\x10\x90\'\x12\x17\n\x12\x45RR_NO_STRING_DATE\x10\xa6\'\x12\x1a\n\x15\x45RR_WRONG_STRING_DATE\x10\xa7\'\x12\x1a\n\x15\x45RR_WRONG_STRING_TIME\x10\xa8\'\x12\x1a\n\x15\x45RR_STRING_TIME_ERROR\x10\xa9\'\x12\x1d\n\x18\x45RR_STRING_OUT_OF_MEMORY\x10\xaa\'\x12\x1c\n\x17\x45RR_INCOMPATIBLE_ARRAYS\x10\xba\'\x12\x1d\n\x18\x45RR_SMALL_ASSERIES_ARRAY\x10\xbb\'\x12\x14\n\x0f\x45RR_SMALL_ARRAY\x10\xbc\'\x12\x17\n\x12\x45RR_ZEROSIZE_ARRAY\x10\xbd\'\x12\x1b\n\x16\x45RR_NUMBER_ARRAYS_ONLY\x10\xbe\'\x12\x1d\n\x18\x45RR_OPENCL_NOT_SUPPORTED\x10\xec\'\x12\x18\n\x13\x45RR_OPENCL_INTERNAL\x10\xed\'\x12\x1e\n\x19\x45RR_OPENCL_INVALID_HANDLE\x10\xee\'\x12\x1e\n\x19\x45RR_OPENCL_CONTEXT_CREATE\x10\xef\'\x12\x1c\n\x17\x45RR_OPENCL_QUEUE_CREATE\x10\xf0\'\x12\x1e\n\x19\x45RR_OPENCL_PROGRAM_CREATE\x10\xf1\'\x12$\n\x1f\x45RR_OPENCL_TOO_LONG_KERNEL_NAME\x10\xf2\'\x12\x1d\n\x18\x45RR_OPENCL_KERNEL_CREATE\x10\xf3\'\x12$\n\x1f\x45RR_OPENCL_SET_KERNEL_PARAMETER\x10\xf4\'\x12\x17\n\x12\x45RR_OPENCL_EXECUTE\x10\xf5\'\x12!\n\x1c\x45RR_OPENCL_WRONG_BUFFER_SIZE\x10\xf6\'\x12#\n\x1e\x45RR_OPENCL_WRONG_BUFFER_OFFSET\x10\xf7\'\x12\x1d\n\x18\x45RR_OPENCL_BUFFER_CREATE\x10\xf8\'\x12 \n\x1b\x45RR_OPENCL_TOO_MANY_OBJECTS\x10\xf9\'\x12\x1c\n\x17\x45RR_OPENCL_SELECTDEVICE\x10\xfa\'\x12\x1a\n\x15\x45RR_DATABASE_INTERNAL\x10\x80(\x12 \n\x1b\x45RR_DATABASE_INVALID_HANDLE\x10\x81(\x12\"\n\x1d\x45RR_DATABASE_TOO_MANY_OBJECTS\x10\x82(\x12\x19\n\x14\x45RR_DATABASE_CONNECT\x10\x83(\x12\x19\n\x14\x45RR_DATABASE_EXECUTE\x10\x84(\x12\x19\n\x14\x45RR_DATABASE_PREPARE\x10\x85(\x12\x1e\n\x19\x45RR_DATABASE_NO_MORE_DATA\x10\x86(\x12\x16\n\x11\x45RR_DATABASE_STEP\x10\x87(\x12\x1b\n\x16\x45RR_DATABASE_NOT_READY\x10\x88(\x12!\n\x1c\x45RR_DATABASE_BIND_PARAMETERS\x10\x89(\x12#\n\x1e\x45RR_WEBREQUEST_INVALID_ADDRESS\x10\xd0(\x12\"\n\x1d\x45RR_WEBREQUEST_CONNECT_FAILED\x10\xd1(\x12\x1b\n\x16\x45RR_WEBREQUEST_TIMEOUT\x10\xd2(\x12\"\n\x1d\x45RR_WEBREQUEST_REQUEST_FAILED\x10\xd3(\x12 \n\x1b\x45RR_NETSOCKET_INVALIDHANDLE\x10\x96)\x12\"\n\x1d\x45RR_NETSOCKET_TOO_MANY_OPENED\x10\x97)\x12!\n\x1c\x45RR_NETSOCKET_CANNOT_CONNECT\x10\x98)\x12\x1b\n\x16\x45RR_NETSOCKET_IO_ERROR\x10\x99)\x12#\n\x1e\x45RR_NETSOCKET_HANDSHAKE_FAILED\x10\x9a)\x12!\n\x1c\x45RR_NETSOCKET_NO_CERTIFICATE\x10\x9b)\x12\x1a\n\x15\x45RR_NOT_CUSTOM_SYMBOL\x10\xb4)\x12!\n\x1c\x45RR_CUSTOM_SYMBOL_WRONG_NAME\x10\xb5)\x12 \n\x1b\x45RR_CUSTOM_SYMBOL_NAME_LONG\x10\xb6)\x12 \n\x1b\x45RR_CUSTOM_SYMBOL_PATH_LONG\x10\xb7)\x12\x1c\n\x17\x45RR_CUSTOM_SYMBOL_EXIST\x10\xb8)\x12\x1c\n\x17\x45RR_CUSTOM_SYMBOL_ERROR\x10\xb9)\x12\x1f\n\x1a\x45RR_CUSTOM_SYMBOL_SELECTED\x10\xba)\x12%\n ERR_CUSTOM_SYMBOL_PROPERTY_WRONG\x10\xbb)\x12&\n!ERR_CUSTOM_SYMBOL_PARAMETER_ERROR\x10\xbc)\x12%\n ERR_CUSTOM_SYMBOL_PARAMETER_LONG\x10\xbd)\x12!\n\x1c\x45RR_CUSTOM_TICKS_WRONG_ORDER\x10\xbe)\x12\x1b\n\x16\x45RR_CALENDAR_MORE_DATA\x10\x98*\x12\x19\n\x14\x45RR_CALENDAR_TIMEOUT\x10\x99*\x12\x19\n\x14\x45RR_CALENDAR_NO_DATA\x10\x9a*\x12\x17\n\x12\x45RR_DATABASE_ERROR\x10\xe1+\x12\x17\n\x12\x45RR_DATABASE_LOGIC\x10\xe2+\x12\x16\n\x11\x45RR_DATABASE_PERM\x10\xe3+\x12\x17\n\x12\x45RR_DATABASE_ABORT\x10\xe4+\x12\x16\n\x11\x45RR_DATABASE_BUSY\x10\xe5+\x12\x18\n\x13\x45RR_DATABASE_LOCKED\x10\xe6+\x12\x17\n\x12\x45RR_DATABASE_NOMEM\x10\xe7+\x12\x1a\n\x15\x45RR_DATABASE_READONLY\x10\xe8+\x12\x1b\n\x16\x45RR_DATABASE_INTERRUPT\x10\xe9+\x12\x17\n\x12\x45RR_DATABASE_IOERR\x10\xea+\x12\x19\n\x14\x45RR_DATABASE_CORRUPT\x10\xeb+\x12\x1a\n\x15\x45RR_DATABASE_NOTFOUND\x10\xec+\x12\x16\n\x11\x45RR_DATABASE_FULL\x10\xed+\x12\x1a\n\x15\x45RR_DATABASE_CANTOPEN\x10\xee+\x12\x1a\n\x15\x45RR_DATABASE_PROTOCOL\x10\xef+\x12\x17\n\x12\x45RR_DATABASE_EMPTY\x10\xf0+\x12\x18\n\x13\x45RR_DATABASE_SCHEMA\x10\xf1+\x12\x18\n\x13\x45RR_DATABASE_TOOBIG\x10\xf2+\x12\x1c\n\x17\x45RR_DATABASE_CONSTRAINT\x10\xf3+\x12\x1a\n\x15\x45RR_DATABASE_MISMATCH\x10\xf4+\x12\x18\n\x13\x45RR_DATABASE_MISUSE\x10\xf5+\x12\x17\n\x12\x45RR_DATABASE_NOLFS\x10\xf6+\x12\x16\n\x11\x45RR_DATABASE_AUTH\x10\xf7+\x12\x18\n\x13\x45RR_DATABASE_FORMAT\x10\xf8+\x12\x17\n\x12\x45RR_DATABASE_RANGE\x10\xf9+\x12\x18\n\x13\x45RR_DATABASE_NOTADB\x10\xfa+\x12\x18\n\x13\x45RR_MATRIX_INTERNAL\x10\xc4,\x12\x1f\n\x1a\x45RR_MATRIX_NOT_INITIALIZED\x10\xc5,\x12\x1c\n\x17\x45RR_MATRIX_INCONSISTENT\x10\xc6,\x12\x1c\n\x17\x45RR_MATRIX_INVALID_SIZE\x10\xc7,\x12\x1c\n\x17\x45RR_MATRIX_INVALID_TYPE\x10\xc8,\x12 \n\x1b\x45RR_MATRIX_FUNC_NOT_ALLOWED\x10\xc9,\x12\x1c\n\x17\x45RR_MATRIX_CONTAINS_NAN\x10\xca,\x12\x16\n\x11\x45RR_ONNX_INTERNAL\x10\xa8-\x12\x1d\n\x18\x45RR_ONNX_NOT_INITIALIZED\x10\xa9-\x12\x1b\n\x16\x45RR_ONNX_NOT_SUPPORTED\x10\xaa-\x12\x18\n\x13\x45RR_ONNX_RUN_FAILED\x10\xab-\x12&\n!ERR_ONNX_INVALID_PARAMETERS_COUNT\x10\xac-\x12\x1f\n\x1a\x45RR_ONNX_INVALID_PARAMETER\x10\xad-\x12$\n\x1f\x45RR_ONNX_INVALID_PARAMETER_TYPE\x10\xae-\x12$\n\x1f\x45RR_ONNX_INVALID_PARAMETER_SIZE\x10\xaf-\x12\x1d\n\x18\x45RR_ONNX_WRONG_DIMENSION\x10\xb0-\x12\x1a\n\x14\x45RR_USER_ERROR_FIRST\x10\x80\x80\x04*\xdd\n\n\x11MqlErrorTradeCode\x12\x19\n\x15TRADE_RETCODE_SUCCESS\x10\x00\x12\x1a\n\x15TRADE_RETCODE_REQUOTE\x10\x94N\x12\x19\n\x14TRADE_RETCODE_REJECT\x10\x96N\x12\x19\n\x14TRADE_RETCODE_CANCEL\x10\x97N\x12\x19\n\x14TRADE_RETCODE_PLACED\x10\x98N\x12\x17\n\x12TRADE_RETCODE_DONE\x10\x99N\x12\x1f\n\x1aTRADE_RETCODE_DONE_PARTIAL\x10\x9aN\x12\x18\n\x13TRADE_RETCODE_ERROR\x10\x9bN\x12\x1a\n\x15TRADE_RETCODE_TIMEOUT\x10\x9cN\x12\x1a\n\x15TRADE_RETCODE_INVALID\x10\x9dN\x12!\n\x1cTRADE_RETCODE_INVALID_VOLUME\x10\x9eN\x12 \n\x1bTRADE_RETCODE_INVALID_PRICE\x10\x9fN\x12 \n\x1bTRADE_RETCODE_INVALID_STOPS\x10\xa0N\x12!\n\x1cTRADE_RETCODE_TRADE_DISABLED\x10\xa1N\x12 \n\x1bTRADE_RETCODE_MARKET_CLOSED\x10\xa2N\x12\x1b\n\x16TRADE_RETCODE_NO_MONEY\x10\xa3N\x12 \n\x1bTRADE_RETCODE_PRICE_CHANGED\x10\xa4N\x12\x1c\n\x17TRADE_RETCODE_PRICE_OFF\x10\xa5N\x12%\n TRADE_RETCODE_INVALID_EXPIRATION\x10\xa6N\x12 \n\x1bTRADE_RETCODE_ORDER_CHANGED\x10\xa7N\x12$\n\x1fTRADE_RETCODE_TOO_MANY_REQUESTS\x10\xa8N\x12\x1d\n\x18TRADE_RETCODE_NO_CHANGES\x10\xa9N\x12%\n TRADE_RETCODE_SERVER_DISABLES_AT\x10\xaaN\x12%\n TRADE_RETCODE_CLIENT_DISABLES_AT\x10\xabN\x12\x19\n\x14TRADE_RETCODE_LOCKED\x10\xacN\x12\x19\n\x14TRADE_RETCODE_FROZEN\x10\xadN\x12\x1f\n\x1aTRADE_RETCODE_INVALID_FILL\x10\xaeN\x12\x1d\n\x18TRADE_RETCODE_CONNECTION\x10\xafN\x12\x1c\n\x17TRADE_RETCODE_ONLY_REAL\x10\xb0N\x12\x1f\n\x1aTRADE_RETCODE_LIMIT_ORDERS\x10\xb1N\x12\x1f\n\x1aTRADE_RETCODE_LIMIT_VOLUME\x10\xb2N\x12 \n\x1bTRADE_RETCODE_INVALID_ORDER\x10\xb3N\x12\"\n\x1dTRADE_RETCODE_POSITION_CLOSED\x10\xb4N\x12\'\n\"TRADE_RETCODE_INVALID_CLOSE_VOLUME\x10\xb6N\x12$\n\x1fTRADE_RETCODE_CLOSE_ORDER_EXIST\x10\xb7N\x12\"\n\x1dTRADE_RETCODE_LIMIT_POSITIONS\x10\xb8N\x12 \n\x1bTRADE_RETCODE_REJECT_CANCEL\x10\xb9N\x12\x1c\n\x17TRADE_RETCODE_LONG_ONLY\x10\xbaN\x12\x1d\n\x18TRADE_RETCODE_SHORT_ONLY\x10\xbbN\x12\x1d\n\x18TRADE_RETCODE_CLOSE_ONLY\x10\xbcN\x12\x1d\n\x18TRADE_RETCODE_FIFO_CLOSE\x10\xbdN\x12#\n\x1eTRADE_RETCODE_HEDGE_PROHIBITED\x10\xbeNB3Z1git.mtapi.io/root/mrpc-proto.git/mt5/libraries/gob\x06proto3')
|
|
17
|
+
|
|
18
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
19
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mrpc_mt5_error_pb2', globals())
|
|
20
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
DESCRIPTOR._serialized_options = b'Z1git.mtapi.io/root/mrpc-proto.git/mt5/libraries/go'
|
|
24
|
+
_ERRORTYPE._serialized_start=663
|
|
25
|
+
_ERRORTYPE._serialized_end=921
|
|
26
|
+
_LOGTYPE._serialized_start=923
|
|
27
|
+
_LOGTYPE._serialized_end=964
|
|
28
|
+
_MQLERRORCODE._serialized_start=967
|
|
29
|
+
_MQLERRORCODE._serialized_end=7338
|
|
30
|
+
_MQLERRORTRADECODE._serialized_start=7341
|
|
31
|
+
_MQLERRORTRADECODE._serialized_end=8714
|
|
32
|
+
_ERROR._serialized_start=39
|
|
33
|
+
_ERROR._serialized_end=489
|
|
34
|
+
_ERRORPROPERTY._serialized_start=491
|
|
35
|
+
_ERRORPROPERTY._serialized_end=554
|
|
36
|
+
_LOGFILEINFO._serialized_start=556
|
|
37
|
+
_LOGFILEINFO._serialized_end=660
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: mt5-term-api-account-helper.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
16
|
+
import mrpc_mt5_error_pb2 as mrpc__mt5__error__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!mt5-term-api-account-helper.proto\x12\x0cmt5_term_api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14mrpc-mt5-error.proto\"\xf1\x02\n\x17PositionsHistoryRequest\x12\x44\n\tsort_type\x18\x01 \x01(\x0e\x32\x31.mt5_term_api.AH_ENUM_POSITIONS_HISTORY_SORT_TYPE\x12@\n\x17position_open_time_from\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12>\n\x15position_open_time_to\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x18\n\x0bpage_number\x18\x04 \x01(\x05H\x02\x88\x01\x01\x12\x1b\n\x0eitems_per_page\x18\x05 \x01(\x05H\x03\x88\x01\x01\x42\x1a\n\x18_position_open_time_fromB\x18\n\x16_position_open_time_toB\x0e\n\x0c_page_numberB\x11\n\x0f_items_per_page\"}\n\x15PositionsHistoryReply\x12\x32\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".mt5_term_api.PositionsHistoryDataH\x00\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x13.mt5_term_api.ErrorH\x00\x42\n\n\x08response\"T\n\x14PositionsHistoryData\x12<\n\x11history_positions\x18\x01 \x03(\x0b\x32!.mt5_term_api.PositionHistoryInfo\"\xca\x03\n\x13PositionHistoryInfo\x12\r\n\x05index\x18\x01 \x01(\x05\x12\x17\n\x0fposition_ticket\x18\x02 \x01(\x04\x12\x46\n\norder_type\x18\x03 \x01(\x0e\x32\x32.mt5_term_api.AH_ENUM_POSITIONS_HISTORY_ORDER_TYPE\x12-\n\topen_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06volume\x18\x06 \x01(\x01\x12\x12\n\nopen_price\x18\x07 \x01(\x01\x12\x13\n\x0b\x63lose_price\x18\x08 \x01(\x01\x12\x11\n\tstop_loss\x18\t \x01(\x01\x12\x13\n\x0btake_profit\x18\n \x01(\x01\x12\x14\n\x0cmarket_value\x18\x0b \x01(\x01\x12\x12\n\ncommission\x18\x0c \x01(\x01\x12\x0b\n\x03\x66\x65\x65\x18\r \x01(\x01\x12\x0e\n\x06profit\x18\x0e \x01(\x01\x12\x0c\n\x04swap\x18\x0f \x01(\x01\x12\x0f\n\x07\x63omment\x18\x10 \x01(\t\x12\x0e\n\x06symbol\x18\x11 \x01(\t\x12\r\n\x05magic\x18\x12 \x01(\x03\"0\n\x18TickValueWithSizeRequest\x12\x14\n\x0csymbol_names\x18\x01 \x03(\t\"o\n\x16TickValueWithSizeReply\x12\x31\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32#.mt5_term_api.TickValueWithSizeData\x12\"\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x13.mt5_term_api.Error\"U\n\x15TickValueWithSizeData\x12<\n\x16symbol_tick_size_infos\x18\x01 \x03(\x0b\x32\x1c.mt5_term_api.TickSizeSymbol\"\xb1\x01\n\x0eTickSizeSymbol\x12\r\n\x05Index\x18\x01 \x01(\x05\x12\x0c\n\x04Name\x18\x02 \x01(\t\x12\x16\n\x0eTradeTickValue\x18\x03 \x01(\x01\x12\x1c\n\x14TradeTickValueProfit\x18\x04 \x01(\x01\x12\x1a\n\x12TradeTickValueLoss\x18\x05 \x01(\x01\x12\x15\n\rTradeTickSize\x18\x06 \x01(\x01\x12\x19\n\x11TradeContractSize\x18\x07 \x01(\x01\"\x1c\n\x1aOpenedOrdersTicketsRequest\"\x83\x01\n\x18OpenedOrdersTicketsReply\x12\x35\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32%.mt5_term_api.OpenedOrdersTicketsDataH\x00\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x13.mt5_term_api.ErrorH\x00\x42\n\n\x08response\"Y\n\x17OpenedOrdersTicketsData\x12\x1d\n\x15opened_orders_tickets\x18\x01 \x03(\x03\x12\x1f\n\x17opened_position_tickets\x18\x02 \x03(\x03\"\\\n\x13OpenedOrdersRequest\x12\x45\n\rinputSortMode\x18\x01 \x01(\x0e\x32..mt5_term_api.BMT5_ENUM_OPENED_ORDER_SORT_TYPE\"u\n\x11OpenedOrdersReply\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.mt5_term_api.OpenedOrdersDataH\x00\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x13.mt5_term_api.ErrorH\x00\x42\n\n\x08response\"|\n\x10OpenedOrdersData\x12\x34\n\ropened_orders\x18\x01 \x03(\x0b\x32\x1d.mt5_term_api.OpenedOrderInfo\x12\x32\n\x0eposition_infos\x18\x02 \x03(\x0b\x32\x1a.mt5_term_api.PositionInfo\"\x95\x04\n\x0cPositionInfo\x12\r\n\x05index\x18\x01 \x01(\r\x12\x0e\n\x06ticket\x18\x02 \x01(\x04\x12-\n\topen_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06volume\x18\x04 \x01(\x01\x12\x12\n\nprice_open\x18\x05 \x01(\x01\x12\x11\n\tstop_loss\x18\x06 \x01(\x01\x12\x13\n\x0btake_profit\x18\x07 \x01(\x01\x12\x15\n\rprice_current\x18\x08 \x01(\x01\x12\x0c\n\x04swap\x18\t \x01(\x01\x12\x0e\n\x06profit\x18\n \x01(\x01\x12\x34\n\x10last_update_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x04type\x18\x0c \x01(\x0e\x32%.mt5_term_api.BMT5_ENUM_POSITION_TYPE\x12\x14\n\x0cmagic_number\x18\r \x01(\x03\x12\x12\n\nidentifier\x18\x0e \x01(\x03\x12\x37\n\x06reason\x18\x0f \x01(\x0e\x32\'.mt5_term_api.BMT5_ENUM_POSITION_REASON\x12\x0e\n\x06symbol\x18\x10 \x01(\t\x12\x0f\n\x07\x63omment\x18\x11 \x01(\t\x12\x13\n\x0b\x65xternal_id\x18\x12 \x01(\t\x12\x1b\n\x13position_commission\x18\x13 \x01(\x01\x12\x15\n\raccount_login\x18\x14 \x01(\x03\"\xdf\x05\n\x0fOpenedOrderInfo\x12\r\n\x05index\x18\x01 \x01(\r\x12\x0e\n\x06ticket\x18\x02 \x01(\x04\x12\x15\n\rprice_current\x18\x03 \x01(\x01\x12\x12\n\nprice_open\x18\x04 \x01(\x01\x12\x12\n\nstop_limit\x18\x05 \x01(\x01\x12\x11\n\tstop_loss\x18\x06 \x01(\x01\x12\x13\n\x0btake_profit\x18\x07 \x01(\x01\x12\x16\n\x0evolume_current\x18\x08 \x01(\x01\x12\x16\n\x0evolume_initial\x18\t \x01(\x01\x12\x14\n\x0cmagic_number\x18\n \x01(\x03\x12\x0e\n\x06reason\x18\x0b \x01(\x05\x12\x30\n\x04type\x18\x0c \x01(\x0e\x32\".mt5_term_api.BMT5_ENUM_ORDER_TYPE\x12\x32\n\x05state\x18\r \x01(\x0e\x32#.mt5_term_api.BMT5_ENUM_ORDER_STATE\x12\x33\n\x0ftime_expiration\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ntime_setup\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\ttime_done\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x0ctype_filling\x18\x11 \x01(\x0e\x32*.mt5_term_api.BMT5_ENUM_ORDER_TYPE_FILLING\x12:\n\ttype_time\x18\x12 \x01(\x0e\x32\'.mt5_term_api.BMT5_ENUM_ORDER_TYPE_TIME\x12\x13\n\x0bposition_id\x18\x13 \x01(\x03\x12\x16\n\x0eposition_by_id\x18\x14 \x01(\x03\x12\x0e\n\x06symbol\x18\x15 \x01(\t\x12\x13\n\x0b\x65xternal_id\x18\x16 \x01(\t\x12\x0f\n\x07\x63omment\x18\x17 \x01(\t\x12\x15\n\raccount_login\x18\x18 \x01(\x03\"\xe3\x01\n\x13OrderHistoryRequest\x12-\n\tinputFrom\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07inputTo\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\rinputSortMode\x18\x03 \x01(\x0e\x32/.mt5_term_api.BMT5_ENUM_ORDER_HISTORY_SORT_TYPE\x12\x12\n\npageNumber\x18\x04 \x01(\x05\x12\x14\n\x0citemsPerPage\x18\x05 \x01(\x05\"v\n\x11OrderHistoryReply\x12/\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1f.mt5_term_api.OrdersHistoryDataH\x00\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x13.mt5_term_api.ErrorH\x00\x42\n\n\x08response\"\x82\x01\n\x11OrdersHistoryData\x12\x12\n\narrayTotal\x18\x01 \x01(\x05\x12\x12\n\npageNumber\x18\x02 \x01(\x05\x12\x14\n\x0citemsPerPage\x18\x03 \x01(\x05\x12/\n\x0chistory_data\x18\x04 \x03(\x0b\x32\x19.mt5_term_api.HistoryData\"\x88\x01\n\x0bHistoryData\x12\r\n\x05index\x18\x01 \x01(\r\x12\x35\n\rhistory_order\x18\x02 \x01(\x0b\x32\x1e.mt5_term_api.OrderHistoryData\x12\x33\n\x0chistory_deal\x18\x03 \x01(\x0b\x32\x1d.mt5_term_api.DealHistoryData\"\xd6\x03\n\x0f\x44\x65\x61lHistoryData\x12\x0e\n\x06ticket\x18\x01 \x01(\x04\x12\x0e\n\x06profit\x18\x02 \x01(\x01\x12\x12\n\ncommission\x18\x03 \x01(\x01\x12\x0b\n\x03\x66\x65\x65\x18\x04 \x01(\x01\x12\r\n\x05price\x18\x05 \x01(\x01\x12\x11\n\tstop_loss\x18\x06 \x01(\x01\x12\x13\n\x0btake_profit\x18\x07 \x01(\x01\x12\x0c\n\x04swap\x18\x08 \x01(\x01\x12\x0e\n\x06volume\x18\t \x01(\x01\x12;\n\nentry_type\x18\n \x01(\x0e\x32\'.mt5_term_api.BMT5_ENUM_DEAL_ENTRY_TYPE\x12(\n\x04time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x04type\x18\x0c \x01(\x0e\x32!.mt5_term_api.BMT5_ENUM_DEAL_TYPE\x12\x33\n\x06reason\x18\r \x01(\x0e\x32#.mt5_term_api.BMT5_ENUM_DEAL_REASON\x12\x13\n\x0bposition_id\x18\x0e \x01(\x04\x12\x0f\n\x07\x63omment\x18\x0f \x01(\t\x12\x0e\n\x06symbol\x18\x10 \x01(\t\x12\x13\n\x0b\x65xternal_id\x18\x11 \x01(\t\x12\x15\n\raccount_login\x18\x12 \x01(\x03\"\xa9\x05\n\x10OrderHistoryData\x12\x0e\n\x06ticket\x18\x01 \x01(\x04\x12.\n\nsetup_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tdone_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x05state\x18\x04 \x01(\x0e\x32#.mt5_term_api.BMT5_ENUM_ORDER_STATE\x12\x15\n\rprice_current\x18\x05 \x01(\x01\x12\x12\n\nprice_open\x18\x06 \x01(\x01\x12\x12\n\nstop_limit\x18\x07 \x01(\x01\x12\x11\n\tstop_loss\x18\x08 \x01(\x01\x12\x13\n\x0btake_profit\x18\t \x01(\x01\x12\x16\n\x0evolume_current\x18\n \x01(\x01\x12\x16\n\x0evolume_initial\x18\x0b \x01(\x01\x12\x14\n\x0cmagic_number\x18\x0c \x01(\x03\x12\x30\n\x04type\x18\r \x01(\x0e\x32\".mt5_term_api.BMT5_ENUM_ORDER_TYPE\x12\x33\n\x0ftime_expiration\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x0ctype_filling\x18\x0f \x01(\x0e\x32*.mt5_term_api.BMT5_ENUM_ORDER_TYPE_FILLING\x12:\n\ttype_time\x18\x10 \x01(\x0e\x32\'.mt5_term_api.BMT5_ENUM_ORDER_TYPE_TIME\x12\x13\n\x0bposition_id\x18\x11 \x01(\x04\x12\x0e\n\x06symbol\x18\x12 \x01(\t\x12\x13\n\x0b\x65xternal_id\x18\x13 \x01(\t\x12\x0f\n\x07\x63omment\x18\x14 \x01(\t\x12\x15\n\raccount_login\x18\x15 \x01(\x03\"\x17\n\x15\x41\x63\x63ountSummaryRequest\"y\n\x13\x41\x63\x63ountSummaryReply\x12\x30\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32 .mt5_term_api.AccountSummaryDataH\x00\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x13.mt5_term_api.ErrorH\x00\x42\n\n\x08response\"\x86\x03\n\x12\x41\x63\x63ountSummaryData\x12\x15\n\raccount_login\x18\x01 \x01(\x03\x12\x17\n\x0f\x61\x63\x63ount_balance\x18\x02 \x01(\x01\x12\x16\n\x0e\x61\x63\x63ount_equity\x18\x03 \x01(\x01\x12\x19\n\x11\x61\x63\x63ount_user_name\x18\x04 \x01(\t\x12\x18\n\x10\x61\x63\x63ount_leverage\x18\x05 \x01(\x03\x12\x42\n\x12\x61\x63\x63ount_trade_mode\x18\x06 \x01(\x0e\x32&.mt5_term_api.MrpcEnumAccountTradeMode\x12\x1c\n\x14\x61\x63\x63ount_company_name\x18\x07 \x01(\t\x12\x18\n\x10\x61\x63\x63ount_currency\x18\x08 \x01(\t\x12/\n\x0bserver_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n&utc_timezone_server_time_shift_minutes\x18\n \x01(\x03\x12\x16\n\x0e\x61\x63\x63ount_credit\x18\x0b \x01(\x01\"\xf2\x01\n\x17SymbolParamsManyRequest\x12\x18\n\x0bsymbol_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x45\n\tsort_type\x18\x02 \x01(\x0e\x32-.mt5_term_api.AH_SYMBOL_PARAMS_MANY_SORT_TYPEH\x01\x88\x01\x01\x12\x18\n\x0bpage_number\x18\x03 \x01(\x05H\x02\x88\x01\x01\x12\x1b\n\x0eitems_per_page\x18\x04 \x01(\x05H\x03\x88\x01\x01\x42\x0e\n\x0c_symbol_nameB\x0c\n\n_sort_typeB\x0e\n\x0c_page_numberB\x11\n\x0f_items_per_page\"}\n\x15SymbolParamsManyReply\x12\x32\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".mt5_term_api.SymbolParamsManyDataH\x00\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x13.mt5_term_api.ErrorH\x00\x42\n\n\x08response\"\xbd\x01\n\x14SymbolParamsManyData\x12\x34\n\x0csymbol_infos\x18\x01 \x03(\x0b\x32\x1e.mt5_term_api.SymbolParameters\x12\x15\n\rsymbols_total\x18\x02 \x01(\x05\x12\x18\n\x0bpage_number\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x1b\n\x0eitems_per_page\x18\x04 \x01(\x05H\x01\x88\x01\x01\x42\x0e\n\x0c_page_numberB\x11\n\x0f_items_per_page\"\xbb\x18\n\x10SymbolParameters\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x62id\x18\x02 \x01(\x01\x12\x10\n\x08\x62id_high\x18\x03 \x01(\x01\x12\x0f\n\x07\x62id_low\x18\x04 \x01(\x01\x12\x0b\n\x03\x61sk\x18\x05 \x01(\x01\x12\x10\n\x08\x61sk_high\x18\x06 \x01(\x01\x12\x0f\n\x07\x61sk_low\x18\x07 \x01(\x01\x12\x0c\n\x04last\x18\x08 \x01(\x01\x12\x11\n\tlast_high\x18\t \x01(\x01\x12\x10\n\x08last_low\x18\n \x01(\x01\x12\x13\n\x0bvolume_real\x18\x0b \x01(\x01\x12\x18\n\x10volume_high_real\x18\x0c \x01(\x01\x12\x17\n\x0fvolume_low_real\x18\r \x01(\x01\x12\x15\n\roption_strike\x18\x0e \x01(\x01\x12\r\n\x05point\x18\x0f \x01(\x01\x12\x18\n\x10trade_tick_value\x18\x10 \x01(\x01\x12\x1f\n\x17trade_tick_value_profit\x18\x11 \x01(\x01\x12\x1d\n\x15trade_tick_value_loss\x18\x12 \x01(\x01\x12\x17\n\x0ftrade_tick_size\x18\x13 \x01(\x01\x12\x1b\n\x13trade_contract_size\x18\x14 \x01(\x01\x12\x1e\n\x16trade_accrued_interest\x18\x15 \x01(\x01\x12\x18\n\x10trade_face_value\x18\x16 \x01(\x01\x12\x1c\n\x14trade_liquidity_rate\x18\x17 \x01(\x01\x12\x12\n\nvolume_min\x18\x18 \x01(\x01\x12\x12\n\nvolume_max\x18\x19 \x01(\x01\x12\x13\n\x0bvolume_step\x18\x1a \x01(\x01\x12\x14\n\x0cvolume_limit\x18\x1b \x01(\x01\x12\x11\n\tswap_long\x18\x1c \x01(\x01\x12\x12\n\nswap_short\x18\x1d \x01(\x01\x12\x13\n\x0bswap_sunday\x18\x1e \x01(\x01\x12\x13\n\x0bswap_monday\x18\x1f \x01(\x01\x12\x14\n\x0cswap_tuesday\x18 \x01(\x01\x12\x16\n\x0eswap_wednesday\x18! \x01(\x01\x12\x15\n\rswap_thursday\x18\" \x01(\x01\x12\x13\n\x0bswap_friday\x18# \x01(\x01\x12\x15\n\rswap_saturday\x18$ \x01(\x01\x12\x16\n\x0emargin_initial\x18% \x01(\x01\x12\x1a\n\x12margin_maintenance\x18& \x01(\x01\x12\x16\n\x0esession_volume\x18\' \x01(\x01\x12\x18\n\x10session_turnover\x18( \x01(\x01\x12\x18\n\x10session_interest\x18) \x01(\x01\x12!\n\x19session_buy_orders_volume\x18* \x01(\x01\x12\"\n\x1asession_sell_orders_volume\x18+ \x01(\x01\x12\x14\n\x0csession_open\x18, \x01(\x01\x12\x15\n\rsession_close\x18- \x01(\x01\x12\x12\n\nsession_aw\x18. \x01(\x01\x12 \n\x18session_price_settlement\x18/ \x01(\x01\x12\x1f\n\x17session_price_limit_min\x18\x30 \x01(\x01\x12\x1f\n\x17session_price_limit_max\x18\x31 \x01(\x01\x12\x15\n\rmargin_hedged\x18\x32 \x01(\x01\x12\x14\n\x0cprice_change\x18\x33 \x01(\x01\x12\x18\n\x10price_volatility\x18\x34 \x01(\x01\x12\x19\n\x11price_theoretical\x18\x35 \x01(\x01\x12\x13\n\x0bprice_delta\x18\x36 \x01(\x01\x12\x13\n\x0bprice_theta\x18\x37 \x01(\x01\x12\x13\n\x0bprice_gamma\x18\x38 \x01(\x01\x12\x12\n\nprice_vega\x18\x39 \x01(\x01\x12\x11\n\tprice_rho\x18: \x01(\x01\x12\x13\n\x0bprice_omega\x18; \x01(\x01\x12\x19\n\x11price_sensitivity\x18< \x01(\x01\x12\x35\n\x06sector\x18= \x01(\x0e\x32%.mt5_term_api.BMT5_ENUM_SYMBOL_SECTOR\x12\x39\n\x08industry\x18> \x01(\x0e\x32\'.mt5_term_api.BMT5_ENUM_SYMBOL_INDUSTRY\x12\x0e\n\x06\x63ustom\x18? \x01(\x08\x12\x18\n\x10\x62\x61\x63kground_color\x18@ \x01(\t\x12=\n\nchart_mode\x18\x41 \x01(\x0e\x32).mt5_term_api.BMT5_ENUM_SYMBOL_CHART_MODE\x12\r\n\x05\x65xist\x18\x42 \x01(\x08\x12\x0e\n\x06select\x18\x43 \x01(\x08\x12\x1a\n\x12subscription_delay\x18\x44 \x01(\x05\x12\x0f\n\x07visible\x18\x45 \x01(\x08\x12\x15\n\rsession_deals\x18\x46 \x01(\x03\x12\x1a\n\x12session_buy_orders\x18G \x01(\x03\x12\x1b\n\x13session_sell_orders\x18H \x01(\x03\x12\x0e\n\x06volume\x18I \x01(\x03\x12\x13\n\x0bvolume_high\x18J \x01(\x03\x12\x12\n\nvolume_low\x18K \x01(\x03\x12(\n\x04time\x18L \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08time_msc\x18M \x01(\x03\x12\x0e\n\x06\x64igits\x18N \x01(\x05\x12\x14\n\x0cspread_float\x18O \x01(\x08\x12\x0e\n\x06spread\x18P \x01(\x05\x12\x18\n\x10ticks_book_depth\x18Q \x01(\x05\x12\x41\n\x0ftrade_calc_mode\x18R \x01(\x0e\x32(.mt5_term_api.BMT5_ENUM_SYMBOL_CALC_MODE\x12=\n\ntrade_mode\x18S \x01(\x0e\x32).mt5_term_api.BMT5_ENUM_SYMBOL_TRADE_MODE\x12.\n\nstart_time\x18T \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18U \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11trade_stops_level\x18V \x01(\x05\x12\x1a\n\x12trade_freeze_level\x18W \x01(\x05\x12\x46\n\x0etrade_exe_mode\x18X \x01(\x0e\x32..mt5_term_api.BMT5_ENUM_SYMBOL_TRADE_EXECUTION\x12;\n\tswap_mode\x18Y \x01(\x0e\x32(.mt5_term_api.BMT5_ENUM_SYMBOL_SWAP_MODE\x12@\n\x13swap_rollover_3days\x18Z \x01(\x0e\x32#.mt5_term_api.BMT5_ENUM_DAY_OF_WEEK\x12\x1d\n\x15margin_hedged_use_leg\x18[ \x01(\x08\x12\x17\n\x0f\x65xpiration_mode\x18\\ \x01(\x05\x12@\n\x0c\x66illing_mode\x18] \x03(\x0e\x32*.mt5_term_api.BMT5_ENUM_ORDER_TYPE_FILLING\x12\x36\n\norder_mode\x18^ \x01(\x0e\x32\".mt5_term_api.BMT5_ENUM_ORDER_TYPE\x12\x45\n\x0eorder_gtc_mode\x18_ \x01(\x0e\x32-.mt5_term_api.BMT5_ENUM_SYMBOL_ORDER_GTC_MODE\x12?\n\x0boption_mode\x18` \x01(\x0e\x32*.mt5_term_api.BMT5_ENUM_SYMBOL_OPTION_MODE\x12\x41\n\x0coption_right\x18\x61 \x01(\x0e\x32+.mt5_term_api.BMT5_ENUM_SYMBOL_OPTION_RIGHT\x12\r\n\x05\x62\x61sis\x18\x62 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x63 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x64 \x01(\t\x12\x13\n\x0bsector_name\x18\x65 \x01(\t\x12\x15\n\rindustry_name\x18\x66 \x01(\t\x12\x15\n\rcurrency_base\x18g \x01(\t\x12\x17\n\x0f\x63urrency_profit\x18h \x01(\t\x12\x17\n\x0f\x63urrency_margin\x18i \x01(\t\x12\x0c\n\x04\x62\x61nk\x18j \x01(\t\x12\x17\n\x0fsym_description\x18k \x01(\t\x12\x10\n\x08\x65xchange\x18l \x01(\t\x12\x0f\n\x07\x66ormula\x18m \x01(\t\x12\x0c\n\x04isin\x18n \x01(\t\x12\x0c\n\x04page\x18o \x01(\t\x12\x0c\n\x04path\x18p \x01(\t*\x9d\x01\n#AH_ENUM_POSITIONS_HISTORY_SORT_TYPE\x12\x1d\n\x19\x41H_POSITION_OPEN_TIME_ASC\x10\x00\x12\x1e\n\x1a\x41H_POSITION_OPEN_TIME_DESC\x10\x01\x12\x1a\n\x16\x41H_POSITION_TICKET_ASC\x10\x02\x12\x1b\n\x17\x41H_POSITION_TICKET_DESC\x10\x03*\xaa\x02\n$AH_ENUM_POSITIONS_HISTORY_ORDER_TYPE\x12\x15\n\x11\x41H_ORDER_TYPE_BUY\x10\x00\x12\x16\n\x12\x41H_ORDER_TYPE_SELL\x10\x01\x12\x1b\n\x17\x41H_ORDER_TYPE_BUY_LIMIT\x10\x02\x12\x1c\n\x18\x41H_ORDER_TYPE_SELL_LIMIT\x10\x03\x12\x1a\n\x16\x41H_ORDER_TYPE_BUY_STOP\x10\x04\x12\x1b\n\x17\x41H_ORDER_TYPE_SELL_STOP\x10\x05\x12 \n\x1c\x41H_ORDER_TYPE_BUY_STOP_LIMIT\x10\x06\x12!\n\x1d\x41H_ORDER_TYPE_SELL_STOP_LIMIT\x10\x07\x12\x1a\n\x16\x41H_ORDER_TYPE_CLOSE_BY\x10\x08*\xe4\x01\n BMT5_ENUM_OPENED_ORDER_SORT_TYPE\x12+\n\'BMT5_OPENED_ORDER_SORT_BY_OPEN_TIME_ASC\x10\x00\x12,\n(BMT5_OPENED_ORDER_SORT_BY_OPEN_TIME_DESC\x10\x01\x12\x31\n-BMT5_OPENED_ORDER_SORT_BY_ORDER_TICKET_ID_ASC\x10\x02\x12\x32\n.BMT5_OPENED_ORDER_SORT_BY_ORDER_TICKET_ID_DESC\x10\x03*R\n\x17\x42MT5_ENUM_POSITION_TYPE\x12\x1a\n\x16\x42MT5_POSITION_TYPE_BUY\x10\x00\x12\x1b\n\x17\x42MT5_POSITION_TYPE_SELL\x10\x01*\xdb\x01\n\x19\x42MT5_ENUM_POSITION_REASON\x12\x1f\n\x1b\x42MT5_POSITION_REASON_CLIENT\x10\x00\x12\x1f\n\x1b\x42MT5_POSITION_REASON_MOBILE\x10\x01\x12\x1c\n\x18\x42MT5_POSITION_REASON_WEB\x10\x02\x12\x1f\n\x1b\x42MT5_POSITION_REASON_EXPERT\x10\x03\x12\x13\n\x0fORDER_REASON_SL\x10\x04\x12\x13\n\x0fORDER_REASON_TP\x10\x05\x12\x13\n\x0fORDER_REASON_SO\x10\x06*\x8f\x01\n\x19\x42MT5_ENUM_ORDER_TYPE_TIME\x12\x17\n\x13\x42MT5_ORDER_TIME_GTC\x10\x00\x12\x17\n\x13\x42MT5_ORDER_TIME_DAY\x10\x01\x12\x1d\n\x19\x42MT5_ORDER_TIME_SPECIFIED\x10\x02\x12!\n\x1d\x42MT5_ORDER_TIME_SPECIFIED_DAY\x10\x03*\x91\x01\n\x1c\x42MT5_ENUM_ORDER_TYPE_FILLING\x12\x1a\n\x16\x42MT5_ORDER_FILLING_FOK\x10\x00\x12\x1a\n\x16\x42MT5_ORDER_FILLING_IOC\x10\x01\x12\x1a\n\x16\x42MT5_ORDER_FILLING_BOC\x10\x03\x12\x1d\n\x19\x42MT5_ORDER_FILLING_RETURN\x10\x02*\xac\x02\n\x14\x42MT5_ENUM_ORDER_TYPE\x12\x17\n\x13\x42MT5_ORDER_TYPE_BUY\x10\x00\x12\x18\n\x14\x42MT5_ORDER_TYPE_SELL\x10\x01\x12\x1d\n\x19\x42MT5_ORDER_TYPE_BUY_LIMIT\x10\x02\x12\x1e\n\x1a\x42MT5_ORDER_TYPE_SELL_LIMIT\x10\x03\x12\x1c\n\x18\x42MT5_ORDER_TYPE_BUY_STOP\x10\x04\x12\x1d\n\x19\x42MT5_ORDER_TYPE_SELL_STOP\x10\x05\x12\"\n\x1e\x42MT5_ORDER_TYPE_BUY_STOP_LIMIT\x10\x06\x12#\n\x1f\x42MT5_ORDER_TYPE_SELL_STOP_LIMIT\x10\x07\x12\x1c\n\x18\x42MT5_ORDER_TYPE_CLOSE_BY\x10\x08*\xd3\x02\n\x15\x42MT5_ENUM_DEAL_REASON\x12\x1b\n\x17\x42MT5_DEAL_REASON_CLIENT\x10\x00\x12\x1b\n\x17\x42MT5_DEAL_REASON_MOBILE\x10\x01\x12\x18\n\x14\x42MT5_DEAL_REASON_WEB\x10\x02\x12\x1b\n\x17\x42MT5_DEAL_REASON_EXPERT\x10\x03\x12\x17\n\x13\x42MT5_DEAL_REASON_SL\x10\x04\x12\x17\n\x13\x42MT5_DEAL_REASON_TP\x10\x05\x12\x17\n\x13\x42MT5_DEAL_REASON_SO\x10\x06\x12\x1d\n\x19\x42MT5_DEAL_REASON_ROLLOVER\x10\x07\x12\x1c\n\x18\x42MT5_DEAL_REASON_VMARGIN\x10\x08\x12\x1a\n\x16\x42MT5_DEAL_REASON_SPLIT\x10\t\x12%\n!BMT5_DEAL_REASON_CORPORATE_ACTION\x10\n*\xbf\x04\n\x13\x42MT5_ENUM_DEAL_TYPE\x12\x16\n\x12\x42MT5_DEAL_TYPE_BUY\x10\x00\x12\x17\n\x13\x42MT5_DEAL_TYPE_SELL\x10\x01\x12\x1a\n\x16\x42MT5_DEAL_TYPE_BALANCE\x10\x02\x12\x19\n\x15\x42MT5_DEAL_TYPE_CREDIT\x10\x03\x12\x19\n\x15\x42MT5_DEAL_TYPE_CHARGE\x10\x04\x12\x1d\n\x19\x42MT5_DEAL_TYPE_CORRECTION\x10\x05\x12\x18\n\x14\x42MT5_DEAL_TYPE_BONUS\x10\x06\x12\x1d\n\x19\x42MT5_DEAL_TYPE_COMMISSION\x10\x07\x12#\n\x1f\x42MT5_DEAL_TYPE_COMMISSION_DAILY\x10\x08\x12%\n!BMT5_DEAL_TYPE_COMMISSION_MONTHLY\x10\t\x12)\n%BMT5_DEAL_TYPE_COMMISSION_AGENT_DAILY\x10\n\x12+\n\'BMT5_DEAL_TYPE_COMMISSION_AGENT_MONTHLY\x10\x0b\x12\x1b\n\x17\x42MT5_DEAL_TYPE_INTEREST\x10\x0c\x12\x1f\n\x1b\x42MT5_DEAL_TYPE_BUY_CANCELED\x10\r\x12 \n\x1c\x42MT5_DEAL_TYPE_SELL_CANCELED\x10\x0e\x12\x16\n\x12\x42MT5_DEAL_DIVIDEND\x10\x0f\x12\x1e\n\x1a\x42MT5_DEAL_DIVIDEND_FRANKED\x10\x10\x12\x11\n\rBMT5_DEAL_TAX\x10\x11*\x83\x01\n\x19\x42MT5_ENUM_DEAL_ENTRY_TYPE\x12\x16\n\x12\x42MT5_DEAL_ENTRY_IN\x10\x00\x12\x17\n\x13\x42MT5_DEAL_ENTRY_OUT\x10\x01\x12\x19\n\x15\x42MT5_DEAL_ENTRY_INOUT\x10\x02\x12\x1a\n\x16\x42MT5_DEAL_ENTRY_OUT_BY\x10\x03*\xf4\x01\n!BMT5_ENUM_ORDER_HISTORY_SORT_TYPE\x12\x1e\n\x1a\x42MT5_SORT_BY_OPEN_TIME_ASC\x10\x00\x12\x1f\n\x1b\x42MT5_SORT_BY_OPEN_TIME_DESC\x10\x01\x12\x1f\n\x1b\x42MT5_SORT_BY_CLOSE_TIME_ASC\x10\x02\x12 \n\x1c\x42MT5_SORT_BY_CLOSE_TIME_DESC\x10\x03\x12$\n BMT5_SORT_BY_ORDER_TICKET_ID_ASC\x10\x04\x12%\n!BMT5_SORT_BY_ORDER_TICKET_ID_DESC\x10\x05*\xd5\x02\n\x15\x42MT5_ENUM_ORDER_STATE\x12\x1c\n\x18\x42MT5_ORDER_STATE_STARTED\x10\x00\x12\x1b\n\x17\x42MT5_ORDER_STATE_PLACED\x10\x01\x12\x1d\n\x19\x42MT5_ORDER_STATE_CANCELED\x10\x02\x12\x1c\n\x18\x42MT5_ORDER_STATE_PARTIAL\x10\x03\x12\x1b\n\x17\x42MT5_ORDER_STATE_FILLED\x10\x04\x12\x1d\n\x19\x42MT5_ORDER_STATE_REJECTED\x10\x05\x12\x1c\n\x18\x42MT5_ORDER_STATE_EXPIRED\x10\x06\x12 \n\x1c\x42MT5_ORDER_STATE_REQUEST_ADD\x10\x07\x12#\n\x1f\x42MT5_ORDER_STATE_REQUEST_MODIFY\x10\x08\x12#\n\x1f\x42MT5_ORDER_STATE_REQUEST_CANCEL\x10\t*\x83\x01\n\x18MrpcEnumAccountTradeMode\x12 \n\x1cMRPC_ACCOUNT_TRADE_MODE_DEMO\x10\x00\x12#\n\x1fMRPC_ACCOUNT_TRADE_MODE_CONTEST\x10\x01\x12 \n\x1cMRPC_ACCOUNT_TRADE_MODE_REAL\x10\x02*\xd7\x01\n\x1f\x41H_SYMBOL_PARAMS_MANY_SORT_TYPE\x12,\n(AH_PARAMS_MANY_SORT_TYPE_SYMBOL_NAME_ASC\x10\x00\x12-\n)AH_PARAMS_MANY_SORT_TYPE_SYMBOL_NAME_DESC\x10\x01\x12*\n&AH_PARAMS_MANY_SORT_TYPE_MQL_INDEX_ASC\x10\x02\x12+\n\'AH_PARAMS_MANY_SORT_TYPE_MQL_INDEX_DESC\x10\x03*d\n\x1d\x42MT5_ENUM_SYMBOL_OPTION_RIGHT\x12!\n\x1d\x42MT5_SYMBOL_OPTION_RIGHT_CALL\x10\x00\x12 \n\x1c\x42MT5_SYMBOL_OPTION_RIGHT_PUT\x10\x01*j\n\x1c\x42MT5_ENUM_SYMBOL_OPTION_MODE\x12$\n BMT5_SYMBOL_OPTION_MODE_EUROPEAN\x10\x00\x12$\n BMT5_SYMBOL_OPTION_MODE_AMERICAN\x10\x01*\x89\x01\n\x1f\x42MT5_ENUM_SYMBOL_ORDER_GTC_MODE\x12\x1a\n\x16\x42MT5_SYMBOL_ORDERS_GTC\x10\x00\x12\x1c\n\x18\x42MT5_SYMBOL_ORDERS_DAILY\x10\x01\x12,\n(BMT5_SYMBOL_ORDERS_DAILY_EXCLUDING_STOPS\x10\x02*\x96\x01\n\x15\x42MT5_ENUM_DAY_OF_WEEK\x12\x0f\n\x0b\x42MT5_SUNDAY\x10\x00\x12\x0f\n\x0b\x42MT5_MONDAY\x10\x01\x12\x10\n\x0c\x42MT5_TUESDAY\x10\x02\x12\x12\n\x0e\x42MT5_WEDNESDAY\x10\x03\x12\x11\n\rBMT5_THURSDAY\x10\x04\x12\x0f\n\x0b\x42MT5_FRIDAY\x10\x05\x12\x11\n\rBMT5_SATURDAY\x10\x06*\xb4\x03\n\x1a\x42MT5_ENUM_SYMBOL_SWAP_MODE\x12\"\n\x1e\x42MT5_SYMBOL_SWAP_MODE_DISABLED\x10\x00\x12 \n\x1c\x42MT5_SYMBOL_SWAP_MODE_POINTS\x10\x01\x12)\n%BMT5_SYMBOL_SWAP_MODE_CURRENCY_SYMBOL\x10\x02\x12)\n%BMT5_SYMBOL_SWAP_MODE_CURRENCY_MARGIN\x10\x03\x12*\n&BMT5_SYMBOL_SWAP_MODE_CURRENCY_DEPOSIT\x10\x04\x12)\n%BMT5_SYMBOL_SWAP_MODE_CURRENCY_PROFIT\x10\x05\x12*\n&BMT5_SYMBOL_SWAP_MODE_INTEREST_CURRENT\x10\x06\x12\'\n#BMT5_SYMBOL_SWAP_MODE_INTEREST_OPEN\x10\x07\x12(\n$BMT5_SYMBOL_SWAP_MODE_REOPEN_CURRENT\x10\x08\x12$\n BMT5_SYMBOL_SWAP_MODE_REOPEN_BID\x10\t*\xc6\x01\n BMT5_ENUM_SYMBOL_TRADE_EXECUTION\x12\'\n#BMT5_SYMBOL_TRADE_EXECUTION_REQUEST\x10\x00\x12\'\n#BMT5_SYMBOL_TRADE_EXECUTION_INSTANT\x10\x01\x12&\n\"BMT5_SYMBOL_TRADE_EXECUTION_MARKET\x10\x02\x12(\n$BMT5_SYMBOL_TRADE_EXECUTION_EXCHANGE\x10\x03*\xd4\x01\n\x1b\x42MT5_ENUM_SYMBOL_TRADE_MODE\x12#\n\x1f\x42MT5_SYMBOL_TRADE_MODE_DISABLED\x10\x00\x12#\n\x1f\x42MT5_SYMBOL_TRADE_MODE_LONGONLY\x10\x01\x12$\n BMT5_SYMBOL_TRADE_MODE_SHORTONLY\x10\x02\x12$\n BMT5_SYMBOL_TRADE_MODE_CLOSEONLY\x10\x03\x12\x1f\n\x1b\x42MT5_SYMBOL_TRADE_MODE_FULL\x10\x04*\x9c\x04\n\x1a\x42MT5_ENUM_SYMBOL_CALC_MODE\x12\x1f\n\x1b\x42MT5_SYMBOL_CALC_MODE_FOREX\x10\x00\x12+\n\'BMT5_SYMBOL_CALC_MODE_FOREX_NO_LEVERAGE\x10\x01\x12!\n\x1d\x42MT5_SYMBOL_CALC_MODE_FUTURES\x10\x02\x12\x1d\n\x19\x42MT5_SYMBOL_CALC_MODE_CFD\x10\x03\x12\"\n\x1e\x42MT5_SYMBOL_CALC_MODE_CFDINDEX\x10\x04\x12%\n!BMT5_SYMBOL_CALC_MODE_CFDLEVERAGE\x10\x05\x12%\n!BMT5_SYMBOL_CALC_MODE_EXCH_STOCKS\x10\x06\x12&\n\"BMT5_SYMBOL_CALC_MODE_EXCH_FUTURES\x10\x07\x12,\n(BMT5_SYMBOL_CALC_MODE_EXCH_FUTURES_FORTS\x10\x08\x12$\n BMT5_SYMBOL_CALC_MODE_EXCH_BONDS\x10\t\x12*\n&BMT5_SYMBOL_CALC_MODE_EXCH_STOCKS_MOEX\x10\n\x12)\n%BMT5_SYMBOL_CALC_MODE_EXCH_BONDS_MOEX\x10\x0b\x12)\n%BMT5_SYMBOL_CALC_MODE_SERV_COLLATERAL\x10\x0c*\xbf\x03\n\x17\x42MT5_ENUM_SYMBOL_SECTOR\x12\x19\n\x15\x42MT5_SECTOR_UNDEFINED\x10\x00\x12\x1f\n\x1b\x42MT5_SECTOR_BASIC_MATERIALS\x10\x01\x12&\n\"BMT5_SECTOR_COMMUNICATION_SERVICES\x10\x02\x12!\n\x1d\x42MT5_SECTOR_CONSUMER_CYCLICAL\x10\x03\x12\"\n\x1e\x42MT5_SECTOR_CONSUMER_DEFENSIVE\x10\x04\x12\x18\n\x14\x42MT5_SECTOR_CURRENCY\x10\x05\x12\x1f\n\x1b\x42MT5_SECTOR_CURRENCY_CRYPTO\x10\x06\x12\x16\n\x12\x42MT5_SECTOR_ENERGY\x10\x07\x12\x19\n\x15\x42MT5_SECTOR_FINANCIAL\x10\x08\x12\x1a\n\x16\x42MT5_SECTOR_HEALTHCARE\x10\t\x12\x1b\n\x17\x42MT5_SECTOR_INDUSTRIALS\x10\n\x12\x1b\n\x17\x42MT5_SECTOR_REAL_ESTATE\x10\x0b\x12\x1a\n\x16\x42MT5_SECTOR_TECHNOLOGY\x10\x0c\x12\x19\n\x15\x42MT5_SECTOR_UTILITIES\x10\r*^\n\x1b\x42MT5_ENUM_SYMBOL_CHART_MODE\x12\x1e\n\x1a\x42MT5_SYMBOL_CHART_MODE_BID\x10\x00\x12\x1f\n\x1b\x42MT5_SYMBOL_CHART_MODE_LAST\x10\x01*\xa6+\n\x19\x42MT5_ENUM_SYMBOL_INDUSTRY\x12\x1b\n\x17\x42MT5_INDUSTRY_UNDEFINED\x10\x00\x12%\n!BMT5_INDUSTRY_AGRICULTURAL_INPUTS\x10\x01\x12\x1b\n\x17\x42MT5_INDUSTRY_ALUMINIUM\x10\x02\x12$\n BMT5_INDUSTRY_BUILDING_MATERIALS\x10\x03\x12\x1b\n\x17\x42MT5_INDUSTRY_CHEMICALS\x10\x04\x12\x1d\n\x19\x42MT5_INDUSTRY_COKING_COAL\x10\x05\x12\x18\n\x14\x42MT5_INDUSTRY_COPPER\x10\x06\x12\x16\n\x12\x42MT5_INDUSTRY_GOLD\x10\x07\x12\x1d\n\x19\x42MT5_INDUSTRY_LUMBER_WOOD\x10\x08\x12#\n\x1f\x42MT5_INDUSTRY_INDUSTRIAL_METALS\x10\t\x12!\n\x1d\x42MT5_INDUSTRY_PRECIOUS_METALS\x10\n\x12\x17\n\x13\x42MT5_INDUSTRY_PAPER\x10\x0b\x12\x18\n\x14\x42MT5_INDUSTRY_SILVER\x10\x0c\x12%\n!BMT5_INDUSTRY_SPECIALTY_CHEMICALS\x10\r\x12\x17\n\x13\x42MT5_INDUSTRY_STEEL\x10\x0e\x12\x1d\n\x19\x42MT5_INDUSTRY_ADVERTISING\x10\x0f\x12\x1e\n\x1a\x42MT5_INDUSTRY_BROADCASTING\x10\x10\x12#\n\x1f\x42MT5_INDUSTRY_GAMING_MULTIMEDIA\x10\x11\x12\x1f\n\x1b\x42MT5_INDUSTRY_ENTERTAINMENT\x10\x12\x12\"\n\x1e\x42MT5_INDUSTRY_INTERNET_CONTENT\x10\x13\x12\x1c\n\x18\x42MT5_INDUSTRY_PUBLISHING\x10\x14\x12\x19\n\x15\x42MT5_INDUSTRY_TELECOM\x10\x15\x12\'\n#BMT5_INDUSTRY_APPAREL_MANUFACTURING\x10\x16\x12 \n\x1c\x42MT5_INDUSTRY_APPAREL_RETAIL\x10\x17\x12$\n BMT5_INDUSTRY_AUTO_MANUFACTURERS\x10\x18\x12\x1c\n\x18\x42MT5_INDUSTRY_AUTO_PARTS\x10\x19\x12!\n\x1d\x42MT5_INDUSTRY_AUTO_DEALERSHIP\x10\x1a\x12#\n\x1f\x42MT5_INDUSTRY_DEPARTMENT_STORES\x10\x1b\x12&\n\"BMT5_INDUSTRY_FOOTWEAR_ACCESSORIES\x10\x1c\x12\x1d\n\x19\x42MT5_INDUSTRY_FURNISHINGS\x10\x1d\x12\x1a\n\x16\x42MT5_INDUSTRY_GAMBLING\x10\x1e\x12$\n BMT5_INDUSTRY_HOME_IMPROV_RETAIL\x10\x1f\x12!\n\x1d\x42MT5_INDUSTRY_INTERNET_RETAIL\x10 \x12\x19\n\x15\x42MT5_INDUSTRY_LEISURE\x10!\x12\x19\n\x15\x42MT5_INDUSTRY_LODGING\x10\"\x12\x1e\n\x1a\x42MT5_INDUSTRY_LUXURY_GOODS\x10#\x12&\n\"BMT5_INDUSTRY_PACKAGING_CONTAINERS\x10$\x12#\n\x1f\x42MT5_INDUSTRY_PERSONAL_SERVICES\x10%\x12\'\n#BMT5_INDUSTRY_RECREATIONAL_VEHICLES\x10&\x12\'\n#BMT5_INDUSTRY_RESIDENT_CONSTRUCTION\x10\'\x12!\n\x1d\x42MT5_INDUSTRY_RESORTS_CASINOS\x10(\x12\x1d\n\x19\x42MT5_INDUSTRY_RESTAURANTS\x10)\x12\"\n\x1e\x42MT5_INDUSTRY_SPECIALTY_RETAIL\x10*\x12\'\n#BMT5_INDUSTRY_TEXTILE_MANUFACTURING\x10+\x12!\n\x1d\x42MT5_INDUSTRY_TRAVEL_SERVICES\x10,\x12#\n\x1f\x42MT5_INDUSTRY_BEVERAGES_BREWERS\x10-\x12$\n BMT5_INDUSTRY_BEVERAGES_NON_ALCO\x10.\x12$\n BMT5_INDUSTRY_BEVERAGES_WINERIES\x10/\x12\x1f\n\x1b\x42MT5_INDUSTRY_CONFECTIONERS\x10\x30\x12!\n\x1d\x42MT5_INDUSTRY_DISCOUNT_STORES\x10\x31\x12#\n\x1f\x42MT5_INDUSTRY_EDUCATION_TRAINIG\x10\x32\x12\x1f\n\x1b\x42MT5_INDUSTRY_FARM_PRODUCTS\x10\x33\x12#\n\x1f\x42MT5_INDUSTRY_FOOD_DISTRIBUTION\x10\x34\x12 \n\x1c\x42MT5_INDUSTRY_GROCERY_STORES\x10\x35\x12$\n BMT5_INDUSTRY_HOUSEHOLD_PRODUCTS\x10\x36\x12 \n\x1c\x42MT5_INDUSTRY_PACKAGED_FOODS\x10\x37\x12\x19\n\x15\x42MT5_INDUSTRY_TOBACCO\x10\x38\x12\"\n\x1e\x42MT5_INDUSTRY_OIL_GAS_DRILLING\x10\x39\x12\x1c\n\x18\x42MT5_INDUSTRY_OIL_GAS_EP\x10:\x12#\n\x1f\x42MT5_INDUSTRY_OIL_GAS_EQUIPMENT\x10;\x12$\n BMT5_INDUSTRY_OIL_GAS_INTEGRATED\x10<\x12#\n\x1f\x42MT5_INDUSTRY_OIL_GAS_MIDSTREAM\x10=\x12\"\n\x1e\x42MT5_INDUSTRY_OIL_GAS_REFINING\x10>\x12\x1e\n\x1a\x42MT5_INDUSTRY_THERMAL_COAL\x10?\x12\x19\n\x15\x42MT5_INDUSTRY_URANIUM\x10@\x12&\n\"BMT5_INDUSTRY_EXCHANGE_TRADED_FUND\x10\x41\x12#\n\x1f\x42MT5_INDUSTRY_ASSETS_MANAGEMENT\x10\x42\x12#\n\x1f\x42MT5_INDUSTRY_BANKS_DIVERSIFIED\x10\x43\x12 \n\x1c\x42MT5_INDUSTRY_BANKS_REGIONAL\x10\x44\x12!\n\x1d\x42MT5_INDUSTRY_CAPITAL_MARKETS\x10\x45\x12%\n!BMT5_INDUSTRY_CLOSE_END_FUND_DEBT\x10\x46\x12\'\n#BMT5_INDUSTRY_CLOSE_END_FUND_EQUITY\x10G\x12(\n$BMT5_INDUSTRY_CLOSE_END_FUND_FOREIGN\x10H\x12!\n\x1d\x42MT5_INDUSTRY_CREDIT_SERVICES\x10I\x12(\n$BMT5_INDUSTRY_FINANCIAL_CONGLOMERATE\x10J\x12)\n%BMT5_INDUSTRY_FINANCIAL_DATA_EXCHANGE\x10K\x12#\n\x1f\x42MT5_INDUSTRY_INSURANCE_BROKERS\x10L\x12\'\n#BMT5_INDUSTRY_INSURANCE_DIVERSIFIED\x10M\x12 \n\x1c\x42MT5_INDUSTRY_INSURANCE_LIFE\x10N\x12$\n BMT5_INDUSTRY_INSURANCE_PROPERTY\x10O\x12\'\n#BMT5_INDUSTRY_INSURANCE_REINSURANCE\x10P\x12%\n!BMT5_INDUSTRY_INSURANCE_SPECIALTY\x10Q\x12\"\n\x1e\x42MT5_INDUSTRY_MORTGAGE_FINANCE\x10R\x12!\n\x1d\x42MT5_INDUSTRY_SHELL_COMPANIES\x10S\x12\x1f\n\x1b\x42MT5_INDUSTRY_BIOTECHNOLOGY\x10T\x12&\n\"BMT5_INDUSTRY_DIAGNOSTICS_RESEARCH\x10U\x12%\n!BMT5_INDUSTRY_DRUGS_MANUFACTURERS\x10V\x12*\n&BMT5_INDUSTRY_DRUGS_MANUFACTURERS_SPEC\x10W\x12\"\n\x1e\x42MT5_INDUSTRY_HEALTHCARE_PLANS\x10X\x12$\n BMT5_INDUSTRY_HEALTH_INFORMATION\x10Y\x12$\n BMT5_INDUSTRY_MEDICAL_FACILITIES\x10Z\x12!\n\x1d\x42MT5_INDUSTRY_MEDICAL_DEVICES\x10[\x12&\n\"BMT5_INDUSTRY_MEDICAL_DISTRIBUTION\x10\\\x12%\n!BMT5_INDUSTRY_MEDICAL_INSTRUMENTS\x10]\x12!\n\x1d\x42MT5_INDUSTRY_PHARM_RETAILERS\x10^\x12#\n\x1f\x42MT5_INDUSTRY_AEROSPACE_DEFENSE\x10_\x12\x1a\n\x16\x42MT5_INDUSTRY_AIRLINES\x10`\x12#\n\x1f\x42MT5_INDUSTRY_AIRPORTS_SERVICES\x10\x61\x12#\n\x1f\x42MT5_INDUSTRY_BUILDING_PRODUCTS\x10\x62\x12$\n BMT5_INDUSTRY_BUSINESS_EQUIPMENT\x10\x63\x12\x1f\n\x1b\x42MT5_INDUSTRY_CONGLOMERATES\x10\x64\x12%\n!BMT5_INDUSTRY_CONSULTING_SERVICES\x10\x65\x12&\n\"BMT5_INDUSTRY_ELECTRICAL_EQUIPMENT\x10\x66\x12*\n&BMT5_INDUSTRY_ENGINEERING_CONSTRUCTION\x10g\x12&\n\"BMT5_INDUSTRY_FARM_HEAVY_MACHINERY\x10h\x12)\n%BMT5_INDUSTRY_INDUSTRIAL_DISTRIBUTION\x10i\x12+\n\'BMT5_INDUSTRY_INFRASTRUCTURE_OPERATIONS\x10j\x12#\n\x1f\x42MT5_INDUSTRY_FREIGHT_LOGISTICS\x10k\x12!\n\x1d\x42MT5_INDUSTRY_MARINE_SHIPPING\x10l\x12#\n\x1f\x42MT5_INDUSTRY_METAL_FABRICATION\x10m\x12#\n\x1f\x42MT5_INDUSTRY_POLLUTION_CONTROL\x10n\x12\x1b\n\x17\x42MT5_INDUSTRY_RAILROADS\x10o\x12 \n\x1c\x42MT5_INDUSTRY_RENTAL_LEASING\x10p\x12%\n!BMT5_INDUSTRY_SECURITY_PROTECTION\x10q\x12,\n(BMT5_INDUSTRY_SPEALITY_BUSINESS_SERVICES\x10r\x12$\n BMT5_INDUSTRY_SPEALITY_MACHINERY\x10s\x12%\n!BMT5_INDUSTRY_STUFFING_EMPLOYMENT\x10t\x12#\n\x1f\x42MT5_INDUSTRY_TOOLS_ACCESSORIES\x10u\x12\x1a\n\x16\x42MT5_INDUSTRY_TRUCKING\x10v\x12\"\n\x1e\x42MT5_INDUSTRY_WASTE_MANAGEMENT\x10w\x12)\n%BMT5_INDUSTRY_REAL_ESTATE_DEVELOPMENT\x10x\x12)\n%BMT5_INDUSTRY_REAL_ESTATE_DIVERSIFIED\x10y\x12&\n\"BMT5_INDUSTRY_REAL_ESTATE_SERVICES\x10z\x12\"\n\x1e\x42MT5_INDUSTRY_REIT_DIVERSIFIED\x10{\x12 \n\x1c\x42MT5_INDUSTRY_REIT_HEALTCARE\x10|\x12\"\n\x1e\x42MT5_INDUSTRY_REIT_HOTEL_MOTEL\x10}\x12!\n\x1d\x42MT5_INDUSTRY_REIT_INDUSTRIAL\x10~\x12\x1e\n\x1a\x42MT5_INDUSTRY_REIT_MORTAGE\x10\x7f\x12\x1e\n\x19\x42MT5_INDUSTRY_REIT_OFFICE\x10\x80\x01\x12\"\n\x1d\x42MT5_INDUSTRY_REIT_RESIDENTAL\x10\x81\x01\x12\x1e\n\x19\x42MT5_INDUSTRY_REIT_RETAIL\x10\x82\x01\x12\"\n\x1d\x42MT5_INDUSTRY_REIT_SPECIALITY\x10\x83\x01\x12*\n%BMT5_INDUSTRY_COMMUNICATION_EQUIPMENT\x10\x84\x01\x12$\n\x1f\x42MT5_INDUSTRY_COMPUTER_HARDWARE\x10\x85\x01\x12\'\n\"BMT5_INDUSTRY_CONSUMER_ELECTRONICS\x10\x86\x01\x12(\n#BMT5_INDUSTRY_ELECTRONIC_COMPONENTS\x10\x87\x01\x12*\n%BMT5_INDUSTRY_ELECTRONIC_DISTRIBUTION\x10\x88\x01\x12\x1e\n\x19\x42MT5_INDUSTRY_IT_SERVICES\x10\x89\x01\x12)\n$BMT5_INDUSTRY_SCIENTIFIC_INSTRUMENTS\x10\x8a\x01\x12*\n%BMT5_INDUSTRY_SEMICONDUCTOR_EQUIPMENT\x10\x8b\x01\x12!\n\x1c\x42MT5_INDUSTRY_SEMICONDUCTORS\x10\x8c\x01\x12\'\n\"BMT5_INDUSTRY_SOFTWARE_APPLICATION\x10\x8d\x01\x12*\n%BMT5_INDUSTRY_SOFTWARE_INFRASTRUCTURE\x10\x8e\x01\x12\x18\n\x13\x42MT5_INDUSTRY_SOLAR\x10\x8f\x01\x12(\n#BMT5_INDUSTRY_UTILITIES_DIVERSIFIED\x10\x90\x01\x12+\n&BMT5_INDUSTRY_UTILITIES_POWERPRODUCERS\x10\x91\x01\x12&\n!BMT5_INDUSTRY_UTILITIES_RENEWABLE\x10\x92\x01\x12/\n*BMT5_INDUSTRY_UTILITIES_REGULATED_ELECTRIC\x10\x93\x01\x12*\n%BMT5_INDUSTRY_UTILITIES_REGULATED_GAS\x10\x94\x01\x12,\n\'BMT5_INDUSTRY_UTILITIES_REGULATED_WATER\x10\x95\x01\x12\"\n\x1d\x42MT5_INDUSTRY_UTILITIES_FIRST\x10\x96\x01\x12!\n\x1c\x42MT5_INDUSTRY_UTILITIES_LAST\x10\x97\x01\x32\xd5\x06\n\rAccountHelper\x12q\n\x0e\x41\x63\x63ountSummary\x12#.mt5_term_api.AccountSummaryRequest\x1a!.mt5_term_api.AccountSummaryReply\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/AccountSummary\x12i\n\x0cOrderHistory\x12!.mt5_term_api.OrderHistoryRequest\x1a\x1f.mt5_term_api.OrderHistoryReply\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/OrderHistory\x12i\n\x0cOpenedOrders\x12!.mt5_term_api.OpenedOrdersRequest\x1a\x1f.mt5_term_api.OpenedOrdersReply\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/OpenedOrders\x12\x85\x01\n\x13OpenedOrdersTickets\x12(.mt5_term_api.OpenedOrdersTicketsRequest\x1a&.mt5_term_api.OpenedOrdersTicketsReply\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/OpenedOrdersTickets\x12y\n\x10SymbolParamsMany\x12%.mt5_term_api.SymbolParamsManyRequest\x1a#.mt5_term_api.SymbolParamsManyReply\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/SymbolParamsMany\x12}\n\x11TickValueWithSize\x12&.mt5_term_api.TickValueWithSizeRequest\x1a$.mt5_term_api.TickValueWithSizeReply\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/TickValueWithSize\x12y\n\x10PositionsHistory\x12%.mt5_term_api.PositionsHistoryRequest\x1a#.mt5_term_api.PositionsHistoryReply\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/PositionsHistoryBBZ1git.mtapi.io/root/mrpc-proto.git/mt5/libraries/go\xaa\x02\x0cmt5_term_apib\x06proto3')
|
|
20
|
+
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mt5_term_api_account_helper_pb2', globals())
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'Z1git.mtapi.io/root/mrpc-proto.git/mt5/libraries/go\252\002\014mt5_term_api'
|
|
27
|
+
_ACCOUNTHELPER.methods_by_name['AccountSummary']._options = None
|
|
28
|
+
_ACCOUNTHELPER.methods_by_name['AccountSummary']._serialized_options = b'\202\323\344\223\002\021\022\017/AccountSummary'
|
|
29
|
+
_ACCOUNTHELPER.methods_by_name['OrderHistory']._options = None
|
|
30
|
+
_ACCOUNTHELPER.methods_by_name['OrderHistory']._serialized_options = b'\202\323\344\223\002\017\022\r/OrderHistory'
|
|
31
|
+
_ACCOUNTHELPER.methods_by_name['OpenedOrders']._options = None
|
|
32
|
+
_ACCOUNTHELPER.methods_by_name['OpenedOrders']._serialized_options = b'\202\323\344\223\002\017\022\r/OpenedOrders'
|
|
33
|
+
_ACCOUNTHELPER.methods_by_name['OpenedOrdersTickets']._options = None
|
|
34
|
+
_ACCOUNTHELPER.methods_by_name['OpenedOrdersTickets']._serialized_options = b'\202\323\344\223\002\026\022\024/OpenedOrdersTickets'
|
|
35
|
+
_ACCOUNTHELPER.methods_by_name['SymbolParamsMany']._options = None
|
|
36
|
+
_ACCOUNTHELPER.methods_by_name['SymbolParamsMany']._serialized_options = b'\202\323\344\223\002\023\022\021/SymbolParamsMany'
|
|
37
|
+
_ACCOUNTHELPER.methods_by_name['TickValueWithSize']._options = None
|
|
38
|
+
_ACCOUNTHELPER.methods_by_name['TickValueWithSize']._serialized_options = b'\202\323\344\223\002\024\022\022/TickValueWithSize'
|
|
39
|
+
_ACCOUNTHELPER.methods_by_name['PositionsHistory']._options = None
|
|
40
|
+
_ACCOUNTHELPER.methods_by_name['PositionsHistory']._serialized_options = b'\202\323\344\223\002\023\022\021/PositionsHistory'
|
|
41
|
+
_AH_ENUM_POSITIONS_HISTORY_SORT_TYPE._serialized_start=9499
|
|
42
|
+
_AH_ENUM_POSITIONS_HISTORY_SORT_TYPE._serialized_end=9656
|
|
43
|
+
_AH_ENUM_POSITIONS_HISTORY_ORDER_TYPE._serialized_start=9659
|
|
44
|
+
_AH_ENUM_POSITIONS_HISTORY_ORDER_TYPE._serialized_end=9957
|
|
45
|
+
_BMT5_ENUM_OPENED_ORDER_SORT_TYPE._serialized_start=9960
|
|
46
|
+
_BMT5_ENUM_OPENED_ORDER_SORT_TYPE._serialized_end=10188
|
|
47
|
+
_BMT5_ENUM_POSITION_TYPE._serialized_start=10190
|
|
48
|
+
_BMT5_ENUM_POSITION_TYPE._serialized_end=10272
|
|
49
|
+
_BMT5_ENUM_POSITION_REASON._serialized_start=10275
|
|
50
|
+
_BMT5_ENUM_POSITION_REASON._serialized_end=10494
|
|
51
|
+
_BMT5_ENUM_ORDER_TYPE_TIME._serialized_start=10497
|
|
52
|
+
_BMT5_ENUM_ORDER_TYPE_TIME._serialized_end=10640
|
|
53
|
+
_BMT5_ENUM_ORDER_TYPE_FILLING._serialized_start=10643
|
|
54
|
+
_BMT5_ENUM_ORDER_TYPE_FILLING._serialized_end=10788
|
|
55
|
+
_BMT5_ENUM_ORDER_TYPE._serialized_start=10791
|
|
56
|
+
_BMT5_ENUM_ORDER_TYPE._serialized_end=11091
|
|
57
|
+
_BMT5_ENUM_DEAL_REASON._serialized_start=11094
|
|
58
|
+
_BMT5_ENUM_DEAL_REASON._serialized_end=11433
|
|
59
|
+
_BMT5_ENUM_DEAL_TYPE._serialized_start=11436
|
|
60
|
+
_BMT5_ENUM_DEAL_TYPE._serialized_end=12011
|
|
61
|
+
_BMT5_ENUM_DEAL_ENTRY_TYPE._serialized_start=12014
|
|
62
|
+
_BMT5_ENUM_DEAL_ENTRY_TYPE._serialized_end=12145
|
|
63
|
+
_BMT5_ENUM_ORDER_HISTORY_SORT_TYPE._serialized_start=12148
|
|
64
|
+
_BMT5_ENUM_ORDER_HISTORY_SORT_TYPE._serialized_end=12392
|
|
65
|
+
_BMT5_ENUM_ORDER_STATE._serialized_start=12395
|
|
66
|
+
_BMT5_ENUM_ORDER_STATE._serialized_end=12736
|
|
67
|
+
_MRPCENUMACCOUNTTRADEMODE._serialized_start=12739
|
|
68
|
+
_MRPCENUMACCOUNTTRADEMODE._serialized_end=12870
|
|
69
|
+
_AH_SYMBOL_PARAMS_MANY_SORT_TYPE._serialized_start=12873
|
|
70
|
+
_AH_SYMBOL_PARAMS_MANY_SORT_TYPE._serialized_end=13088
|
|
71
|
+
_BMT5_ENUM_SYMBOL_OPTION_RIGHT._serialized_start=13090
|
|
72
|
+
_BMT5_ENUM_SYMBOL_OPTION_RIGHT._serialized_end=13190
|
|
73
|
+
_BMT5_ENUM_SYMBOL_OPTION_MODE._serialized_start=13192
|
|
74
|
+
_BMT5_ENUM_SYMBOL_OPTION_MODE._serialized_end=13298
|
|
75
|
+
_BMT5_ENUM_SYMBOL_ORDER_GTC_MODE._serialized_start=13301
|
|
76
|
+
_BMT5_ENUM_SYMBOL_ORDER_GTC_MODE._serialized_end=13438
|
|
77
|
+
_BMT5_ENUM_DAY_OF_WEEK._serialized_start=13441
|
|
78
|
+
_BMT5_ENUM_DAY_OF_WEEK._serialized_end=13591
|
|
79
|
+
_BMT5_ENUM_SYMBOL_SWAP_MODE._serialized_start=13594
|
|
80
|
+
_BMT5_ENUM_SYMBOL_SWAP_MODE._serialized_end=14030
|
|
81
|
+
_BMT5_ENUM_SYMBOL_TRADE_EXECUTION._serialized_start=14033
|
|
82
|
+
_BMT5_ENUM_SYMBOL_TRADE_EXECUTION._serialized_end=14231
|
|
83
|
+
_BMT5_ENUM_SYMBOL_TRADE_MODE._serialized_start=14234
|
|
84
|
+
_BMT5_ENUM_SYMBOL_TRADE_MODE._serialized_end=14446
|
|
85
|
+
_BMT5_ENUM_SYMBOL_CALC_MODE._serialized_start=14449
|
|
86
|
+
_BMT5_ENUM_SYMBOL_CALC_MODE._serialized_end=14989
|
|
87
|
+
_BMT5_ENUM_SYMBOL_SECTOR._serialized_start=14992
|
|
88
|
+
_BMT5_ENUM_SYMBOL_SECTOR._serialized_end=15439
|
|
89
|
+
_BMT5_ENUM_SYMBOL_CHART_MODE._serialized_start=15441
|
|
90
|
+
_BMT5_ENUM_SYMBOL_CHART_MODE._serialized_end=15535
|
|
91
|
+
_BMT5_ENUM_SYMBOL_INDUSTRY._serialized_start=15538
|
|
92
|
+
_BMT5_ENUM_SYMBOL_INDUSTRY._serialized_end=21080
|
|
93
|
+
_POSITIONSHISTORYREQUEST._serialized_start=137
|
|
94
|
+
_POSITIONSHISTORYREQUEST._serialized_end=506
|
|
95
|
+
_POSITIONSHISTORYREPLY._serialized_start=508
|
|
96
|
+
_POSITIONSHISTORYREPLY._serialized_end=633
|
|
97
|
+
_POSITIONSHISTORYDATA._serialized_start=635
|
|
98
|
+
_POSITIONSHISTORYDATA._serialized_end=719
|
|
99
|
+
_POSITIONHISTORYINFO._serialized_start=722
|
|
100
|
+
_POSITIONHISTORYINFO._serialized_end=1180
|
|
101
|
+
_TICKVALUEWITHSIZEREQUEST._serialized_start=1182
|
|
102
|
+
_TICKVALUEWITHSIZEREQUEST._serialized_end=1230
|
|
103
|
+
_TICKVALUEWITHSIZEREPLY._serialized_start=1232
|
|
104
|
+
_TICKVALUEWITHSIZEREPLY._serialized_end=1343
|
|
105
|
+
_TICKVALUEWITHSIZEDATA._serialized_start=1345
|
|
106
|
+
_TICKVALUEWITHSIZEDATA._serialized_end=1430
|
|
107
|
+
_TICKSIZESYMBOL._serialized_start=1433
|
|
108
|
+
_TICKSIZESYMBOL._serialized_end=1610
|
|
109
|
+
_OPENEDORDERSTICKETSREQUEST._serialized_start=1612
|
|
110
|
+
_OPENEDORDERSTICKETSREQUEST._serialized_end=1640
|
|
111
|
+
_OPENEDORDERSTICKETSREPLY._serialized_start=1643
|
|
112
|
+
_OPENEDORDERSTICKETSREPLY._serialized_end=1774
|
|
113
|
+
_OPENEDORDERSTICKETSDATA._serialized_start=1776
|
|
114
|
+
_OPENEDORDERSTICKETSDATA._serialized_end=1865
|
|
115
|
+
_OPENEDORDERSREQUEST._serialized_start=1867
|
|
116
|
+
_OPENEDORDERSREQUEST._serialized_end=1959
|
|
117
|
+
_OPENEDORDERSREPLY._serialized_start=1961
|
|
118
|
+
_OPENEDORDERSREPLY._serialized_end=2078
|
|
119
|
+
_OPENEDORDERSDATA._serialized_start=2080
|
|
120
|
+
_OPENEDORDERSDATA._serialized_end=2204
|
|
121
|
+
_POSITIONINFO._serialized_start=2207
|
|
122
|
+
_POSITIONINFO._serialized_end=2740
|
|
123
|
+
_OPENEDORDERINFO._serialized_start=2743
|
|
124
|
+
_OPENEDORDERINFO._serialized_end=3478
|
|
125
|
+
_ORDERHISTORYREQUEST._serialized_start=3481
|
|
126
|
+
_ORDERHISTORYREQUEST._serialized_end=3708
|
|
127
|
+
_ORDERHISTORYREPLY._serialized_start=3710
|
|
128
|
+
_ORDERHISTORYREPLY._serialized_end=3828
|
|
129
|
+
_ORDERSHISTORYDATA._serialized_start=3831
|
|
130
|
+
_ORDERSHISTORYDATA._serialized_end=3961
|
|
131
|
+
_HISTORYDATA._serialized_start=3964
|
|
132
|
+
_HISTORYDATA._serialized_end=4100
|
|
133
|
+
_DEALHISTORYDATA._serialized_start=4103
|
|
134
|
+
_DEALHISTORYDATA._serialized_end=4573
|
|
135
|
+
_ORDERHISTORYDATA._serialized_start=4576
|
|
136
|
+
_ORDERHISTORYDATA._serialized_end=5257
|
|
137
|
+
_ACCOUNTSUMMARYREQUEST._serialized_start=5259
|
|
138
|
+
_ACCOUNTSUMMARYREQUEST._serialized_end=5282
|
|
139
|
+
_ACCOUNTSUMMARYREPLY._serialized_start=5284
|
|
140
|
+
_ACCOUNTSUMMARYREPLY._serialized_end=5405
|
|
141
|
+
_ACCOUNTSUMMARYDATA._serialized_start=5408
|
|
142
|
+
_ACCOUNTSUMMARYDATA._serialized_end=5798
|
|
143
|
+
_SYMBOLPARAMSMANYREQUEST._serialized_start=5801
|
|
144
|
+
_SYMBOLPARAMSMANYREQUEST._serialized_end=6043
|
|
145
|
+
_SYMBOLPARAMSMANYREPLY._serialized_start=6045
|
|
146
|
+
_SYMBOLPARAMSMANYREPLY._serialized_end=6170
|
|
147
|
+
_SYMBOLPARAMSMANYDATA._serialized_start=6173
|
|
148
|
+
_SYMBOLPARAMSMANYDATA._serialized_end=6362
|
|
149
|
+
_SYMBOLPARAMETERS._serialized_start=6365
|
|
150
|
+
_SYMBOLPARAMETERS._serialized_end=9496
|
|
151
|
+
_ACCOUNTHELPER._serialized_start=21083
|
|
152
|
+
_ACCOUNTHELPER._serialized_end=21936
|
|
153
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
import mt5_term_api_account_helper_pb2 as mt5__term__api__account__helper__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AccountHelperStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.AccountSummary = channel.unary_unary(
|
|
18
|
+
'/mt5_term_api.AccountHelper/AccountSummary',
|
|
19
|
+
request_serializer=mt5__term__api__account__helper__pb2.AccountSummaryRequest.SerializeToString,
|
|
20
|
+
response_deserializer=mt5__term__api__account__helper__pb2.AccountSummaryReply.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.OrderHistory = channel.unary_unary(
|
|
23
|
+
'/mt5_term_api.AccountHelper/OrderHistory',
|
|
24
|
+
request_serializer=mt5__term__api__account__helper__pb2.OrderHistoryRequest.SerializeToString,
|
|
25
|
+
response_deserializer=mt5__term__api__account__helper__pb2.OrderHistoryReply.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.OpenedOrders = channel.unary_unary(
|
|
28
|
+
'/mt5_term_api.AccountHelper/OpenedOrders',
|
|
29
|
+
request_serializer=mt5__term__api__account__helper__pb2.OpenedOrdersRequest.SerializeToString,
|
|
30
|
+
response_deserializer=mt5__term__api__account__helper__pb2.OpenedOrdersReply.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.OpenedOrdersTickets = channel.unary_unary(
|
|
33
|
+
'/mt5_term_api.AccountHelper/OpenedOrdersTickets',
|
|
34
|
+
request_serializer=mt5__term__api__account__helper__pb2.OpenedOrdersTicketsRequest.SerializeToString,
|
|
35
|
+
response_deserializer=mt5__term__api__account__helper__pb2.OpenedOrdersTicketsReply.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.SymbolParamsMany = channel.unary_unary(
|
|
38
|
+
'/mt5_term_api.AccountHelper/SymbolParamsMany',
|
|
39
|
+
request_serializer=mt5__term__api__account__helper__pb2.SymbolParamsManyRequest.SerializeToString,
|
|
40
|
+
response_deserializer=mt5__term__api__account__helper__pb2.SymbolParamsManyReply.FromString,
|
|
41
|
+
)
|
|
42
|
+
self.TickValueWithSize = channel.unary_unary(
|
|
43
|
+
'/mt5_term_api.AccountHelper/TickValueWithSize',
|
|
44
|
+
request_serializer=mt5__term__api__account__helper__pb2.TickValueWithSizeRequest.SerializeToString,
|
|
45
|
+
response_deserializer=mt5__term__api__account__helper__pb2.TickValueWithSizeReply.FromString,
|
|
46
|
+
)
|
|
47
|
+
self.PositionsHistory = channel.unary_unary(
|
|
48
|
+
'/mt5_term_api.AccountHelper/PositionsHistory',
|
|
49
|
+
request_serializer=mt5__term__api__account__helper__pb2.PositionsHistoryRequest.SerializeToString,
|
|
50
|
+
response_deserializer=mt5__term__api__account__helper__pb2.PositionsHistoryReply.FromString,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class AccountHelperServicer(object):
|
|
55
|
+
"""Missing associated documentation comment in .proto file."""
|
|
56
|
+
|
|
57
|
+
def AccountSummary(self, request, context):
|
|
58
|
+
"""Some information about account
|
|
59
|
+
"""
|
|
60
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
61
|
+
context.set_details('Method not implemented!')
|
|
62
|
+
raise NotImplementedError('Method not implemented!')
|
|
63
|
+
|
|
64
|
+
def OrderHistory(self, request, context):
|
|
65
|
+
"""Orders History
|
|
66
|
+
[DefaultValues]
|
|
67
|
+
{
|
|
68
|
+
"pageNumber": "0",
|
|
69
|
+
"itemsPerPage": "0",
|
|
70
|
+
}
|
|
71
|
+
"""
|
|
72
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
73
|
+
context.set_details('Method not implemented!')
|
|
74
|
+
raise NotImplementedError('Method not implemented!')
|
|
75
|
+
|
|
76
|
+
def OpenedOrders(self, request, context):
|
|
77
|
+
"""Pending orders and opened positions
|
|
78
|
+
"""
|
|
79
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
|
+
context.set_details('Method not implemented!')
|
|
81
|
+
raise NotImplementedError('Method not implemented!')
|
|
82
|
+
|
|
83
|
+
def OpenedOrdersTickets(self, request, context):
|
|
84
|
+
"""Just opened order tickets
|
|
85
|
+
"""
|
|
86
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
87
|
+
context.set_details('Method not implemented!')
|
|
88
|
+
raise NotImplementedError('Method not implemented!')
|
|
89
|
+
|
|
90
|
+
def SymbolParamsMany(self, request, context):
|
|
91
|
+
"""Full information about symbol and his group for several symbols
|
|
92
|
+
"""
|
|
93
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
|
+
context.set_details('Method not implemented!')
|
|
95
|
+
raise NotImplementedError('Method not implemented!')
|
|
96
|
+
|
|
97
|
+
def TickValueWithSize(self, request, context):
|
|
98
|
+
"""Tick value as array
|
|
99
|
+
"""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
104
|
+
def PositionsHistory(self, request, context):
|
|
105
|
+
"""History positions
|
|
106
|
+
"""
|
|
107
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
|
+
context.set_details('Method not implemented!')
|
|
109
|
+
raise NotImplementedError('Method not implemented!')
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def add_AccountHelperServicer_to_server(servicer, server):
|
|
113
|
+
rpc_method_handlers = {
|
|
114
|
+
'AccountSummary': grpc.unary_unary_rpc_method_handler(
|
|
115
|
+
servicer.AccountSummary,
|
|
116
|
+
request_deserializer=mt5__term__api__account__helper__pb2.AccountSummaryRequest.FromString,
|
|
117
|
+
response_serializer=mt5__term__api__account__helper__pb2.AccountSummaryReply.SerializeToString,
|
|
118
|
+
),
|
|
119
|
+
'OrderHistory': grpc.unary_unary_rpc_method_handler(
|
|
120
|
+
servicer.OrderHistory,
|
|
121
|
+
request_deserializer=mt5__term__api__account__helper__pb2.OrderHistoryRequest.FromString,
|
|
122
|
+
response_serializer=mt5__term__api__account__helper__pb2.OrderHistoryReply.SerializeToString,
|
|
123
|
+
),
|
|
124
|
+
'OpenedOrders': grpc.unary_unary_rpc_method_handler(
|
|
125
|
+
servicer.OpenedOrders,
|
|
126
|
+
request_deserializer=mt5__term__api__account__helper__pb2.OpenedOrdersRequest.FromString,
|
|
127
|
+
response_serializer=mt5__term__api__account__helper__pb2.OpenedOrdersReply.SerializeToString,
|
|
128
|
+
),
|
|
129
|
+
'OpenedOrdersTickets': grpc.unary_unary_rpc_method_handler(
|
|
130
|
+
servicer.OpenedOrdersTickets,
|
|
131
|
+
request_deserializer=mt5__term__api__account__helper__pb2.OpenedOrdersTicketsRequest.FromString,
|
|
132
|
+
response_serializer=mt5__term__api__account__helper__pb2.OpenedOrdersTicketsReply.SerializeToString,
|
|
133
|
+
),
|
|
134
|
+
'SymbolParamsMany': grpc.unary_unary_rpc_method_handler(
|
|
135
|
+
servicer.SymbolParamsMany,
|
|
136
|
+
request_deserializer=mt5__term__api__account__helper__pb2.SymbolParamsManyRequest.FromString,
|
|
137
|
+
response_serializer=mt5__term__api__account__helper__pb2.SymbolParamsManyReply.SerializeToString,
|
|
138
|
+
),
|
|
139
|
+
'TickValueWithSize': grpc.unary_unary_rpc_method_handler(
|
|
140
|
+
servicer.TickValueWithSize,
|
|
141
|
+
request_deserializer=mt5__term__api__account__helper__pb2.TickValueWithSizeRequest.FromString,
|
|
142
|
+
response_serializer=mt5__term__api__account__helper__pb2.TickValueWithSizeReply.SerializeToString,
|
|
143
|
+
),
|
|
144
|
+
'PositionsHistory': grpc.unary_unary_rpc_method_handler(
|
|
145
|
+
servicer.PositionsHistory,
|
|
146
|
+
request_deserializer=mt5__term__api__account__helper__pb2.PositionsHistoryRequest.FromString,
|
|
147
|
+
response_serializer=mt5__term__api__account__helper__pb2.PositionsHistoryReply.SerializeToString,
|
|
148
|
+
),
|
|
149
|
+
}
|
|
150
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
151
|
+
'mt5_term_api.AccountHelper', rpc_method_handlers)
|
|
152
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
# This class is part of an EXPERIMENTAL API.
|
|
156
|
+
class AccountHelper(object):
|
|
157
|
+
"""Missing associated documentation comment in .proto file."""
|
|
158
|
+
|
|
159
|
+
@staticmethod
|
|
160
|
+
def AccountSummary(request,
|
|
161
|
+
target,
|
|
162
|
+
options=(),
|
|
163
|
+
channel_credentials=None,
|
|
164
|
+
call_credentials=None,
|
|
165
|
+
insecure=False,
|
|
166
|
+
compression=None,
|
|
167
|
+
wait_for_ready=None,
|
|
168
|
+
timeout=None,
|
|
169
|
+
metadata=None):
|
|
170
|
+
return grpc.experimental.unary_unary(request, target, '/mt5_term_api.AccountHelper/AccountSummary',
|
|
171
|
+
mt5__term__api__account__helper__pb2.AccountSummaryRequest.SerializeToString,
|
|
172
|
+
mt5__term__api__account__helper__pb2.AccountSummaryReply.FromString,
|
|
173
|
+
options, channel_credentials,
|
|
174
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
175
|
+
|
|
176
|
+
@staticmethod
|
|
177
|
+
def OrderHistory(request,
|
|
178
|
+
target,
|
|
179
|
+
options=(),
|
|
180
|
+
channel_credentials=None,
|
|
181
|
+
call_credentials=None,
|
|
182
|
+
insecure=False,
|
|
183
|
+
compression=None,
|
|
184
|
+
wait_for_ready=None,
|
|
185
|
+
timeout=None,
|
|
186
|
+
metadata=None):
|
|
187
|
+
return grpc.experimental.unary_unary(request, target, '/mt5_term_api.AccountHelper/OrderHistory',
|
|
188
|
+
mt5__term__api__account__helper__pb2.OrderHistoryRequest.SerializeToString,
|
|
189
|
+
mt5__term__api__account__helper__pb2.OrderHistoryReply.FromString,
|
|
190
|
+
options, channel_credentials,
|
|
191
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
192
|
+
|
|
193
|
+
@staticmethod
|
|
194
|
+
def OpenedOrders(request,
|
|
195
|
+
target,
|
|
196
|
+
options=(),
|
|
197
|
+
channel_credentials=None,
|
|
198
|
+
call_credentials=None,
|
|
199
|
+
insecure=False,
|
|
200
|
+
compression=None,
|
|
201
|
+
wait_for_ready=None,
|
|
202
|
+
timeout=None,
|
|
203
|
+
metadata=None):
|
|
204
|
+
return grpc.experimental.unary_unary(request, target, '/mt5_term_api.AccountHelper/OpenedOrders',
|
|
205
|
+
mt5__term__api__account__helper__pb2.OpenedOrdersRequest.SerializeToString,
|
|
206
|
+
mt5__term__api__account__helper__pb2.OpenedOrdersReply.FromString,
|
|
207
|
+
options, channel_credentials,
|
|
208
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
209
|
+
|
|
210
|
+
@staticmethod
|
|
211
|
+
def OpenedOrdersTickets(request,
|
|
212
|
+
target,
|
|
213
|
+
options=(),
|
|
214
|
+
channel_credentials=None,
|
|
215
|
+
call_credentials=None,
|
|
216
|
+
insecure=False,
|
|
217
|
+
compression=None,
|
|
218
|
+
wait_for_ready=None,
|
|
219
|
+
timeout=None,
|
|
220
|
+
metadata=None):
|
|
221
|
+
return grpc.experimental.unary_unary(request, target, '/mt5_term_api.AccountHelper/OpenedOrdersTickets',
|
|
222
|
+
mt5__term__api__account__helper__pb2.OpenedOrdersTicketsRequest.SerializeToString,
|
|
223
|
+
mt5__term__api__account__helper__pb2.OpenedOrdersTicketsReply.FromString,
|
|
224
|
+
options, channel_credentials,
|
|
225
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def SymbolParamsMany(request,
|
|
229
|
+
target,
|
|
230
|
+
options=(),
|
|
231
|
+
channel_credentials=None,
|
|
232
|
+
call_credentials=None,
|
|
233
|
+
insecure=False,
|
|
234
|
+
compression=None,
|
|
235
|
+
wait_for_ready=None,
|
|
236
|
+
timeout=None,
|
|
237
|
+
metadata=None):
|
|
238
|
+
return grpc.experimental.unary_unary(request, target, '/mt5_term_api.AccountHelper/SymbolParamsMany',
|
|
239
|
+
mt5__term__api__account__helper__pb2.SymbolParamsManyRequest.SerializeToString,
|
|
240
|
+
mt5__term__api__account__helper__pb2.SymbolParamsManyReply.FromString,
|
|
241
|
+
options, channel_credentials,
|
|
242
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
243
|
+
|
|
244
|
+
@staticmethod
|
|
245
|
+
def TickValueWithSize(request,
|
|
246
|
+
target,
|
|
247
|
+
options=(),
|
|
248
|
+
channel_credentials=None,
|
|
249
|
+
call_credentials=None,
|
|
250
|
+
insecure=False,
|
|
251
|
+
compression=None,
|
|
252
|
+
wait_for_ready=None,
|
|
253
|
+
timeout=None,
|
|
254
|
+
metadata=None):
|
|
255
|
+
return grpc.experimental.unary_unary(request, target, '/mt5_term_api.AccountHelper/TickValueWithSize',
|
|
256
|
+
mt5__term__api__account__helper__pb2.TickValueWithSizeRequest.SerializeToString,
|
|
257
|
+
mt5__term__api__account__helper__pb2.TickValueWithSizeReply.FromString,
|
|
258
|
+
options, channel_credentials,
|
|
259
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
260
|
+
|
|
261
|
+
@staticmethod
|
|
262
|
+
def PositionsHistory(request,
|
|
263
|
+
target,
|
|
264
|
+
options=(),
|
|
265
|
+
channel_credentials=None,
|
|
266
|
+
call_credentials=None,
|
|
267
|
+
insecure=False,
|
|
268
|
+
compression=None,
|
|
269
|
+
wait_for_ready=None,
|
|
270
|
+
timeout=None,
|
|
271
|
+
metadata=None):
|
|
272
|
+
return grpc.experimental.unary_unary(request, target, '/mt5_term_api.AccountHelper/PositionsHistory',
|
|
273
|
+
mt5__term__api__account__helper__pb2.PositionsHistoryRequest.SerializeToString,
|
|
274
|
+
mt5__term__api__account__helper__pb2.PositionsHistoryReply.FromString,
|
|
275
|
+
options, channel_credentials,
|
|
276
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|