MetaRpcMT4 0.0.81__py3-none-any.whl

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.
MetaRpcMT4/__init__.py ADDED
File without changes
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: mrpc-mt4-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-mt4-error.proto\x12\x0cmt4_term_api\"\xbc\x02\n\x05\x45rror\x12%\n\x04type\x18\x01 \x01(\x0e\x32\x17.mt4_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.mt4_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\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.mt4_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.mt4_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*)\n\x07LogType\x12\n\n\x06Global\x10\x00\x12\x08\n\x04MQL5\x10\x01\x12\x08\n\x04MQL4\x10\x02*\xe9\x01\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*\x96\x1a\n\x0cMqlErrorCode\x12\x10\n\x0c\x45RR_NO_ERROR\x10\x00\x12\x11\n\rERR_NO_RESULT\x10\x01\x12\x14\n\x10\x45RR_COMMON_ERROR\x10\x02\x12 \n\x1c\x45RR_INVALID_TRADE_PARAMETERS\x10\x03\x12\x13\n\x0f\x45RR_SERVER_BUSY\x10\x04\x12\x13\n\x0f\x45RR_OLD_VERSION\x10\x05\x12\x15\n\x11\x45RR_NO_CONNECTION\x10\x06\x12\x19\n\x15\x45RR_NOT_ENOUGH_RIGHTS\x10\x07\x12\x1d\n\x19\x45RR_TOO_FREQUENT_REQUESTS\x10\x08\x12\x1b\n\x17\x45RR_MALFUNCTIONAL_TRADE\x10\t\x12\x18\n\x14\x45RR_ACCOUNT_DISABLED\x10@\x12\x17\n\x13\x45RR_INVALID_ACCOUNT\x10\x41\x12\x16\n\x11\x45RR_TRADE_TIMEOUT\x10\x80\x01\x12\x16\n\x11\x45RR_INVALID_PRICE\x10\x81\x01\x12\x16\n\x11\x45RR_INVALID_STOPS\x10\x82\x01\x12\x1d\n\x18\x45RR_INVALID_TRADE_VOLUME\x10\x83\x01\x12\x16\n\x11\x45RR_MARKET_CLOSED\x10\x84\x01\x12\x17\n\x12\x45RR_TRADE_DISABLED\x10\x85\x01\x12\x19\n\x14\x45RR_NOT_ENOUGH_MONEY\x10\x86\x01\x12\x16\n\x11\x45RR_PRICE_CHANGED\x10\x87\x01\x12\x13\n\x0e\x45RR_OFF_QUOTES\x10\x88\x01\x12\x14\n\x0f\x45RR_BROKER_BUSY\x10\x89\x01\x12\x10\n\x0b\x45RR_REQUOTE\x10\x8a\x01\x12\x15\n\x10\x45RR_ORDER_LOCKED\x10\x8b\x01\x12$\n\x1f\x45RR_LONG_POSITIONS_ONLY_ALLOWED\x10\x8c\x01\x12\x1a\n\x15\x45RR_TOO_MANY_REQUESTS\x10\x8d\x01\x12\x1c\n\x17\x45RR_TRADE_MODIFY_DENIED\x10\x91\x01\x12\x1b\n\x16\x45RR_TRADE_CONTEXT_BUSY\x10\x92\x01\x12 \n\x1b\x45RR_TRADE_EXPIRATION_DENIED\x10\x93\x01\x12\x1e\n\x19\x45RR_TRADE_TOO_MANY_ORDERS\x10\x94\x01\x12\x1f\n\x1a\x45RR_TRADE_HEDGE_PROHIBITED\x10\x95\x01\x12!\n\x1c\x45RR_TRADE_PROHIBITED_BY_FIFO\x10\x96\x01\x12\x14\n\x0f\x45RR_NO_MQLERROR\x10\xa0\x1f\x12\x1f\n\x1a\x45RR_WRONG_FUNCTION_POINTER\x10\xa1\x1f\x12!\n\x1c\x45RR_ARRAY_INDEX_OUT_OF_RANGE\x10\xa2\x1f\x12!\n\x1c\x45RR_NO_MEMORY_FOR_CALL_STACK\x10\xa3\x1f\x12!\n\x1c\x45RR_RECURSIVE_STACK_OVERFLOW\x10\xa4\x1f\x12#\n\x1e\x45RR_NOT_ENOUGH_STACK_FOR_PARAM\x10\xa5\x1f\x12#\n\x1e\x45RR_NO_MEMORY_FOR_PARAM_STRING\x10\xa6\x1f\x12\"\n\x1d\x45RR_NO_MEMORY_FOR_TEMP_STRING\x10\xa7\x1f\x12\x1f\n\x1a\x45RR_NOT_INITIALIZED_STRING\x10\xa8\x1f\x12$\n\x1f\x45RR_NOT_INITIALIZED_ARRAYSTRING\x10\xa9\x1f\x12\"\n\x1d\x45RR_NO_MEMORY_FOR_ARRAYSTRING\x10\xaa\x1f\x12\x18\n\x13\x45RR_TOO_LONG_STRING\x10\xab\x1f\x12#\n\x1e\x45RR_REMAINDER_FROM_ZERO_DIVIDE\x10\xac\x1f\x12\x14\n\x0f\x45RR_ZERO_DIVIDE\x10\xad\x1f\x12\x18\n\x13\x45RR_UNKNOWN_COMMAND\x10\xae\x1f\x12\x13\n\x0e\x45RR_WRONG_JUMP\x10\xaf\x1f\x12\x1e\n\x19\x45RR_NOT_INITIALIZED_ARRAY\x10\xb0\x1f\x12\x1e\n\x19\x45RR_DLL_CALLS_NOT_ALLOWED\x10\xb1\x1f\x12\x1c\n\x17\x45RR_CANNOT_LOAD_LIBRARY\x10\xb2\x1f\x12\x1d\n\x18\x45RR_CANNOT_CALL_FUNCTION\x10\xb3\x1f\x12#\n\x1e\x45RR_EXTERNAL_CALLS_NOT_ALLOWED\x10\xb4\x1f\x12#\n\x1e\x45RR_NO_MEMORY_FOR_RETURNED_STR\x10\xb5\x1f\x12\x14\n\x0f\x45RR_SYSTEM_BUSY\x10\xb6\x1f\x12\x1e\n\x19\x45RR_DLLFUNC_CRITICALERROR\x10\xb7\x1f\x12\x17\n\x12\x45RR_INTERNAL_ERROR\x10\xb8\x1f\x12\x16\n\x11\x45RR_OUT_OF_MEMORY\x10\xb9\x1f\x12\x18\n\x13\x45RR_INVALID_POINTER\x10\xba\x1f\x12#\n\x1e\x45RR_FORMAT_TOO_MANY_FORMATTERS\x10\xbb\x1f\x12#\n\x1e\x45RR_FORMAT_TOO_MANY_PARAMETERS\x10\xbc\x1f\x12\x16\n\x11\x45RR_ARRAY_INVALID\x10\xbd\x1f\x12\x16\n\x11\x45RR_CHART_NOREPLY\x10\xbe\x1f\x12#\n\x1e\x45RR_INVALID_FUNCTION_PARAMSCNT\x10\xd2\x1f\x12$\n\x1f\x45RR_INVALID_FUNCTION_PARAMVALUE\x10\xd3\x1f\x12!\n\x1c\x45RR_STRING_FUNCTION_INTERNAL\x10\xd4\x1f\x12\x19\n\x14\x45RR_SOME_ARRAY_ERROR\x10\xd5\x1f\x12$\n\x1f\x45RR_INCORRECT_SERIESARRAY_USING\x10\xd6\x1f\x12\x1f\n\x1a\x45RR_CUSTOM_INDICATOR_ERROR\x10\xd7\x1f\x12\x1c\n\x17\x45RR_INCOMPATIBLE_ARRAYS\x10\xd8\x1f\x12$\n\x1f\x45RR_GLOBAL_VARIABLES_PROCESSING\x10\xd9\x1f\x12\"\n\x1d\x45RR_GLOBAL_VARIABLE_NOT_FOUND\x10\xda\x1f\x12$\n\x1f\x45RR_FUNC_NOT_ALLOWED_IN_TESTING\x10\xdb\x1f\x12\x1f\n\x1a\x45RR_FUNCTION_NOT_CONFIRMED\x10\xdc\x1f\x12\x18\n\x13\x45RR_SEND_MAIL_ERROR\x10\xdd\x1f\x12\"\n\x1d\x45RR_STRING_PARAMETER_EXPECTED\x10\xde\x1f\x12#\n\x1e\x45RR_INTEGER_PARAMETER_EXPECTED\x10\xdf\x1f\x12\"\n\x1d\x45RR_DOUBLE_PARAMETER_EXPECTED\x10\xe0\x1f\x12$\n\x1f\x45RR_ARRAY_AS_PARAMETER_EXPECTED\x10\xe1\x1f\x12\x1d\n\x18\x45RR_HISTORY_WILL_UPDATED\x10\xe2\x1f\x12\x14\n\x0f\x45RR_TRADE_ERROR\x10\xe3\x1f\x12\x1b\n\x16\x45RR_RESOURCE_NOT_FOUND\x10\xe4\x1f\x12\x1f\n\x1a\x45RR_RESOURCE_NOT_SUPPORTED\x10\xe5\x1f\x12\x1c\n\x17\x45RR_RESOURCE_DUPLICATED\x10\xe6\x1f\x12\x1e\n\x19\x45RR_INDICATOR_CANNOT_INIT\x10\xe7\x1f\x12\x1e\n\x19\x45RR_INDICATOR_CANNOT_LOAD\x10\xe8\x1f\x12\x18\n\x13\x45RR_NO_HISTORY_DATA\x10\xe9\x1f\x12\x1e\n\x19\x45RR_NO_MEMORY_FOR_HISTORY\x10\xea\x1f\x12 \n\x1b\x45RR_NO_MEMORY_FOR_INDICATOR\x10\xeb\x1f\x12\x14\n\x0f\x45RR_END_OF_FILE\x10\x83 \x12\x18\n\x13\x45RR_SOME_FILE_ERROR\x10\x84 \x12\x18\n\x13\x45RR_WRONG_FILE_NAME\x10\x85 \x12\x1e\n\x19\x45RR_TOO_MANY_OPENED_FILES\x10\x86 \x12\x19\n\x14\x45RR_CANNOT_OPEN_FILE\x10\x87 \x12 \n\x1b\x45RR_INCOMPATIBLE_FILEACCESS\x10\x88 \x12\x1a\n\x15\x45RR_NO_ORDER_SELECTED\x10\x89 \x12\x17\n\x12\x45RR_UNKNOWN_SYMBOL\x10\x8a \x12\x1c\n\x17\x45RR_INVALID_PRICE_PARAM\x10\x8b \x12\x17\n\x12\x45RR_INVALID_TICKET\x10\x8c \x12\x1a\n\x15\x45RR_TRADE_NOT_ALLOWED\x10\x8d \x12\x1a\n\x15\x45RR_LONGS_NOT_ALLOWED\x10\x8e \x12\x1b\n\x16\x45RR_SHORTS_NOT_ALLOWED\x10\x8f \x12(\n#ERR_TRADE_EXPERT_DISABLED_BY_SERVER\x10\x90 \x12\x1e\n\x19\x45RR_OBJECT_ALREADY_EXISTS\x10\xe8 \x12 \n\x1b\x45RR_UNKNOWN_OBJECT_PROPERTY\x10\xe9 \x12\x1e\n\x19\x45RR_OBJECT_DOES_NOT_EXIST\x10\xea \x12\x1c\n\x17\x45RR_UNKNOWN_OBJECT_TYPE\x10\xeb \x12\x17\n\x12\x45RR_NO_OBJECT_NAME\x10\xec \x12!\n\x1c\x45RR_OBJECT_COORDINATES_ERROR\x10\xed \x12\x1f\n\x1a\x45RR_NO_SPECIFIED_SUBWINDOW\x10\xee \x12\x1a\n\x15\x45RR_SOME_OBJECT_ERROR\x10\xef \x12\x19\n\x14\x45RR_FILE_CANNOT_OPEN\x10\x8c\'B3Z1git.mtapi.io/root/mrpc-proto.git/mt4/libraries/gob\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mrpc_mt4_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/mt4/libraries/go'
24
+ _LOGTYPE._serialized_start=528
25
+ _LOGTYPE._serialized_end=569
26
+ _ERRORTYPE._serialized_start=572
27
+ _ERRORTYPE._serialized_end=805
28
+ _MQLERRORCODE._serialized_start=808
29
+ _MQLERRORCODE._serialized_end=4158
30
+ _ERROR._serialized_start=39
31
+ _ERROR._serialized_end=355
32
+ _ERRORPROPERTY._serialized_start=357
33
+ _ERRORPROPERTY._serialized_end=420
34
+ _LOGFILEINFO._serialized_start=422
35
+ _LOGFILEINFO._serialized_end=526
36
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,4 @@
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
+