From 54f2cf3f3269164668c6d7ba8934b987e52fbd0f Mon Sep 17 00:00:00 2001 From: Ahmad Noman Musleh Date: Tue, 3 May 2022 15:12:46 +0300 Subject: [PATCH] Updated message files --- .../messages/OpenApiCommonMessages_pb2.py | 32 +- .../OpenApiCommonModelMessages_pb2.py | 25 +- .../messages/OpenApiMessages_pb2.py | 655 +--------------- .../messages/OpenApiModelMessages_pb2.py | 718 +++--------------- pyproject.toml | 4 +- 5 files changed, 115 insertions(+), 1319 deletions(-) diff --git a/ctrader_open_api/messages/OpenApiCommonMessages_pb2.py b/ctrader_open_api/messages/OpenApiCommonMessages_pb2.py index e434a7e..687f08b 100644 --- a/ctrader_open_api/messages/OpenApiCommonMessages_pb2.py +++ b/ctrader_open_api/messages/OpenApiCommonMessages_pb2.py @@ -2,10 +2,9 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: OpenApiCommonMessages.proto """Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,34 +13,11 @@ from ctrader_open_api.messages import OpenApiCommonModelMessages_pb2 as OpenApiCommonModelMessages__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bOpenApiCommonMessages.proto\x1a OpenApiCommonModelMessages.proto\"I\n\x0cProtoMessage\x12\x13\n\x0bpayloadType\x18\x01 \x02(\r\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63lientMsgId\x18\x03 \x01(\t\"\x8b\x01\n\rProtoErrorRes\x12\x31\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x11.ProtoPayloadType:\tERROR_RES\x12\x11\n\terrorCode\x18\x02 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1f\n\x17maintenanceEndTimestamp\x18\x04 \x01(\x04\"N\n\x13ProtoHeartbeatEvent\x12\x37\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x11.ProtoPayloadType:\x0fHEARTBEAT_EVENTBB\n\"com.xtrader.protocol.proto.commonsB\x17\x43ontainerCommonMessagesP\x01\xa0\x01\x01') - - -_PROTOMESSAGE = DESCRIPTOR.message_types_by_name['ProtoMessage'] -_PROTOERRORRES = DESCRIPTOR.message_types_by_name['ProtoErrorRes'] -_PROTOHEARTBEATEVENT = DESCRIPTOR.message_types_by_name['ProtoHeartbeatEvent'] -ProtoMessage = _reflection.GeneratedProtocolMessageType('ProtoMessage', (_message.Message,), { - 'DESCRIPTOR' : _PROTOMESSAGE, - '__module__' : 'OpenApiCommonMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoMessage) - }) -_sym_db.RegisterMessage(ProtoMessage) - -ProtoErrorRes = _reflection.GeneratedProtocolMessageType('ProtoErrorRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOERRORRES, - '__module__' : 'OpenApiCommonMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoErrorRes) - }) -_sym_db.RegisterMessage(ProtoErrorRes) - -ProtoHeartbeatEvent = _reflection.GeneratedProtocolMessageType('ProtoHeartbeatEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOHEARTBEATEVENT, - '__module__' : 'OpenApiCommonMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoHeartbeatEvent) - }) -_sym_db.RegisterMessage(ProtoHeartbeatEvent) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bOpenApiCommonMessages.proto\x1a OpenApiCommonModelMessages.proto\"I\n\x0cProtoMessage\x12\x13\n\x0bpayloadType\x18\x01 \x02(\r\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63lientMsgId\x18\x03 \x01(\t\"\x8b\x01\n\rProtoErrorRes\x12\x31\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x11.ProtoPayloadType:\tERROR_RES\x12\x11\n\terrorCode\x18\x02 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1f\n\x17maintenanceEndTimestamp\x18\x04 \x01(\x04\"N\n\x13ProtoHeartbeatEvent\x12\x37\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x11.ProtoPayloadType:\x0fHEARTBEAT_EVENTBB\n\"com.xtrader.protocol.proto.commonsB\x17\x43ontainerCommonMessagesP\x01\xa0\x01\x01') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'OpenApiCommonMessages_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None diff --git a/ctrader_open_api/messages/OpenApiCommonModelMessages_pb2.py b/ctrader_open_api/messages/OpenApiCommonModelMessages_pb2.py index da03df5..6b0884e 100644 --- a/ctrader_open_api/messages/OpenApiCommonModelMessages_pb2.py +++ b/ctrader_open_api/messages/OpenApiCommonModelMessages_pb2.py @@ -2,11 +2,9 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: OpenApiCommonModelMessages.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -17,25 +15,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n OpenApiCommonModelMessages.proto*I\n\x10ProtoPayloadType\x12\x11\n\rPROTO_MESSAGE\x10\x05\x12\r\n\tERROR_RES\x10\x32\x12\x13\n\x0fHEARTBEAT_EVENT\x10\x33*\xf0\x01\n\x0eProtoErrorCode\x12\x11\n\rUNKNOWN_ERROR\x10\x01\x12\x17\n\x13UNSUPPORTED_MESSAGE\x10\x02\x12\x13\n\x0fINVALID_REQUEST\x10\x03\x12\x11\n\rTIMEOUT_ERROR\x10\x05\x12\x14\n\x10\x45NTITY_NOT_FOUND\x10\x06\x12\x16\n\x12\x43\x41NT_ROUTE_REQUEST\x10\x07\x12\x12\n\x0e\x46RAME_TOO_LONG\x10\x08\x12\x11\n\rMARKET_CLOSED\x10\t\x12\x1b\n\x17\x43ONCURRENT_MODIFICATION\x10\n\x12\x18\n\x14\x42LOCKED_PAYLOAD_TYPE\x10\x0b\x42M\n(com.xtrader.protocol.proto.commons.modelB\x1c\x43ontainerCommonModelMessagesP\x01\xa0\x01\x01') -_PROTOPAYLOADTYPE = DESCRIPTOR.enum_types_by_name['ProtoPayloadType'] -ProtoPayloadType = enum_type_wrapper.EnumTypeWrapper(_PROTOPAYLOADTYPE) -_PROTOERRORCODE = DESCRIPTOR.enum_types_by_name['ProtoErrorCode'] -ProtoErrorCode = enum_type_wrapper.EnumTypeWrapper(_PROTOERRORCODE) -PROTO_MESSAGE = 5 -ERROR_RES = 50 -HEARTBEAT_EVENT = 51 -UNKNOWN_ERROR = 1 -UNSUPPORTED_MESSAGE = 2 -INVALID_REQUEST = 3 -TIMEOUT_ERROR = 5 -ENTITY_NOT_FOUND = 6 -CANT_ROUTE_REQUEST = 7 -FRAME_TOO_LONG = 8 -MARKET_CLOSED = 9 -CONCURRENT_MODIFICATION = 10 -BLOCKED_PAYLOAD_TYPE = 11 - - +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'OpenApiCommonModelMessages_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None diff --git a/ctrader_open_api/messages/OpenApiMessages_pb2.py b/ctrader_open_api/messages/OpenApiMessages_pb2.py index 015980b..4831591 100644 --- a/ctrader_open_api/messages/OpenApiMessages_pb2.py +++ b/ctrader_open_api/messages/OpenApiMessages_pb2.py @@ -2,10 +2,9 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: OpenApiMessages.proto """Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -17,656 +16,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15OpenApiMessages.proto\x1a\x1aOpenApiModelMessages.proto\"\x8c\x01\n\x19ProtoOAApplicationAuthReq\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_APPLICATION_AUTH_REQ\x12\x10\n\x08\x63lientId\x18\x02 \x02(\t\x12\x14\n\x0c\x63lientSecret\x18\x03 \x02(\t\"d\n\x19ProtoOAApplicationAuthRes\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_APPLICATION_AUTH_RES\"\x8e\x01\n\x15ProtoOAAccountAuthReq\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_ACCOUNT_AUTH_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x13\n\x0b\x61\x63\x63\x65ssToken\x18\x03 \x02(\t\"y\n\x15ProtoOAAccountAuthRes\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_ACCOUNT_AUTH_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xb5\x01\n\x0fProtoOAErrorRes\x12<\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x12PROTO_OA_ERROR_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x01(\x03\x12\x11\n\terrorCode\x18\x03 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1f\n\x17maintenanceEndTimestamp\x18\x05 \x01(\x03\"z\n\x1cProtoOAClientDisconnectEvent\x12J\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType: PROTO_OA_CLIENT_DISCONNECT_EVENT\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\xa9\x01\n$ProtoOAAccountsTokenInvalidatedEvent\x12S\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:)PROTO_OA_ACCOUNTS_TOKEN_INVALIDATED_EVENT\x12\x1c\n\x14\x63tidTraderAccountIds\x18\x02 \x03(\x03\x12\x0e\n\x06reason\x18\x03 \x01(\t\"S\n\x11ProtoOAVersionReq\x12>\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x14PROTO_OA_VERSION_REQ\"d\n\x11ProtoOAVersionRes\x12>\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x14PROTO_OA_VERSION_RES\x12\x0f\n\x07version\x18\x02 \x02(\t\"\xb1\x05\n\x12ProtoOANewOrderReq\x12@\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x16PROTO_OA_NEW_ORDER_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x02(\x03\x12$\n\torderType\x18\x04 \x02(\x0e\x32\x11.ProtoOAOrderType\x12$\n\ttradeSide\x18\x05 \x02(\x0e\x32\x11.ProtoOATradeSide\x12\x0e\n\x06volume\x18\x06 \x02(\x03\x12\x12\n\nlimitPrice\x18\x07 \x01(\x01\x12\x11\n\tstopPrice\x18\x08 \x01(\x01\x12:\n\x0btimeInForce\x18\t \x01(\x0e\x32\x13.ProtoOATimeInForce:\x10GOOD_TILL_CANCEL\x12\x1b\n\x13\x65xpirationTimestamp\x18\n \x01(\x03\x12\x10\n\x08stopLoss\x18\x0b \x01(\x01\x12\x12\n\ntakeProfit\x18\x0c \x01(\x01\x12\x0f\n\x07\x63omment\x18\r \x01(\t\x12\x19\n\x11\x62\x61seSlippagePrice\x18\x0e \x01(\x01\x12\x18\n\x10slippageInPoints\x18\x0f \x01(\x05\x12\r\n\x05label\x18\x10 \x01(\t\x12\x12\n\npositionId\x18\x11 \x01(\x03\x12\x15\n\rclientOrderId\x18\x12 \x01(\t\x12\x18\n\x10relativeStopLoss\x18\x13 \x01(\x03\x12\x1a\n\x12relativeTakeProfit\x18\x14 \x01(\x03\x12\x1a\n\x12guaranteedStopLoss\x18\x15 \x01(\x08\x12\x18\n\x10trailingStopLoss\x18\x16 \x01(\x08\x12<\n\x11stopTriggerMethod\x18\x17 \x01(\x0e\x32\x1a.ProtoOAOrderTriggerMethod:\x05TRADE\"\x9c\x03\n\x15ProtoOAExecutionEvent\x12\x42\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x18PROTO_OA_EXECUTION_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12,\n\rexecutionType\x18\x03 \x02(\x0e\x32\x15.ProtoOAExecutionType\x12\"\n\x08position\x18\x04 \x01(\x0b\x32\x10.ProtoOAPosition\x12\x1c\n\x05order\x18\x05 \x01(\x0b\x32\r.ProtoOAOrder\x12\x1a\n\x04\x64\x65\x61l\x18\x06 \x01(\x0b\x32\x0c.ProtoOADeal\x12:\n\x14\x62onusDepositWithdraw\x18\x07 \x01(\x0b\x32\x1c.ProtoOABonusDepositWithdraw\x12\x30\n\x0f\x64\x65positWithdraw\x18\x08 \x01(\x0b\x32\x17.ProtoOADepositWithdraw\x12\x11\n\terrorCode\x18\t \x01(\t\x12\x15\n\risServerEvent\x18\n \x01(\x08\"\x8a\x01\n\x15ProtoOACancelOrderReq\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_CANCEL_ORDER_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x0f\n\x07orderId\x18\x03 \x02(\x03\"\xc6\x03\n\x14ProtoOAAmendOrderReq\x12\x42\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x18PROTO_OA_AMEND_ORDER_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x0f\n\x07orderId\x18\x03 \x02(\x03\x12\x0e\n\x06volume\x18\x04 \x01(\x03\x12\x12\n\nlimitPrice\x18\x05 \x01(\x01\x12\x11\n\tstopPrice\x18\x06 \x01(\x01\x12\x1b\n\x13\x65xpirationTimestamp\x18\x07 \x01(\x03\x12\x10\n\x08stopLoss\x18\x08 \x01(\x01\x12\x12\n\ntakeProfit\x18\t \x01(\x01\x12\x18\n\x10slippageInPoints\x18\n \x01(\x05\x12\x18\n\x10relativeStopLoss\x18\x0b \x01(\x03\x12\x1a\n\x12relativeTakeProfit\x18\x0c \x01(\x03\x12\x1a\n\x12guaranteedStopLoss\x18\r \x01(\x08\x12\x18\n\x10trailingStopLoss\x18\x0e \x01(\x08\x12<\n\x11stopTriggerMethod\x18\x0f \x01(\x0e\x32\x1a.ProtoOAOrderTriggerMethod:\x05TRADE\"\xb8\x02\n\x1bProtoOAAmendPositionSLTPReq\x12J\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType: PROTO_OA_AMEND_POSITION_SLTP_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x12\n\npositionId\x18\x03 \x02(\x03\x12\x10\n\x08stopLoss\x18\x04 \x01(\x01\x12\x12\n\ntakeProfit\x18\x05 \x01(\x01\x12\x1a\n\x12guaranteedStopLoss\x18\x07 \x01(\x08\x12\x18\n\x10trailingStopLoss\x18\x08 \x01(\x08\x12@\n\x15stopLossTriggerMethod\x18\t \x01(\x0e\x32\x1a.ProtoOAOrderTriggerMethod:\x05TRADE\"\xa1\x01\n\x17ProtoOAClosePositionReq\x12\x45\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1bPROTO_OA_CLOSE_POSITION_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x12\n\npositionId\x18\x03 \x02(\x03\x12\x0e\n\x06volume\x18\x04 \x02(\x03\"\xe2\x01\n\x1dProtoOATrailingSLChangedEvent\x12L\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\"PROTO_OA_TRAILING_SL_CHANGED_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x12\n\npositionId\x18\x03 \x02(\x03\x12\x0f\n\x07orderId\x18\x04 \x02(\x03\x12\x11\n\tstopPrice\x18\x05 \x02(\x01\x12\x1e\n\x16utcLastUpdateTimestamp\x18\x06 \x02(\x03\"u\n\x13ProtoOAAssetListReq\x12\x41\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x17PROTO_OA_ASSET_LIST_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\x93\x01\n\x13ProtoOAAssetListRes\x12\x41\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x17PROTO_OA_ASSET_LIST_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x1c\n\x05\x61sset\x18\x03 \x03(\x0b\x32\r.ProtoOAAsset\"\xa0\x01\n\x15ProtoOASymbolsListReq\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_SYMBOLS_LIST_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12%\n\x16includeArchivedSymbols\x18\x03 \x01(\x08:\x05\x66\x61lse\"\xce\x01\n\x15ProtoOASymbolsListRes\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_SYMBOLS_LIST_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12#\n\x06symbol\x18\x03 \x03(\x0b\x32\x13.ProtoOALightSymbol\x12.\n\x0e\x61rchivedSymbol\x18\x04 \x03(\x0b\x32\x16.ProtoOAArchivedSymbol\"\x8a\x01\n\x14ProtoOASymbolByIdReq\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_SYMBOL_BY_ID_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x03(\x03\"\xc8\x01\n\x14ProtoOASymbolByIdRes\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_SYMBOL_BY_ID_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x1e\n\x06symbol\x18\x03 \x03(\x0b\x32\x0e.ProtoOASymbol\x12.\n\x0e\x61rchivedSymbol\x18\x04 \x03(\x0b\x32\x16.ProtoOAArchivedSymbol\"\xb7\x01\n\x1eProtoOASymbolsForConversionReq\x12M\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:#PROTO_OA_SYMBOLS_FOR_CONVERSION_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x14\n\x0c\x66irstAssetId\x18\x03 \x02(\x03\x12\x13\n\x0blastAssetId\x18\x04 \x02(\x03\"\xb1\x01\n\x1eProtoOASymbolsForConversionRes\x12M\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:#PROTO_OA_SYMBOLS_FOR_CONVERSION_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12#\n\x06symbol\x18\x03 \x03(\x0b\x32\x13.ProtoOALightSymbol\"\x93\x01\n\x19ProtoOASymbolChangedEvent\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_SYMBOL_CHANGED_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x03(\x03\"\x80\x01\n\x18ProtoOAAssetClassListReq\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_ASSET_CLASS_LIST_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xa8\x01\n\x18ProtoOAAssetClassListRes\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_ASSET_CLASS_LIST_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\nassetClass\x18\x03 \x03(\x0b\x32\x12.ProtoOAAssetClass\"n\n\x10ProtoOATraderReq\x12=\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x13PROTO_OA_TRADER_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\x8e\x01\n\x10ProtoOATraderRes\x12=\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x13PROTO_OA_TRADER_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x1e\n\x06trader\x18\x03 \x02(\x0b\x32\x0e.ProtoOATrader\"\xa0\x01\n\x19ProtoOATraderUpdatedEvent\x12\x46\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1cPROTO_OA_TRADER_UPDATE_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x1e\n\x06trader\x18\x03 \x02(\x0b\x32\x0e.ProtoOATrader\"t\n\x13ProtoOAReconcileReq\x12@\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x16PROTO_OA_RECONCILE_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xb6\x01\n\x13ProtoOAReconcileRes\x12@\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x16PROTO_OA_RECONCILE_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\"\n\x08position\x18\x03 \x03(\x0b\x32\x10.ProtoOAPosition\x12\x1c\n\x05order\x18\x04 \x03(\x0b\x32\r.ProtoOAOrder\"\xc8\x01\n\x16ProtoOAOrderErrorEvent\x12\x44\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1aPROTO_OA_ORDER_ERROR_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x05 \x02(\x03\x12\x11\n\terrorCode\x18\x02 \x02(\t\x12\x0f\n\x07orderId\x18\x03 \x01(\x03\x12\x12\n\npositionId\x18\x06 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\"\xb0\x01\n\x12ProtoOADealListReq\x12@\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x16PROTO_OA_DEAL_LIST_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x15\n\rfromTimestamp\x18\x03 \x02(\x03\x12\x13\n\x0btoTimestamp\x18\x04 \x02(\x03\x12\x0f\n\x07maxRows\x18\x05 \x01(\x05\"\xa0\x01\n\x12ProtoOADealListRes\x12@\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x16PROTO_OA_DEAL_LIST_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x1a\n\x04\x64\x65\x61l\x18\x03 \x03(\x0b\x32\x0c.ProtoOADeal\x12\x0f\n\x07hasMore\x18\x04 \x02(\x08\"\xa1\x01\n\x13ProtoOAOrderListReq\x12\x41\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x17PROTO_OA_ORDER_LIST_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x15\n\rfromTimestamp\x18\x03 \x02(\x03\x12\x13\n\x0btoTimestamp\x18\x04 \x02(\x03\"\xa4\x01\n\x13ProtoOAOrderListRes\x12\x41\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x17PROTO_OA_ORDER_LIST_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x1c\n\x05order\x18\x03 \x03(\x0b\x32\r.ProtoOAOrder\x12\x0f\n\x07hasMore\x18\x04 \x02(\x08\"\xa1\x01\n\x18ProtoOAExpectedMarginReq\x12\x46\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1cPROTO_OA_EXPECTED_MARGIN_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x02(\x03\x12\x0e\n\x06volume\x18\x04 \x03(\x03\"\xbc\x01\n\x18ProtoOAExpectedMarginRes\x12\x46\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1cPROTO_OA_EXPECTED_MARGIN_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\x06margin\x18\x03 \x03(\x0b\x32\x16.ProtoOAExpectedMargin\x12\x13\n\x0bmoneyDigits\x18\x04 \x01(\r\"\xbe\x01\n\x19ProtoOAMarginChangedEvent\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_MARGIN_CHANGED_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x12\n\npositionId\x18\x03 \x02(\x04\x12\x12\n\nusedMargin\x18\x04 \x02(\x04\x12\x13\n\x0bmoneyDigits\x18\x05 \x01(\r\"\xb7\x01\n\x1dProtoOACashFlowHistoryListReq\x12M\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:#PROTO_OA_CASH_FLOW_HISTORY_LIST_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x15\n\rfromTimestamp\x18\x03 \x02(\x03\x12\x13\n\x0btoTimestamp\x18\x04 \x02(\x03\"\xbd\x01\n\x1dProtoOACashFlowHistoryListRes\x12M\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:#PROTO_OA_CASH_FLOW_HISTORY_LIST_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x30\n\x0f\x64\x65positWithdraw\x18\x03 \x03(\x0b\x32\x17.ProtoOADepositWithdraw\"\x91\x01\n%ProtoOAGetAccountListByAccessTokenReq\x12S\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:)PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_REQ\x12\x13\n\x0b\x61\x63\x63\x65ssToken\x18\x02 \x02(\t\"\xff\x01\n%ProtoOAGetAccountListByAccessTokenRes\x12S\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:)PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_RES\x12\x13\n\x0b\x61\x63\x63\x65ssToken\x18\x02 \x02(\t\x12\x36\n\x0fpermissionScope\x18\x03 \x01(\x0e\x32\x1d.ProtoOAClientPermissionScope\x12\x34\n\x11\x63tidTraderAccount\x18\x04 \x03(\x0b\x32\x19.ProtoOACtidTraderAccount\"t\n\x16ProtoOARefreshTokenReq\x12\x44\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1aPROTO_OA_REFRESH_TOKEN_REQ\x12\x14\n\x0crefreshToken\x18\x02 \x02(\t\"\xaf\x01\n\x16ProtoOARefreshTokenRes\x12\x44\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1aPROTO_OA_REFRESH_TOKEN_RES\x12\x13\n\x0b\x61\x63\x63\x65ssToken\x18\x02 \x02(\t\x12\x11\n\ttokenType\x18\x03 \x02(\t\x12\x11\n\texpiresIn\x18\x04 \x02(\x03\x12\x14\n\x0crefreshToken\x18\x05 \x02(\t\"\xb3\x01\n\x18ProtoOASubscribeSpotsReq\x12\x46\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1cPROTO_OA_SUBSCRIBE_SPOTS_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x03(\x03\x12 \n\x18subscribeToSpotTimestamp\x18\x04 \x01(\x08\"\x7f\n\x18ProtoOASubscribeSpotsRes\x12\x46\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1cPROTO_OA_SUBSCRIBE_SPOTS_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\x95\x01\n\x1aProtoOAUnsubscribeSpotsReq\x12H\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1ePROTO_OA_UNSUBSCRIBE_SPOTS_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x03(\x03\"\x83\x01\n\x1aProtoOAUnsubscribeSpotsRes\x12H\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1ePROTO_OA_UNSUBSCRIBE_SPOTS_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xe7\x01\n\x10ProtoOASpotEvent\x12=\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x13PROTO_OA_SPOT_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x02(\x03\x12\x0b\n\x03\x62id\x18\x04 \x01(\x04\x12\x0b\n\x03\x61sk\x18\x05 \x01(\x04\x12\"\n\x08trendbar\x18\x06 \x03(\x0b\x32\x10.ProtoOATrendbar\x12\x14\n\x0csessionClose\x18\x07 \x01(\x04\x12\x11\n\ttimestamp\x18\x08 \x01(\x03\"\xc8\x01\n\x1fProtoOASubscribeLiveTrendbarReq\x12N\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:$PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\x06period\x18\x03 \x02(\x0e\x32\x16.ProtoOATrendbarPeriod\x12\x10\n\x08symbolId\x18\x04 \x02(\x03\"\x8e\x01\n\x1fProtoOASubscribeLiveTrendbarRes\x12N\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:$PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xcc\x01\n!ProtoOAUnsubscribeLiveTrendbarReq\x12P\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:&PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\x06period\x18\x03 \x02(\x0e\x32\x16.ProtoOATrendbarPeriod\x12\x10\n\x08symbolId\x18\x04 \x02(\x03\"\x92\x01\n!ProtoOAUnsubscribeLiveTrendbarRes\x12P\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:&PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xf0\x01\n\x16ProtoOAGetTrendbarsReq\x12\x44\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1aPROTO_OA_GET_TRENDBARS_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x15\n\rfromTimestamp\x18\x03 \x02(\x03\x12\x13\n\x0btoTimestamp\x18\x04 \x02(\x03\x12&\n\x06period\x18\x05 \x02(\x0e\x32\x16.ProtoOATrendbarPeriod\x12\x10\n\x08symbolId\x18\x06 \x02(\x03\x12\r\n\x05\x63ount\x18\x07 \x01(\r\"\xec\x01\n\x16ProtoOAGetTrendbarsRes\x12\x44\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1aPROTO_OA_GET_TRENDBARS_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\x06period\x18\x03 \x02(\x0e\x32\x16.ProtoOATrendbarPeriod\x12\x11\n\ttimestamp\x18\x04 \x02(\x03\x12\"\n\x08trendbar\x18\x05 \x03(\x0b\x32\x10.ProtoOATrendbar\x12\x10\n\x08symbolId\x18\x06 \x01(\x03\"\xd8\x01\n\x15ProtoOAGetTickDataReq\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_GET_TICKDATA_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x02(\x03\x12\x1f\n\x04type\x18\x04 \x02(\x0e\x32\x11.ProtoOAQuoteType\x12\x15\n\rfromTimestamp\x18\x05 \x02(\x03\x12\x13\n\x0btoTimestamp\x18\x06 \x02(\x03\"\xae\x01\n\x15ProtoOAGetTickDataRes\x12\x43\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x19PROTO_OA_GET_TICKDATA_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\"\n\x08tickData\x18\x03 \x03(\x0b\x32\x10.ProtoOATickData\x12\x0f\n\x07hasMore\x18\x04 \x02(\x08\"\x88\x01\n\x1fProtoOAGetCtidProfileByTokenReq\x12P\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:&PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_REQ\x12\x13\n\x0b\x61\x63\x63\x65ssToken\x18\x02 \x02(\t\"\x99\x01\n\x1fProtoOAGetCtidProfileByTokenRes\x12P\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:&PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_RES\x12$\n\x07profile\x18\x02 \x02(\x0b\x32\x13.ProtoOACtidProfile\"\xc4\x01\n\x11ProtoOADepthEvent\x12>\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x14PROTO_OA_DEPTH_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x02(\x04\x12%\n\tnewQuotes\x18\x04 \x03(\x0b\x32\x12.ProtoOADepthQuote\x12\x19\n\rdeletedQuotes\x18\x05 \x03(\x04\x42\x02\x10\x01\"\x9e\x01\n\x1eProtoOASubscribeDepthQuotesReq\x12M\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:#PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x03(\x03\"\x8c\x01\n\x1eProtoOASubscribeDepthQuotesRes\x12M\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:#PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xa2\x01\n ProtoOAUnsubscribeDepthQuotesReq\x12O\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:%PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x10\n\x08symbolId\x18\x03 \x03(\x03\"\x90\x01\n ProtoOAUnsubscribeDepthQuotesRes\x12O\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:%PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\x83\x01\n\x1cProtoOASymbolCategoryListReq\x12\x46\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1cPROTO_OA_SYMBOL_CATEGORY_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\xb3\x01\n\x1cProtoOASymbolCategoryListRes\x12\x46\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1cPROTO_OA_SYMBOL_CATEGORY_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12.\n\x0esymbolCategory\x18\x03 \x03(\x0b\x32\x16.ProtoOASymbolCategory\"}\n\x17ProtoOAAccountLogoutReq\x12\x45\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1bPROTO_OA_ACCOUNT_LOGOUT_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"}\n\x17ProtoOAAccountLogoutRes\x12\x45\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1bPROTO_OA_ACCOUNT_LOGOUT_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\x89\x01\n\x1dProtoOAAccountDisconnectEvent\x12K\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:!PROTO_OA_ACCOUNT_DISCONNECT_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\x80\x01\n\x18ProtoOAMarginCallListReq\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_MARGIN_CALL_LIST_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\"\x8b\x01\n\x18ProtoOAMarginCallListRes\x12G\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1dPROTO_OA_MARGIN_CALL_LIST_RES\x12&\n\nmarginCall\x18\x02 \x03(\x0b\x32\x12.ProtoOAMarginCall\"\xac\x01\n\x1aProtoOAMarginCallUpdateReq\x12I\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1fPROTO_OA_MARGIN_CALL_UPDATE_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\nmarginCall\x18\x03 \x02(\x0b\x32\x12.ProtoOAMarginCall\"g\n\x1aProtoOAMarginCallUpdateRes\x12I\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\x1fPROTO_OA_MARGIN_CALL_UPDATE_RES\"\xb0\x01\n\x1cProtoOAMarginCallUpdateEvent\x12K\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:!PROTO_OA_MARGIN_CALL_UPDATE_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\nmarginCall\x18\x03 \x02(\x0b\x32\x12.ProtoOAMarginCall\"\xb2\x01\n\x1dProtoOAMarginCallTriggerEvent\x12L\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:\"PROTO_OA_MARGIN_CALL_TRIGGER_EVENT\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12&\n\nmarginCall\x18\x03 \x02(\x0b\x32\x12.ProtoOAMarginCall\"\xa0\x01\n ProtoOAGetDynamicLeverageByIDReq\x12K\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:!PROTO_OA_GET_DYNAMIC_LEVERAGE_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x12\n\nleverageId\x18\x03 \x02(\x03\"\xb7\x01\n ProtoOAGetDynamicLeverageByIDRes\x12K\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:!PROTO_OA_GET_DYNAMIC_LEVERAGE_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12)\n\x08leverage\x18\x03 \x02(\x0b\x32\x17.ProtoOADynamicLeverage\"\xce\x01\n\x1eProtoOADealListByPositionIdReq\x12O\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:%PROTO_OA_DEAL_LIST_BY_POSITION_ID_REQ\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x12\n\npositionId\x18\x03 \x02(\x03\x12\x15\n\rfromTimestamp\x18\x04 \x02(\x03\x12\x13\n\x0btoTimestamp\x18\x05 \x02(\x03\"\xbb\x01\n\x1eProtoOADealListByPositionIdRes\x12O\n\x0bpayloadType\x18\x01 \x01(\x0e\x32\x13.ProtoOAPayloadType:%PROTO_OA_DEAL_LIST_BY_POSITION_ID_RES\x12\x1b\n\x13\x63tidTraderAccountId\x18\x02 \x02(\x03\x12\x1a\n\x04\x64\x65\x61l\x18\x03 \x03(\x0b\x32\x0c.ProtoOADeal\x12\x0f\n\x07hasMore\x18\x04 \x02(\x08\x42\x42\n\x1f\x63om.xtrader.protocol.openapi.v2B\x1a\x43ontainerOpenApiV2MessagesP\x01\xa0\x01\x01') - - -_PROTOOAAPPLICATIONAUTHREQ = DESCRIPTOR.message_types_by_name['ProtoOAApplicationAuthReq'] -_PROTOOAAPPLICATIONAUTHRES = DESCRIPTOR.message_types_by_name['ProtoOAApplicationAuthRes'] -_PROTOOAACCOUNTAUTHREQ = DESCRIPTOR.message_types_by_name['ProtoOAAccountAuthReq'] -_PROTOOAACCOUNTAUTHRES = DESCRIPTOR.message_types_by_name['ProtoOAAccountAuthRes'] -_PROTOOAERRORRES = DESCRIPTOR.message_types_by_name['ProtoOAErrorRes'] -_PROTOOACLIENTDISCONNECTEVENT = DESCRIPTOR.message_types_by_name['ProtoOAClientDisconnectEvent'] -_PROTOOAACCOUNTSTOKENINVALIDATEDEVENT = DESCRIPTOR.message_types_by_name['ProtoOAAccountsTokenInvalidatedEvent'] -_PROTOOAVERSIONREQ = DESCRIPTOR.message_types_by_name['ProtoOAVersionReq'] -_PROTOOAVERSIONRES = DESCRIPTOR.message_types_by_name['ProtoOAVersionRes'] -_PROTOOANEWORDERREQ = DESCRIPTOR.message_types_by_name['ProtoOANewOrderReq'] -_PROTOOAEXECUTIONEVENT = DESCRIPTOR.message_types_by_name['ProtoOAExecutionEvent'] -_PROTOOACANCELORDERREQ = DESCRIPTOR.message_types_by_name['ProtoOACancelOrderReq'] -_PROTOOAAMENDORDERREQ = DESCRIPTOR.message_types_by_name['ProtoOAAmendOrderReq'] -_PROTOOAAMENDPOSITIONSLTPREQ = DESCRIPTOR.message_types_by_name['ProtoOAAmendPositionSLTPReq'] -_PROTOOACLOSEPOSITIONREQ = DESCRIPTOR.message_types_by_name['ProtoOAClosePositionReq'] -_PROTOOATRAILINGSLCHANGEDEVENT = DESCRIPTOR.message_types_by_name['ProtoOATrailingSLChangedEvent'] -_PROTOOAASSETLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOAAssetListReq'] -_PROTOOAASSETLISTRES = DESCRIPTOR.message_types_by_name['ProtoOAAssetListRes'] -_PROTOOASYMBOLSLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOASymbolsListReq'] -_PROTOOASYMBOLSLISTRES = DESCRIPTOR.message_types_by_name['ProtoOASymbolsListRes'] -_PROTOOASYMBOLBYIDREQ = DESCRIPTOR.message_types_by_name['ProtoOASymbolByIdReq'] -_PROTOOASYMBOLBYIDRES = DESCRIPTOR.message_types_by_name['ProtoOASymbolByIdRes'] -_PROTOOASYMBOLSFORCONVERSIONREQ = DESCRIPTOR.message_types_by_name['ProtoOASymbolsForConversionReq'] -_PROTOOASYMBOLSFORCONVERSIONRES = DESCRIPTOR.message_types_by_name['ProtoOASymbolsForConversionRes'] -_PROTOOASYMBOLCHANGEDEVENT = DESCRIPTOR.message_types_by_name['ProtoOASymbolChangedEvent'] -_PROTOOAASSETCLASSLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOAAssetClassListReq'] -_PROTOOAASSETCLASSLISTRES = DESCRIPTOR.message_types_by_name['ProtoOAAssetClassListRes'] -_PROTOOATRADERREQ = DESCRIPTOR.message_types_by_name['ProtoOATraderReq'] -_PROTOOATRADERRES = DESCRIPTOR.message_types_by_name['ProtoOATraderRes'] -_PROTOOATRADERUPDATEDEVENT = DESCRIPTOR.message_types_by_name['ProtoOATraderUpdatedEvent'] -_PROTOOARECONCILEREQ = DESCRIPTOR.message_types_by_name['ProtoOAReconcileReq'] -_PROTOOARECONCILERES = DESCRIPTOR.message_types_by_name['ProtoOAReconcileRes'] -_PROTOOAORDERERROREVENT = DESCRIPTOR.message_types_by_name['ProtoOAOrderErrorEvent'] -_PROTOOADEALLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOADealListReq'] -_PROTOOADEALLISTRES = DESCRIPTOR.message_types_by_name['ProtoOADealListRes'] -_PROTOOAORDERLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOAOrderListReq'] -_PROTOOAORDERLISTRES = DESCRIPTOR.message_types_by_name['ProtoOAOrderListRes'] -_PROTOOAEXPECTEDMARGINREQ = DESCRIPTOR.message_types_by_name['ProtoOAExpectedMarginReq'] -_PROTOOAEXPECTEDMARGINRES = DESCRIPTOR.message_types_by_name['ProtoOAExpectedMarginRes'] -_PROTOOAMARGINCHANGEDEVENT = DESCRIPTOR.message_types_by_name['ProtoOAMarginChangedEvent'] -_PROTOOACASHFLOWHISTORYLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOACashFlowHistoryListReq'] -_PROTOOACASHFLOWHISTORYLISTRES = DESCRIPTOR.message_types_by_name['ProtoOACashFlowHistoryListRes'] -_PROTOOAGETACCOUNTLISTBYACCESSTOKENREQ = DESCRIPTOR.message_types_by_name['ProtoOAGetAccountListByAccessTokenReq'] -_PROTOOAGETACCOUNTLISTBYACCESSTOKENRES = DESCRIPTOR.message_types_by_name['ProtoOAGetAccountListByAccessTokenRes'] -_PROTOOAREFRESHTOKENREQ = DESCRIPTOR.message_types_by_name['ProtoOARefreshTokenReq'] -_PROTOOAREFRESHTOKENRES = DESCRIPTOR.message_types_by_name['ProtoOARefreshTokenRes'] -_PROTOOASUBSCRIBESPOTSREQ = DESCRIPTOR.message_types_by_name['ProtoOASubscribeSpotsReq'] -_PROTOOASUBSCRIBESPOTSRES = DESCRIPTOR.message_types_by_name['ProtoOASubscribeSpotsRes'] -_PROTOOAUNSUBSCRIBESPOTSREQ = DESCRIPTOR.message_types_by_name['ProtoOAUnsubscribeSpotsReq'] -_PROTOOAUNSUBSCRIBESPOTSRES = DESCRIPTOR.message_types_by_name['ProtoOAUnsubscribeSpotsRes'] -_PROTOOASPOTEVENT = DESCRIPTOR.message_types_by_name['ProtoOASpotEvent'] -_PROTOOASUBSCRIBELIVETRENDBARREQ = DESCRIPTOR.message_types_by_name['ProtoOASubscribeLiveTrendbarReq'] -_PROTOOASUBSCRIBELIVETRENDBARRES = DESCRIPTOR.message_types_by_name['ProtoOASubscribeLiveTrendbarRes'] -_PROTOOAUNSUBSCRIBELIVETRENDBARREQ = DESCRIPTOR.message_types_by_name['ProtoOAUnsubscribeLiveTrendbarReq'] -_PROTOOAUNSUBSCRIBELIVETRENDBARRES = DESCRIPTOR.message_types_by_name['ProtoOAUnsubscribeLiveTrendbarRes'] -_PROTOOAGETTRENDBARSREQ = DESCRIPTOR.message_types_by_name['ProtoOAGetTrendbarsReq'] -_PROTOOAGETTRENDBARSRES = DESCRIPTOR.message_types_by_name['ProtoOAGetTrendbarsRes'] -_PROTOOAGETTICKDATAREQ = DESCRIPTOR.message_types_by_name['ProtoOAGetTickDataReq'] -_PROTOOAGETTICKDATARES = DESCRIPTOR.message_types_by_name['ProtoOAGetTickDataRes'] -_PROTOOAGETCTIDPROFILEBYTOKENREQ = DESCRIPTOR.message_types_by_name['ProtoOAGetCtidProfileByTokenReq'] -_PROTOOAGETCTIDPROFILEBYTOKENRES = DESCRIPTOR.message_types_by_name['ProtoOAGetCtidProfileByTokenRes'] -_PROTOOADEPTHEVENT = DESCRIPTOR.message_types_by_name['ProtoOADepthEvent'] -_PROTOOASUBSCRIBEDEPTHQUOTESREQ = DESCRIPTOR.message_types_by_name['ProtoOASubscribeDepthQuotesReq'] -_PROTOOASUBSCRIBEDEPTHQUOTESRES = DESCRIPTOR.message_types_by_name['ProtoOASubscribeDepthQuotesRes'] -_PROTOOAUNSUBSCRIBEDEPTHQUOTESREQ = DESCRIPTOR.message_types_by_name['ProtoOAUnsubscribeDepthQuotesReq'] -_PROTOOAUNSUBSCRIBEDEPTHQUOTESRES = DESCRIPTOR.message_types_by_name['ProtoOAUnsubscribeDepthQuotesRes'] -_PROTOOASYMBOLCATEGORYLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOASymbolCategoryListReq'] -_PROTOOASYMBOLCATEGORYLISTRES = DESCRIPTOR.message_types_by_name['ProtoOASymbolCategoryListRes'] -_PROTOOAACCOUNTLOGOUTREQ = DESCRIPTOR.message_types_by_name['ProtoOAAccountLogoutReq'] -_PROTOOAACCOUNTLOGOUTRES = DESCRIPTOR.message_types_by_name['ProtoOAAccountLogoutRes'] -_PROTOOAACCOUNTDISCONNECTEVENT = DESCRIPTOR.message_types_by_name['ProtoOAAccountDisconnectEvent'] -_PROTOOAMARGINCALLLISTREQ = DESCRIPTOR.message_types_by_name['ProtoOAMarginCallListReq'] -_PROTOOAMARGINCALLLISTRES = DESCRIPTOR.message_types_by_name['ProtoOAMarginCallListRes'] -_PROTOOAMARGINCALLUPDATEREQ = DESCRIPTOR.message_types_by_name['ProtoOAMarginCallUpdateReq'] -_PROTOOAMARGINCALLUPDATERES = DESCRIPTOR.message_types_by_name['ProtoOAMarginCallUpdateRes'] -_PROTOOAMARGINCALLUPDATEEVENT = DESCRIPTOR.message_types_by_name['ProtoOAMarginCallUpdateEvent'] -_PROTOOAMARGINCALLTRIGGEREVENT = DESCRIPTOR.message_types_by_name['ProtoOAMarginCallTriggerEvent'] -_PROTOOAGETDYNAMICLEVERAGEBYIDREQ = DESCRIPTOR.message_types_by_name['ProtoOAGetDynamicLeverageByIDReq'] -_PROTOOAGETDYNAMICLEVERAGEBYIDRES = DESCRIPTOR.message_types_by_name['ProtoOAGetDynamicLeverageByIDRes'] -_PROTOOADEALLISTBYPOSITIONIDREQ = DESCRIPTOR.message_types_by_name['ProtoOADealListByPositionIdReq'] -_PROTOOADEALLISTBYPOSITIONIDRES = DESCRIPTOR.message_types_by_name['ProtoOADealListByPositionIdRes'] -ProtoOAApplicationAuthReq = _reflection.GeneratedProtocolMessageType('ProtoOAApplicationAuthReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAAPPLICATIONAUTHREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAApplicationAuthReq) - }) -_sym_db.RegisterMessage(ProtoOAApplicationAuthReq) - -ProtoOAApplicationAuthRes = _reflection.GeneratedProtocolMessageType('ProtoOAApplicationAuthRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAAPPLICATIONAUTHRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAApplicationAuthRes) - }) -_sym_db.RegisterMessage(ProtoOAApplicationAuthRes) - -ProtoOAAccountAuthReq = _reflection.GeneratedProtocolMessageType('ProtoOAAccountAuthReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAACCOUNTAUTHREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAccountAuthReq) - }) -_sym_db.RegisterMessage(ProtoOAAccountAuthReq) - -ProtoOAAccountAuthRes = _reflection.GeneratedProtocolMessageType('ProtoOAAccountAuthRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAACCOUNTAUTHRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAccountAuthRes) - }) -_sym_db.RegisterMessage(ProtoOAAccountAuthRes) - -ProtoOAErrorRes = _reflection.GeneratedProtocolMessageType('ProtoOAErrorRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAERRORRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAErrorRes) - }) -_sym_db.RegisterMessage(ProtoOAErrorRes) - -ProtoOAClientDisconnectEvent = _reflection.GeneratedProtocolMessageType('ProtoOAClientDisconnectEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACLIENTDISCONNECTEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAClientDisconnectEvent) - }) -_sym_db.RegisterMessage(ProtoOAClientDisconnectEvent) - -ProtoOAAccountsTokenInvalidatedEvent = _reflection.GeneratedProtocolMessageType('ProtoOAAccountsTokenInvalidatedEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAACCOUNTSTOKENINVALIDATEDEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAccountsTokenInvalidatedEvent) - }) -_sym_db.RegisterMessage(ProtoOAAccountsTokenInvalidatedEvent) - -ProtoOAVersionReq = _reflection.GeneratedProtocolMessageType('ProtoOAVersionReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAVERSIONREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAVersionReq) - }) -_sym_db.RegisterMessage(ProtoOAVersionReq) - -ProtoOAVersionRes = _reflection.GeneratedProtocolMessageType('ProtoOAVersionRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAVERSIONRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAVersionRes) - }) -_sym_db.RegisterMessage(ProtoOAVersionRes) - -ProtoOANewOrderReq = _reflection.GeneratedProtocolMessageType('ProtoOANewOrderReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOANEWORDERREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOANewOrderReq) - }) -_sym_db.RegisterMessage(ProtoOANewOrderReq) - -ProtoOAExecutionEvent = _reflection.GeneratedProtocolMessageType('ProtoOAExecutionEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAEXECUTIONEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAExecutionEvent) - }) -_sym_db.RegisterMessage(ProtoOAExecutionEvent) - -ProtoOACancelOrderReq = _reflection.GeneratedProtocolMessageType('ProtoOACancelOrderReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACANCELORDERREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOACancelOrderReq) - }) -_sym_db.RegisterMessage(ProtoOACancelOrderReq) - -ProtoOAAmendOrderReq = _reflection.GeneratedProtocolMessageType('ProtoOAAmendOrderReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAAMENDORDERREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAmendOrderReq) - }) -_sym_db.RegisterMessage(ProtoOAAmendOrderReq) - -ProtoOAAmendPositionSLTPReq = _reflection.GeneratedProtocolMessageType('ProtoOAAmendPositionSLTPReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAAMENDPOSITIONSLTPREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAmendPositionSLTPReq) - }) -_sym_db.RegisterMessage(ProtoOAAmendPositionSLTPReq) - -ProtoOAClosePositionReq = _reflection.GeneratedProtocolMessageType('ProtoOAClosePositionReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACLOSEPOSITIONREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAClosePositionReq) - }) -_sym_db.RegisterMessage(ProtoOAClosePositionReq) - -ProtoOATrailingSLChangedEvent = _reflection.GeneratedProtocolMessageType('ProtoOATrailingSLChangedEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATRAILINGSLCHANGEDEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATrailingSLChangedEvent) - }) -_sym_db.RegisterMessage(ProtoOATrailingSLChangedEvent) - -ProtoOAAssetListReq = _reflection.GeneratedProtocolMessageType('ProtoOAAssetListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAASSETLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAssetListReq) - }) -_sym_db.RegisterMessage(ProtoOAAssetListReq) - -ProtoOAAssetListRes = _reflection.GeneratedProtocolMessageType('ProtoOAAssetListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAASSETLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAssetListRes) - }) -_sym_db.RegisterMessage(ProtoOAAssetListRes) - -ProtoOASymbolsListReq = _reflection.GeneratedProtocolMessageType('ProtoOASymbolsListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLSLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolsListReq) - }) -_sym_db.RegisterMessage(ProtoOASymbolsListReq) - -ProtoOASymbolsListRes = _reflection.GeneratedProtocolMessageType('ProtoOASymbolsListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLSLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolsListRes) - }) -_sym_db.RegisterMessage(ProtoOASymbolsListRes) - -ProtoOASymbolByIdReq = _reflection.GeneratedProtocolMessageType('ProtoOASymbolByIdReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLBYIDREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolByIdReq) - }) -_sym_db.RegisterMessage(ProtoOASymbolByIdReq) - -ProtoOASymbolByIdRes = _reflection.GeneratedProtocolMessageType('ProtoOASymbolByIdRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLBYIDRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolByIdRes) - }) -_sym_db.RegisterMessage(ProtoOASymbolByIdRes) - -ProtoOASymbolsForConversionReq = _reflection.GeneratedProtocolMessageType('ProtoOASymbolsForConversionReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLSFORCONVERSIONREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolsForConversionReq) - }) -_sym_db.RegisterMessage(ProtoOASymbolsForConversionReq) - -ProtoOASymbolsForConversionRes = _reflection.GeneratedProtocolMessageType('ProtoOASymbolsForConversionRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLSFORCONVERSIONRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolsForConversionRes) - }) -_sym_db.RegisterMessage(ProtoOASymbolsForConversionRes) - -ProtoOASymbolChangedEvent = _reflection.GeneratedProtocolMessageType('ProtoOASymbolChangedEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLCHANGEDEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolChangedEvent) - }) -_sym_db.RegisterMessage(ProtoOASymbolChangedEvent) - -ProtoOAAssetClassListReq = _reflection.GeneratedProtocolMessageType('ProtoOAAssetClassListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAASSETCLASSLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAssetClassListReq) - }) -_sym_db.RegisterMessage(ProtoOAAssetClassListReq) - -ProtoOAAssetClassListRes = _reflection.GeneratedProtocolMessageType('ProtoOAAssetClassListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAASSETCLASSLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAssetClassListRes) - }) -_sym_db.RegisterMessage(ProtoOAAssetClassListRes) - -ProtoOATraderReq = _reflection.GeneratedProtocolMessageType('ProtoOATraderReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATRADERREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATraderReq) - }) -_sym_db.RegisterMessage(ProtoOATraderReq) - -ProtoOATraderRes = _reflection.GeneratedProtocolMessageType('ProtoOATraderRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATRADERRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATraderRes) - }) -_sym_db.RegisterMessage(ProtoOATraderRes) - -ProtoOATraderUpdatedEvent = _reflection.GeneratedProtocolMessageType('ProtoOATraderUpdatedEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATRADERUPDATEDEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATraderUpdatedEvent) - }) -_sym_db.RegisterMessage(ProtoOATraderUpdatedEvent) - -ProtoOAReconcileReq = _reflection.GeneratedProtocolMessageType('ProtoOAReconcileReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOARECONCILEREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAReconcileReq) - }) -_sym_db.RegisterMessage(ProtoOAReconcileReq) - -ProtoOAReconcileRes = _reflection.GeneratedProtocolMessageType('ProtoOAReconcileRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOARECONCILERES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAReconcileRes) - }) -_sym_db.RegisterMessage(ProtoOAReconcileRes) - -ProtoOAOrderErrorEvent = _reflection.GeneratedProtocolMessageType('ProtoOAOrderErrorEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAORDERERROREVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAOrderErrorEvent) - }) -_sym_db.RegisterMessage(ProtoOAOrderErrorEvent) - -ProtoOADealListReq = _reflection.GeneratedProtocolMessageType('ProtoOADealListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEALLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADealListReq) - }) -_sym_db.RegisterMessage(ProtoOADealListReq) - -ProtoOADealListRes = _reflection.GeneratedProtocolMessageType('ProtoOADealListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEALLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADealListRes) - }) -_sym_db.RegisterMessage(ProtoOADealListRes) - -ProtoOAOrderListReq = _reflection.GeneratedProtocolMessageType('ProtoOAOrderListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAORDERLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAOrderListReq) - }) -_sym_db.RegisterMessage(ProtoOAOrderListReq) - -ProtoOAOrderListRes = _reflection.GeneratedProtocolMessageType('ProtoOAOrderListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAORDERLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAOrderListRes) - }) -_sym_db.RegisterMessage(ProtoOAOrderListRes) - -ProtoOAExpectedMarginReq = _reflection.GeneratedProtocolMessageType('ProtoOAExpectedMarginReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAEXPECTEDMARGINREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAExpectedMarginReq) - }) -_sym_db.RegisterMessage(ProtoOAExpectedMarginReq) - -ProtoOAExpectedMarginRes = _reflection.GeneratedProtocolMessageType('ProtoOAExpectedMarginRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAEXPECTEDMARGINRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAExpectedMarginRes) - }) -_sym_db.RegisterMessage(ProtoOAExpectedMarginRes) - -ProtoOAMarginChangedEvent = _reflection.GeneratedProtocolMessageType('ProtoOAMarginChangedEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCHANGEDEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginChangedEvent) - }) -_sym_db.RegisterMessage(ProtoOAMarginChangedEvent) - -ProtoOACashFlowHistoryListReq = _reflection.GeneratedProtocolMessageType('ProtoOACashFlowHistoryListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACASHFLOWHISTORYLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOACashFlowHistoryListReq) - }) -_sym_db.RegisterMessage(ProtoOACashFlowHistoryListReq) - -ProtoOACashFlowHistoryListRes = _reflection.GeneratedProtocolMessageType('ProtoOACashFlowHistoryListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACASHFLOWHISTORYLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOACashFlowHistoryListRes) - }) -_sym_db.RegisterMessage(ProtoOACashFlowHistoryListRes) - -ProtoOAGetAccountListByAccessTokenReq = _reflection.GeneratedProtocolMessageType('ProtoOAGetAccountListByAccessTokenReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETACCOUNTLISTBYACCESSTOKENREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetAccountListByAccessTokenReq) - }) -_sym_db.RegisterMessage(ProtoOAGetAccountListByAccessTokenReq) - -ProtoOAGetAccountListByAccessTokenRes = _reflection.GeneratedProtocolMessageType('ProtoOAGetAccountListByAccessTokenRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETACCOUNTLISTBYACCESSTOKENRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetAccountListByAccessTokenRes) - }) -_sym_db.RegisterMessage(ProtoOAGetAccountListByAccessTokenRes) - -ProtoOARefreshTokenReq = _reflection.GeneratedProtocolMessageType('ProtoOARefreshTokenReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAREFRESHTOKENREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOARefreshTokenReq) - }) -_sym_db.RegisterMessage(ProtoOARefreshTokenReq) - -ProtoOARefreshTokenRes = _reflection.GeneratedProtocolMessageType('ProtoOARefreshTokenRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAREFRESHTOKENRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOARefreshTokenRes) - }) -_sym_db.RegisterMessage(ProtoOARefreshTokenRes) - -ProtoOASubscribeSpotsReq = _reflection.GeneratedProtocolMessageType('ProtoOASubscribeSpotsReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASUBSCRIBESPOTSREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASubscribeSpotsReq) - }) -_sym_db.RegisterMessage(ProtoOASubscribeSpotsReq) - -ProtoOASubscribeSpotsRes = _reflection.GeneratedProtocolMessageType('ProtoOASubscribeSpotsRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASUBSCRIBESPOTSRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASubscribeSpotsRes) - }) -_sym_db.RegisterMessage(ProtoOASubscribeSpotsRes) - -ProtoOAUnsubscribeSpotsReq = _reflection.GeneratedProtocolMessageType('ProtoOAUnsubscribeSpotsReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAUNSUBSCRIBESPOTSREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAUnsubscribeSpotsReq) - }) -_sym_db.RegisterMessage(ProtoOAUnsubscribeSpotsReq) - -ProtoOAUnsubscribeSpotsRes = _reflection.GeneratedProtocolMessageType('ProtoOAUnsubscribeSpotsRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAUNSUBSCRIBESPOTSRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAUnsubscribeSpotsRes) - }) -_sym_db.RegisterMessage(ProtoOAUnsubscribeSpotsRes) - -ProtoOASpotEvent = _reflection.GeneratedProtocolMessageType('ProtoOASpotEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASPOTEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASpotEvent) - }) -_sym_db.RegisterMessage(ProtoOASpotEvent) - -ProtoOASubscribeLiveTrendbarReq = _reflection.GeneratedProtocolMessageType('ProtoOASubscribeLiveTrendbarReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASUBSCRIBELIVETRENDBARREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASubscribeLiveTrendbarReq) - }) -_sym_db.RegisterMessage(ProtoOASubscribeLiveTrendbarReq) - -ProtoOASubscribeLiveTrendbarRes = _reflection.GeneratedProtocolMessageType('ProtoOASubscribeLiveTrendbarRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASUBSCRIBELIVETRENDBARRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASubscribeLiveTrendbarRes) - }) -_sym_db.RegisterMessage(ProtoOASubscribeLiveTrendbarRes) - -ProtoOAUnsubscribeLiveTrendbarReq = _reflection.GeneratedProtocolMessageType('ProtoOAUnsubscribeLiveTrendbarReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAUNSUBSCRIBELIVETRENDBARREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAUnsubscribeLiveTrendbarReq) - }) -_sym_db.RegisterMessage(ProtoOAUnsubscribeLiveTrendbarReq) - -ProtoOAUnsubscribeLiveTrendbarRes = _reflection.GeneratedProtocolMessageType('ProtoOAUnsubscribeLiveTrendbarRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAUNSUBSCRIBELIVETRENDBARRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAUnsubscribeLiveTrendbarRes) - }) -_sym_db.RegisterMessage(ProtoOAUnsubscribeLiveTrendbarRes) - -ProtoOAGetTrendbarsReq = _reflection.GeneratedProtocolMessageType('ProtoOAGetTrendbarsReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETTRENDBARSREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetTrendbarsReq) - }) -_sym_db.RegisterMessage(ProtoOAGetTrendbarsReq) - -ProtoOAGetTrendbarsRes = _reflection.GeneratedProtocolMessageType('ProtoOAGetTrendbarsRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETTRENDBARSRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetTrendbarsRes) - }) -_sym_db.RegisterMessage(ProtoOAGetTrendbarsRes) - -ProtoOAGetTickDataReq = _reflection.GeneratedProtocolMessageType('ProtoOAGetTickDataReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETTICKDATAREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetTickDataReq) - }) -_sym_db.RegisterMessage(ProtoOAGetTickDataReq) - -ProtoOAGetTickDataRes = _reflection.GeneratedProtocolMessageType('ProtoOAGetTickDataRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETTICKDATARES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetTickDataRes) - }) -_sym_db.RegisterMessage(ProtoOAGetTickDataRes) - -ProtoOAGetCtidProfileByTokenReq = _reflection.GeneratedProtocolMessageType('ProtoOAGetCtidProfileByTokenReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETCTIDPROFILEBYTOKENREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetCtidProfileByTokenReq) - }) -_sym_db.RegisterMessage(ProtoOAGetCtidProfileByTokenReq) - -ProtoOAGetCtidProfileByTokenRes = _reflection.GeneratedProtocolMessageType('ProtoOAGetCtidProfileByTokenRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETCTIDPROFILEBYTOKENRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetCtidProfileByTokenRes) - }) -_sym_db.RegisterMessage(ProtoOAGetCtidProfileByTokenRes) - -ProtoOADepthEvent = _reflection.GeneratedProtocolMessageType('ProtoOADepthEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEPTHEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADepthEvent) - }) -_sym_db.RegisterMessage(ProtoOADepthEvent) - -ProtoOASubscribeDepthQuotesReq = _reflection.GeneratedProtocolMessageType('ProtoOASubscribeDepthQuotesReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASUBSCRIBEDEPTHQUOTESREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASubscribeDepthQuotesReq) - }) -_sym_db.RegisterMessage(ProtoOASubscribeDepthQuotesReq) - -ProtoOASubscribeDepthQuotesRes = _reflection.GeneratedProtocolMessageType('ProtoOASubscribeDepthQuotesRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASUBSCRIBEDEPTHQUOTESRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASubscribeDepthQuotesRes) - }) -_sym_db.RegisterMessage(ProtoOASubscribeDepthQuotesRes) - -ProtoOAUnsubscribeDepthQuotesReq = _reflection.GeneratedProtocolMessageType('ProtoOAUnsubscribeDepthQuotesReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAUNSUBSCRIBEDEPTHQUOTESREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAUnsubscribeDepthQuotesReq) - }) -_sym_db.RegisterMessage(ProtoOAUnsubscribeDepthQuotesReq) - -ProtoOAUnsubscribeDepthQuotesRes = _reflection.GeneratedProtocolMessageType('ProtoOAUnsubscribeDepthQuotesRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAUNSUBSCRIBEDEPTHQUOTESRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAUnsubscribeDepthQuotesRes) - }) -_sym_db.RegisterMessage(ProtoOAUnsubscribeDepthQuotesRes) - -ProtoOASymbolCategoryListReq = _reflection.GeneratedProtocolMessageType('ProtoOASymbolCategoryListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLCATEGORYLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolCategoryListReq) - }) -_sym_db.RegisterMessage(ProtoOASymbolCategoryListReq) - -ProtoOASymbolCategoryListRes = _reflection.GeneratedProtocolMessageType('ProtoOASymbolCategoryListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLCATEGORYLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolCategoryListRes) - }) -_sym_db.RegisterMessage(ProtoOASymbolCategoryListRes) - -ProtoOAAccountLogoutReq = _reflection.GeneratedProtocolMessageType('ProtoOAAccountLogoutReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAACCOUNTLOGOUTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAccountLogoutReq) - }) -_sym_db.RegisterMessage(ProtoOAAccountLogoutReq) - -ProtoOAAccountLogoutRes = _reflection.GeneratedProtocolMessageType('ProtoOAAccountLogoutRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAACCOUNTLOGOUTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAccountLogoutRes) - }) -_sym_db.RegisterMessage(ProtoOAAccountLogoutRes) - -ProtoOAAccountDisconnectEvent = _reflection.GeneratedProtocolMessageType('ProtoOAAccountDisconnectEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAACCOUNTDISCONNECTEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAccountDisconnectEvent) - }) -_sym_db.RegisterMessage(ProtoOAAccountDisconnectEvent) - -ProtoOAMarginCallListReq = _reflection.GeneratedProtocolMessageType('ProtoOAMarginCallListReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCALLLISTREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginCallListReq) - }) -_sym_db.RegisterMessage(ProtoOAMarginCallListReq) - -ProtoOAMarginCallListRes = _reflection.GeneratedProtocolMessageType('ProtoOAMarginCallListRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCALLLISTRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginCallListRes) - }) -_sym_db.RegisterMessage(ProtoOAMarginCallListRes) - -ProtoOAMarginCallUpdateReq = _reflection.GeneratedProtocolMessageType('ProtoOAMarginCallUpdateReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCALLUPDATEREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginCallUpdateReq) - }) -_sym_db.RegisterMessage(ProtoOAMarginCallUpdateReq) - -ProtoOAMarginCallUpdateRes = _reflection.GeneratedProtocolMessageType('ProtoOAMarginCallUpdateRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCALLUPDATERES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginCallUpdateRes) - }) -_sym_db.RegisterMessage(ProtoOAMarginCallUpdateRes) - -ProtoOAMarginCallUpdateEvent = _reflection.GeneratedProtocolMessageType('ProtoOAMarginCallUpdateEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCALLUPDATEEVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginCallUpdateEvent) - }) -_sym_db.RegisterMessage(ProtoOAMarginCallUpdateEvent) - -ProtoOAMarginCallTriggerEvent = _reflection.GeneratedProtocolMessageType('ProtoOAMarginCallTriggerEvent', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCALLTRIGGEREVENT, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginCallTriggerEvent) - }) -_sym_db.RegisterMessage(ProtoOAMarginCallTriggerEvent) - -ProtoOAGetDynamicLeverageByIDReq = _reflection.GeneratedProtocolMessageType('ProtoOAGetDynamicLeverageByIDReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETDYNAMICLEVERAGEBYIDREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetDynamicLeverageByIDReq) - }) -_sym_db.RegisterMessage(ProtoOAGetDynamicLeverageByIDReq) - -ProtoOAGetDynamicLeverageByIDRes = _reflection.GeneratedProtocolMessageType('ProtoOAGetDynamicLeverageByIDRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAGETDYNAMICLEVERAGEBYIDRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAGetDynamicLeverageByIDRes) - }) -_sym_db.RegisterMessage(ProtoOAGetDynamicLeverageByIDRes) - -ProtoOADealListByPositionIdReq = _reflection.GeneratedProtocolMessageType('ProtoOADealListByPositionIdReq', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEALLISTBYPOSITIONIDREQ, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADealListByPositionIdReq) - }) -_sym_db.RegisterMessage(ProtoOADealListByPositionIdReq) - -ProtoOADealListByPositionIdRes = _reflection.GeneratedProtocolMessageType('ProtoOADealListByPositionIdRes', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEALLISTBYPOSITIONIDRES, - '__module__' : 'OpenApiMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADealListByPositionIdRes) - }) -_sym_db.RegisterMessage(ProtoOADealListByPositionIdRes) - +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'OpenApiMessages_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None diff --git a/ctrader_open_api/messages/OpenApiModelMessages_pb2.py b/ctrader_open_api/messages/OpenApiModelMessages_pb2.py index 1a43cdf..a2f3b8e 100644 --- a/ctrader_open_api/messages/OpenApiModelMessages_pb2.py +++ b/ctrader_open_api/messages/OpenApiModelMessages_pb2.py @@ -2,11 +2,9 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: OpenApiModelMessages.proto """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -15,520 +13,10 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aOpenApiModelMessages.proto\"R\n\x0cProtoOAAsset\x12\x0f\n\x07\x61ssetId\x18\x01 \x02(\x03\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x13\n\x0b\x64isplayName\x18\x03 \x01(\t\x12\x0e\n\x06\x64igits\x18\x04 \x01(\x05\"\x91\t\n\rProtoOASymbol\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x0e\n\x06\x64igits\x18\x02 \x02(\x05\x12\x13\n\x0bpipPosition\x18\x03 \x02(\x05\x12\x1a\n\x12\x65nableShortSelling\x18\x04 \x01(\x08\x12\x1a\n\x12guaranteedStopLoss\x18\x05 \x01(\x08\x12\x34\n\x11swapRollover3Days\x18\x06 \x01(\x0e\x32\x11.ProtoOADayOfWeek:\x06MONDAY\x12\x10\n\x08swapLong\x18\x07 \x01(\x01\x12\x11\n\tswapShort\x18\x08 \x01(\x01\x12\x11\n\tmaxVolume\x18\t \x01(\x03\x12\x11\n\tminVolume\x18\n \x01(\x03\x12\x12\n\nstepVolume\x18\x0b \x01(\x03\x12\x13\n\x0bmaxExposure\x18\x0c \x01(\x04\x12\"\n\x08schedule\x18\r \x03(\x0b\x32\x10.ProtoOAInterval\x12\x16\n\ncommission\x18\x0e \x01(\x03\x42\x02\x18\x01\x12\x43\n\x0e\x63ommissionType\x18\x0f \x01(\x0e\x32\x16.ProtoOACommissionType:\x13USD_PER_MILLION_USD\x12\x12\n\nslDistance\x18\x10 \x01(\r\x12\x12\n\ntpDistance\x18\x11 \x01(\r\x12\x13\n\x0bgslDistance\x18\x12 \x01(\r\x12\x11\n\tgslCharge\x18\x13 \x01(\x03\x12L\n\rdistanceSetIn\x18\x14 \x01(\x0e\x32\x1a.ProtoOASymbolDistanceType:\x19SYMBOL_DISTANCE_IN_POINTS\x12\x19\n\rminCommission\x18\x15 \x01(\x03\x42\x02\x18\x01\x12>\n\x11minCommissionType\x18\x16 \x01(\x0e\x32\x19.ProtoOAMinCommissionType:\x08\x43URRENCY\x12\x1f\n\x12minCommissionAsset\x18\x17 \x01(\t:\x03USD\x12\x1a\n\x12rolloverCommission\x18\x18 \x01(\x03\x12\x18\n\x10skipRolloverDays\x18\x19 \x01(\x05\x12\x18\n\x10scheduleTimeZone\x18\x1a \x01(\t\x12\x31\n\x0btradingMode\x18\x1b \x01(\x0e\x32\x13.ProtoOATradingMode:\x07\x45NABLED\x12:\n\x17rolloverCommission3Days\x18\x1c \x01(\x0e\x32\x11.ProtoOADayOfWeek:\x06MONDAY\x12>\n\x13swapCalculationType\x18\x1d \x01(\x0e\x32\x1b.ProtoOASwapCalculationType:\x04PIPS\x12\x0f\n\x07lotSize\x18\x1e \x01(\x03\x12$\n\x1cpreciseTradingCommissionRate\x18\x1f \x01(\x03\x12\x1c\n\x14preciseMinCommission\x18 \x01(\x03\x12 \n\x07holiday\x18! \x03(\x0b\x32\x0f.ProtoOAHoliday\x12\x1c\n\x14pnlConversionFeeRate\x18\" \x01(\x05\x12\x12\n\nleverageId\x18# \x01(\x03\x12\x12\n\nswapPeriod\x18$ \x01(\x05\x12\x10\n\x08swapTime\x18% \x01(\x05\"\xa5\x01\n\x12ProtoOALightSymbol\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x12\n\nsymbolName\x18\x02 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\x12\x13\n\x0b\x62\x61seAssetId\x18\x04 \x01(\x03\x12\x14\n\x0cquoteAssetId\x18\x05 \x01(\x03\x12\x18\n\x10symbolCategoryId\x18\x06 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\"l\n\x15ProtoOAArchivedSymbol\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x1e\n\x16utcLastUpdateTimestamp\x18\x03 \x02(\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"G\n\x15ProtoOASymbolCategory\x12\n\n\x02id\x18\x01 \x02(\x03\x12\x14\n\x0c\x61ssetClassId\x18\x02 \x02(\x03\x12\x0c\n\x04name\x18\x03 \x02(\t\"9\n\x0fProtoOAInterval\x12\x13\n\x0bstartSecond\x18\x03 \x02(\r\x12\x11\n\tendSecond\x18\x04 \x02(\r\"\xa4\x05\n\rProtoOATrader\x12\x1b\n\x13\x63tidTraderAccountId\x18\x01 \x02(\x03\x12\x0f\n\x07\x62\x61lance\x18\x02 \x02(\x03\x12\x16\n\x0e\x62\x61lanceVersion\x18\x03 \x01(\x03\x12\x14\n\x0cmanagerBonus\x18\x04 \x01(\x03\x12\x0f\n\x07ibBonus\x18\x05 \x01(\x03\x12\x1c\n\x14nonWithdrawableBonus\x18\x06 \x01(\x03\x12\x37\n\x0c\x61\x63\x63\x65ssRights\x18\x07 \x01(\x0e\x32\x14.ProtoOAAccessRights:\x0b\x46ULL_ACCESS\x12\x16\n\x0e\x64\x65positAssetId\x18\x08 \x02(\x03\x12\x10\n\x08swapFree\x18\t \x01(\x08\x12\x17\n\x0fleverageInCents\x18\n \x01(\r\x12\x46\n\x1atotalMarginCalculationType\x18\x0b \x01(\x0e\x32\".ProtoOATotalMarginCalculationType\x12\x13\n\x0bmaxLeverage\x18\x0c \x01(\r\x12\x16\n\nfrenchRisk\x18\r \x01(\x08\x42\x02\x18\x01\x12\x13\n\x0btraderLogin\x18\x0e \x01(\x03\x12\x30\n\x0b\x61\x63\x63ountType\x18\x0f \x01(\x0e\x32\x13.ProtoOAAccountType:\x06HEDGED\x12\x12\n\nbrokerName\x18\x10 \x01(\t\x12\x1d\n\x15registrationTimestamp\x18\x11 \x01(\x03\x12\x15\n\risLimitedRisk\x18\x12 \x01(\x08\x12q\n$limitedRiskMarginCalculationStrategy\x18\x13 \x01(\x0e\x32,.ProtoOALimitedRiskMarginCalculationStrategy:\x15\x41\x43\x43ORDING_TO_LEVERAGE\x12\x13\n\x0bmoneyDigits\x18\x14 \x01(\r\"\xc4\x03\n\x0fProtoOAPosition\x12\x12\n\npositionId\x18\x01 \x02(\x03\x12$\n\ttradeData\x18\x02 \x02(\x0b\x32\x11.ProtoOATradeData\x12.\n\x0epositionStatus\x18\x03 \x02(\x0e\x32\x16.ProtoOAPositionStatus\x12\x0c\n\x04swap\x18\x04 \x02(\x03\x12\r\n\x05price\x18\x05 \x01(\x01\x12\x10\n\x08stopLoss\x18\x06 \x01(\x01\x12\x12\n\ntakeProfit\x18\x07 \x01(\x01\x12\x1e\n\x16utcLastUpdateTimestamp\x18\x08 \x01(\x03\x12\x12\n\ncommission\x18\t \x01(\x03\x12\x12\n\nmarginRate\x18\n \x01(\x01\x12\x1b\n\x13mirroringCommission\x18\x0b \x01(\x03\x12\x1a\n\x12guaranteedStopLoss\x18\x0c \x01(\x08\x12\x12\n\nusedMargin\x18\r \x01(\x04\x12@\n\x15stopLossTriggerMethod\x18\x0e \x01(\x0e\x32\x1a.ProtoOAOrderTriggerMethod:\x05TRADE\x12\x13\n\x0bmoneyDigits\x18\x0f \x01(\r\x12\x18\n\x10trailingStopLoss\x18\x10 \x01(\x08\"\xad\x01\n\x10ProtoOATradeData\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x0e\n\x06volume\x18\x02 \x02(\x03\x12$\n\ttradeSide\x18\x03 \x02(\x0e\x32\x11.ProtoOATradeSide\x12\x15\n\ropenTimestamp\x18\x04 \x01(\x03\x12\r\n\x05label\x18\x05 \x01(\t\x12\x1a\n\x12guaranteedStopLoss\x18\x06 \x01(\x08\x12\x0f\n\x07\x63omment\x18\x07 \x01(\t\"\xa5\x05\n\x0cProtoOAOrder\x12\x0f\n\x07orderId\x18\x01 \x02(\x03\x12$\n\ttradeData\x18\x02 \x02(\x0b\x32\x11.ProtoOATradeData\x12$\n\torderType\x18\x03 \x02(\x0e\x32\x11.ProtoOAOrderType\x12(\n\x0borderStatus\x18\x04 \x02(\x0e\x32\x13.ProtoOAOrderStatus\x12\x1b\n\x13\x65xpirationTimestamp\x18\x06 \x01(\x03\x12\x16\n\x0e\x65xecutionPrice\x18\x07 \x01(\x01\x12\x16\n\x0e\x65xecutedVolume\x18\x08 \x01(\x03\x12\x1e\n\x16utcLastUpdateTimestamp\x18\t \x01(\x03\x12\x19\n\x11\x62\x61seSlippagePrice\x18\n \x01(\x01\x12\x18\n\x10slippageInPoints\x18\x0b \x01(\x03\x12\x14\n\x0c\x63losingOrder\x18\x0c \x01(\x08\x12\x12\n\nlimitPrice\x18\r \x01(\x01\x12\x11\n\tstopPrice\x18\x0e \x01(\x01\x12\x10\n\x08stopLoss\x18\x0f \x01(\x01\x12\x12\n\ntakeProfit\x18\x10 \x01(\x01\x12\x15\n\rclientOrderId\x18\x11 \x01(\t\x12=\n\x0btimeInForce\x18\x12 \x01(\x0e\x32\x13.ProtoOATimeInForce:\x13IMMEDIATE_OR_CANCEL\x12\x12\n\npositionId\x18\x13 \x01(\x03\x12\x18\n\x10relativeStopLoss\x18\x14 \x01(\x03\x12\x1a\n\x12relativeTakeProfit\x18\x15 \x01(\x03\x12\x11\n\tisStopOut\x18\x16 \x01(\x08\x12\x18\n\x10trailingStopLoss\x18\x17 \x01(\x08\x12<\n\x11stopTriggerMethod\x18\x18 \x01(\x0e\x32\x1a.ProtoOAOrderTriggerMethod:\x05TRADE\"\x99\x02\n\x1bProtoOABonusDepositWithdraw\x12.\n\roperationType\x18\x01 \x02(\x0e\x32\x17.ProtoOAChangeBonusType\x12\x16\n\x0e\x62onusHistoryId\x18\x02 \x02(\x03\x12\x14\n\x0cmanagerBonus\x18\x03 \x02(\x03\x12\x14\n\x0cmanagerDelta\x18\x04 \x02(\x03\x12\x0f\n\x07ibBonus\x18\x05 \x02(\x03\x12\x0f\n\x07ibDelta\x18\x06 \x02(\x03\x12\x1c\n\x14\x63hangeBonusTimestamp\x18\x07 \x02(\x03\x12\x14\n\x0c\x65xternalNote\x18\x08 \x01(\t\x12\x1b\n\x13introducingBrokerId\x18\t \x01(\x03\x12\x13\n\x0bmoneyDigits\x18\n \x01(\r\"\xf7\x01\n\x16ProtoOADepositWithdraw\x12\x30\n\roperationType\x18\x01 \x02(\x0e\x32\x19.ProtoOAChangeBalanceType\x12\x18\n\x10\x62\x61lanceHistoryId\x18\x02 \x02(\x03\x12\x0f\n\x07\x62\x61lance\x18\x03 \x02(\x03\x12\r\n\x05\x64\x65lta\x18\x04 \x02(\x03\x12\x1e\n\x16\x63hangeBalanceTimestamp\x18\x05 \x02(\x03\x12\x14\n\x0c\x65xternalNote\x18\x06 \x01(\t\x12\x16\n\x0e\x62\x61lanceVersion\x18\x07 \x01(\x03\x12\x0e\n\x06\x65quity\x18\x08 \x01(\x03\x12\x13\n\x0bmoneyDigits\x18\t \x01(\r\"\xcd\x03\n\x0bProtoOADeal\x12\x0e\n\x06\x64\x65\x61lId\x18\x01 \x02(\x03\x12\x0f\n\x07orderId\x18\x02 \x02(\x03\x12\x12\n\npositionId\x18\x03 \x02(\x03\x12\x0e\n\x06volume\x18\x04 \x02(\x03\x12\x14\n\x0c\x66illedVolume\x18\x05 \x02(\x03\x12\x10\n\x08symbolId\x18\x06 \x02(\x03\x12\x17\n\x0f\x63reateTimestamp\x18\x07 \x02(\x03\x12\x1a\n\x12\x65xecutionTimestamp\x18\x08 \x02(\x03\x12\x1e\n\x16utcLastUpdateTimestamp\x18\t \x01(\x03\x12\x16\n\x0e\x65xecutionPrice\x18\n \x01(\x01\x12$\n\ttradeSide\x18\x0b \x02(\x0e\x32\x11.ProtoOATradeSide\x12&\n\ndealStatus\x18\x0c \x02(\x0e\x32\x12.ProtoOADealStatus\x12\x12\n\nmarginRate\x18\r \x01(\x01\x12\x12\n\ncommission\x18\x0e \x01(\x03\x12\x1f\n\x17\x62\x61seToUsdConversionRate\x18\x0f \x01(\x01\x12\x38\n\x13\x63losePositionDetail\x18\x10 \x01(\x0b\x32\x1b.ProtoOAClosePositionDetail\x12\x13\n\x0bmoneyDigits\x18\x11 \x01(\r\"\xfb\x01\n\x1aProtoOAClosePositionDetail\x12\x12\n\nentryPrice\x18\x01 \x02(\x01\x12\x13\n\x0bgrossProfit\x18\x02 \x02(\x03\x12\x0c\n\x04swap\x18\x03 \x02(\x03\x12\x12\n\ncommission\x18\x04 \x02(\x03\x12\x0f\n\x07\x62\x61lance\x18\x05 \x02(\x03\x12$\n\x1cquoteToDepositConversionRate\x18\x06 \x01(\x01\x12\x14\n\x0c\x63losedVolume\x18\x07 \x01(\x03\x12\x16\n\x0e\x62\x61lanceVersion\x18\x08 \x01(\x03\x12\x13\n\x0bmoneyDigits\x18\t \x01(\r\x12\x18\n\x10pnlConversionFee\x18\n \x01(\x03\"\xb3\x01\n\x0fProtoOATrendbar\x12\x0e\n\x06volume\x18\x03 \x02(\x03\x12*\n\x06period\x18\x04 \x01(\x0e\x32\x16.ProtoOATrendbarPeriod:\x02M1\x12\x0b\n\x03low\x18\x05 \x01(\x03\x12\x11\n\tdeltaOpen\x18\x06 \x01(\x04\x12\x12\n\ndeltaClose\x18\x07 \x01(\x04\x12\x11\n\tdeltaHigh\x18\x08 \x01(\x04\x12\x1d\n\x15utcTimestampInMinutes\x18\t \x01(\r\"N\n\x15ProtoOAExpectedMargin\x12\x0e\n\x06volume\x18\x01 \x02(\x03\x12\x11\n\tbuyMargin\x18\x02 \x02(\x03\x12\x12\n\nsellMargin\x18\x03 \x02(\x03\"2\n\x0fProtoOATickData\x12\x11\n\ttimestamp\x18\x01 \x02(\x03\x12\x0c\n\x04tick\x18\x02 \x02(\x03\"$\n\x12ProtoOACtidProfile\x12\x0e\n\x06userId\x18\x01 \x02(\x03\"\xa2\x01\n\x18ProtoOACtidTraderAccount\x12\x1b\n\x13\x63tidTraderAccountId\x18\x01 \x02(\x04\x12\x0e\n\x06isLive\x18\x02 \x01(\x08\x12\x13\n\x0btraderLogin\x18\x03 \x01(\x03\x12 \n\x18lastClosingDealTimestamp\x18\x04 \x01(\x03\x12\"\n\x1alastBalanceUpdateTimestamp\x18\x05 \x01(\x03\"-\n\x11ProtoOAAssetClass\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\"G\n\x11ProtoOADepthQuote\x12\n\n\x02id\x18\x01 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\x04\x12\x0b\n\x03\x62id\x18\x04 \x01(\x04\x12\x0b\n\x03\x61sk\x18\x05 \x01(\x04\"\x83\x01\n\x11ProtoOAMarginCall\x12\x30\n\x0emarginCallType\x18\x01 \x02(\x0e\x32\x18.ProtoOANotificationType\x12\x1c\n\x14marginLevelThreshold\x18\x02 \x02(\x01\x12\x1e\n\x16utcLastUpdateTimestamp\x18\x03 \x01(\x03\"\xb2\x01\n\x0eProtoOAHoliday\x12\x11\n\tholidayId\x18\x01 \x02(\x03\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x18\n\x10scheduleTimeZone\x18\x04 \x02(\t\x12\x13\n\x0bholidayDate\x18\x05 \x02(\x03\x12\x13\n\x0bisRecurring\x18\x06 \x02(\x08\x12\x13\n\x0bstartSecond\x18\x07 \x01(\x05\x12\x11\n\tendSecond\x18\x08 \x01(\x05\"X\n\x16ProtoOADynamicLeverage\x12\x12\n\nleverageId\x18\x01 \x02(\x03\x12*\n\x05tiers\x18\x02 \x03(\x0b\x32\x1b.ProtoOADynamicLeverageTier\">\n\x1aProtoOADynamicLeverageTier\x12\x0e\n\x06volume\x18\x01 \x02(\x03\x12\x10\n\x08leverage\x18\x02 \x02(\x05*\xef\x16\n\x12ProtoOAPayloadType\x12\"\n\x1dPROTO_OA_APPLICATION_AUTH_REQ\x10\xb4\x10\x12\"\n\x1dPROTO_OA_APPLICATION_AUTH_RES\x10\xb5\x10\x12\x1e\n\x19PROTO_OA_ACCOUNT_AUTH_REQ\x10\xb6\x10\x12\x1e\n\x19PROTO_OA_ACCOUNT_AUTH_RES\x10\xb7\x10\x12\x19\n\x14PROTO_OA_VERSION_REQ\x10\xb8\x10\x12\x19\n\x14PROTO_OA_VERSION_RES\x10\xb9\x10\x12\x1b\n\x16PROTO_OA_NEW_ORDER_REQ\x10\xba\x10\x12\'\n\"PROTO_OA_TRAILING_SL_CHANGED_EVENT\x10\xbb\x10\x12\x1e\n\x19PROTO_OA_CANCEL_ORDER_REQ\x10\xbc\x10\x12\x1d\n\x18PROTO_OA_AMEND_ORDER_REQ\x10\xbd\x10\x12%\n PROTO_OA_AMEND_POSITION_SLTP_REQ\x10\xbe\x10\x12 \n\x1bPROTO_OA_CLOSE_POSITION_REQ\x10\xbf\x10\x12\x1c\n\x17PROTO_OA_ASSET_LIST_REQ\x10\xc0\x10\x12\x1c\n\x17PROTO_OA_ASSET_LIST_RES\x10\xc1\x10\x12\x1e\n\x19PROTO_OA_SYMBOLS_LIST_REQ\x10\xc2\x10\x12\x1e\n\x19PROTO_OA_SYMBOLS_LIST_RES\x10\xc3\x10\x12\x1e\n\x19PROTO_OA_SYMBOL_BY_ID_REQ\x10\xc4\x10\x12\x1e\n\x19PROTO_OA_SYMBOL_BY_ID_RES\x10\xc5\x10\x12(\n#PROTO_OA_SYMBOLS_FOR_CONVERSION_REQ\x10\xc6\x10\x12(\n#PROTO_OA_SYMBOLS_FOR_CONVERSION_RES\x10\xc7\x10\x12\"\n\x1dPROTO_OA_SYMBOL_CHANGED_EVENT\x10\xc8\x10\x12\x18\n\x13PROTO_OA_TRADER_REQ\x10\xc9\x10\x12\x18\n\x13PROTO_OA_TRADER_RES\x10\xca\x10\x12!\n\x1cPROTO_OA_TRADER_UPDATE_EVENT\x10\xcb\x10\x12\x1b\n\x16PROTO_OA_RECONCILE_REQ\x10\xcc\x10\x12\x1b\n\x16PROTO_OA_RECONCILE_RES\x10\xcd\x10\x12\x1d\n\x18PROTO_OA_EXECUTION_EVENT\x10\xce\x10\x12!\n\x1cPROTO_OA_SUBSCRIBE_SPOTS_REQ\x10\xcf\x10\x12!\n\x1cPROTO_OA_SUBSCRIBE_SPOTS_RES\x10\xd0\x10\x12#\n\x1ePROTO_OA_UNSUBSCRIBE_SPOTS_REQ\x10\xd1\x10\x12#\n\x1ePROTO_OA_UNSUBSCRIBE_SPOTS_RES\x10\xd2\x10\x12\x18\n\x13PROTO_OA_SPOT_EVENT\x10\xd3\x10\x12\x1f\n\x1aPROTO_OA_ORDER_ERROR_EVENT\x10\xd4\x10\x12\x1b\n\x16PROTO_OA_DEAL_LIST_REQ\x10\xd5\x10\x12\x1b\n\x16PROTO_OA_DEAL_LIST_RES\x10\xd6\x10\x12)\n$PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_REQ\x10\xd7\x10\x12+\n&PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_REQ\x10\xd8\x10\x12\x1f\n\x1aPROTO_OA_GET_TRENDBARS_REQ\x10\xd9\x10\x12\x1f\n\x1aPROTO_OA_GET_TRENDBARS_RES\x10\xda\x10\x12!\n\x1cPROTO_OA_EXPECTED_MARGIN_REQ\x10\xdb\x10\x12!\n\x1cPROTO_OA_EXPECTED_MARGIN_RES\x10\xdc\x10\x12\"\n\x1dPROTO_OA_MARGIN_CHANGED_EVENT\x10\xdd\x10\x12\x17\n\x12PROTO_OA_ERROR_RES\x10\xde\x10\x12(\n#PROTO_OA_CASH_FLOW_HISTORY_LIST_REQ\x10\xdf\x10\x12(\n#PROTO_OA_CASH_FLOW_HISTORY_LIST_RES\x10\xe0\x10\x12\x1e\n\x19PROTO_OA_GET_TICKDATA_REQ\x10\xe1\x10\x12\x1e\n\x19PROTO_OA_GET_TICKDATA_RES\x10\xe2\x10\x12.\n)PROTO_OA_ACCOUNTS_TOKEN_INVALIDATED_EVENT\x10\xe3\x10\x12%\n PROTO_OA_CLIENT_DISCONNECT_EVENT\x10\xe4\x10\x12.\n)PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_REQ\x10\xe5\x10\x12.\n)PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_RES\x10\xe6\x10\x12+\n&PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_REQ\x10\xe7\x10\x12+\n&PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_RES\x10\xe8\x10\x12\"\n\x1dPROTO_OA_ASSET_CLASS_LIST_REQ\x10\xe9\x10\x12\"\n\x1dPROTO_OA_ASSET_CLASS_LIST_RES\x10\xea\x10\x12\x19\n\x14PROTO_OA_DEPTH_EVENT\x10\xeb\x10\x12(\n#PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_REQ\x10\xec\x10\x12(\n#PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_RES\x10\xed\x10\x12*\n%PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_REQ\x10\xee\x10\x12*\n%PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_RES\x10\xef\x10\x12!\n\x1cPROTO_OA_SYMBOL_CATEGORY_REQ\x10\xf0\x10\x12!\n\x1cPROTO_OA_SYMBOL_CATEGORY_RES\x10\xf1\x10\x12 \n\x1bPROTO_OA_ACCOUNT_LOGOUT_REQ\x10\xf2\x10\x12 \n\x1bPROTO_OA_ACCOUNT_LOGOUT_RES\x10\xf3\x10\x12&\n!PROTO_OA_ACCOUNT_DISCONNECT_EVENT\x10\xf4\x10\x12)\n$PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_RES\x10\xf5\x10\x12+\n&PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_RES\x10\xf6\x10\x12\"\n\x1dPROTO_OA_MARGIN_CALL_LIST_REQ\x10\xf7\x10\x12\"\n\x1dPROTO_OA_MARGIN_CALL_LIST_RES\x10\xf8\x10\x12$\n\x1fPROTO_OA_MARGIN_CALL_UPDATE_REQ\x10\xf9\x10\x12$\n\x1fPROTO_OA_MARGIN_CALL_UPDATE_RES\x10\xfa\x10\x12&\n!PROTO_OA_MARGIN_CALL_UPDATE_EVENT\x10\xfb\x10\x12\'\n\"PROTO_OA_MARGIN_CALL_TRIGGER_EVENT\x10\xfc\x10\x12\x1f\n\x1aPROTO_OA_REFRESH_TOKEN_REQ\x10\xfd\x10\x12\x1f\n\x1aPROTO_OA_REFRESH_TOKEN_RES\x10\xfe\x10\x12\x1c\n\x17PROTO_OA_ORDER_LIST_REQ\x10\xff\x10\x12\x1c\n\x17PROTO_OA_ORDER_LIST_RES\x10\x80\x11\x12&\n!PROTO_OA_GET_DYNAMIC_LEVERAGE_REQ\x10\x81\x11\x12&\n!PROTO_OA_GET_DYNAMIC_LEVERAGE_RES\x10\x82\x11\x12*\n%PROTO_OA_DEAL_LIST_BY_POSITION_ID_REQ\x10\x83\x11\x12*\n%PROTO_OA_DEAL_LIST_BY_POSITION_ID_RES\x10\x84\x11*x\n\x10ProtoOADayOfWeek\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06MONDAY\x10\x01\x12\x0b\n\x07TUESDAY\x10\x02\x12\r\n\tWEDNESDAY\x10\x03\x12\x0c\n\x08THURSDAY\x10\x04\x12\n\n\x06\x46RIDAY\x10\x05\x12\x0c\n\x08SATURDAY\x10\x06\x12\n\n\x06SUNDAY\x10\x07*q\n\x15ProtoOACommissionType\x12\x17\n\x13USD_PER_MILLION_USD\x10\x01\x12\x0f\n\x0bUSD_PER_LOT\x10\x02\x12\x17\n\x13PERCENTAGE_OF_VALUE\x10\x03\x12\x15\n\x11QUOTE_CCY_PER_LOT\x10\x04*]\n\x19ProtoOASymbolDistanceType\x12\x1d\n\x19SYMBOL_DISTANCE_IN_POINTS\x10\x01\x12!\n\x1dSYMBOL_DISTANCE_IN_PERCENTAGE\x10\x02*<\n\x18ProtoOAMinCommissionType\x12\x0c\n\x08\x43URRENCY\x10\x01\x12\x12\n\x0eQUOTE_CURRENCY\x10\x02*\x85\x01\n\x12ProtoOATradingMode\x12\x0b\n\x07\x45NABLED\x10\x00\x12\'\n#DISABLED_WITHOUT_PENDINGS_EXECUTION\x10\x01\x12$\n DISABLED_WITH_PENDINGS_EXECUTION\x10\x02\x12\x13\n\x0f\x43LOSE_ONLY_MODE\x10\x03*6\n\x1aProtoOASwapCalculationType\x12\x08\n\x04PIPS\x10\x00\x12\x0e\n\nPERCENTAGE\x10\x01*T\n\x13ProtoOAAccessRights\x12\x0f\n\x0b\x46ULL_ACCESS\x10\x00\x12\x0e\n\nCLOSE_ONLY\x10\x01\x12\x0e\n\nNO_TRADING\x10\x02\x12\x0c\n\x08NO_LOGIN\x10\x03*>\n!ProtoOATotalMarginCalculationType\x12\x07\n\x03MAX\x10\x00\x12\x07\n\x03SUM\x10\x01\x12\x07\n\x03NET\x10\x02*@\n\x12ProtoOAAccountType\x12\n\n\x06HEDGED\x10\x00\x12\n\n\x06NETTED\x10\x01\x12\x12\n\x0eSPREAD_BETTING\x10\x02*\x85\x01\n\x15ProtoOAPositionStatus\x12\x18\n\x14POSITION_STATUS_OPEN\x10\x01\x12\x1a\n\x16POSITION_STATUS_CLOSED\x10\x02\x12\x1b\n\x17POSITION_STATUS_CREATED\x10\x03\x12\x19\n\x15POSITION_STATUS_ERROR\x10\x04*%\n\x10ProtoOATradeSide\x12\x07\n\x03\x42UY\x10\x01\x12\x08\n\x04SELL\x10\x02*p\n\x10ProtoOAOrderType\x12\n\n\x06MARKET\x10\x01\x12\t\n\x05LIMIT\x10\x02\x12\x08\n\x04STOP\x10\x03\x12\x19\n\x15STOP_LOSS_TAKE_PROFIT\x10\x04\x12\x10\n\x0cMARKET_RANGE\x10\x05\x12\x0e\n\nSTOP_LIMIT\x10\x06*}\n\x12ProtoOATimeInForce\x12\x12\n\x0eGOOD_TILL_DATE\x10\x01\x12\x14\n\x10GOOD_TILL_CANCEL\x10\x02\x12\x17\n\x13IMMEDIATE_OR_CANCEL\x10\x03\x12\x10\n\x0c\x46ILL_OR_KILL\x10\x04\x12\x12\n\x0eMARKET_ON_OPEN\x10\x05*\x99\x01\n\x12ProtoOAOrderStatus\x12\x19\n\x15ORDER_STATUS_ACCEPTED\x10\x01\x12\x17\n\x13ORDER_STATUS_FILLED\x10\x02\x12\x19\n\x15ORDER_STATUS_REJECTED\x10\x03\x12\x18\n\x14ORDER_STATUS_EXPIRED\x10\x04\x12\x1a\n\x16ORDER_STATUS_CANCELLED\x10\x05*[\n\x19ProtoOAOrderTriggerMethod\x12\t\n\x05TRADE\x10\x01\x12\x0c\n\x08OPPOSITE\x10\x02\x12\x10\n\x0c\x44OUBLE_TRADE\x10\x03\x12\x13\n\x0f\x44OUBLE_OPPOSITE\x10\x04*\xfb\x01\n\x14ProtoOAExecutionType\x12\x12\n\x0eORDER_ACCEPTED\x10\x02\x12\x10\n\x0cORDER_FILLED\x10\x03\x12\x12\n\x0eORDER_REPLACED\x10\x04\x12\x13\n\x0fORDER_CANCELLED\x10\x05\x12\x11\n\rORDER_EXPIRED\x10\x06\x12\x12\n\x0eORDER_REJECTED\x10\x07\x12\x19\n\x15ORDER_CANCEL_REJECTED\x10\x08\x12\x08\n\x04SWAP\x10\t\x12\x14\n\x10\x44\x45POSIT_WITHDRAW\x10\n\x12\x16\n\x12ORDER_PARTIAL_FILL\x10\x0b\x12\x1a\n\x16\x42ONUS_DEPOSIT_WITHDRAW\x10\x0c*?\n\x16ProtoOAChangeBonusType\x12\x11\n\rBONUS_DEPOSIT\x10\x00\x12\x12\n\x0e\x42ONUS_WITHDRAW\x10\x01*\xb8\n\n\x18ProtoOAChangeBalanceType\x12\x13\n\x0f\x42\x41LANCE_DEPOSIT\x10\x00\x12\x14\n\x10\x42\x41LANCE_WITHDRAW\x10\x01\x12-\n)BALANCE_DEPOSIT_STRATEGY_COMMISSION_INNER\x10\x03\x12.\n*BALANCE_WITHDRAW_STRATEGY_COMMISSION_INNER\x10\x04\x12\"\n\x1e\x42\x41LANCE_DEPOSIT_IB_COMMISSIONS\x10\x05\x12)\n%BALANCE_WITHDRAW_IB_SHARED_PERCENTAGE\x10\x06\x12\x34\n0BALANCE_DEPOSIT_IB_SHARED_PERCENTAGE_FROM_SUB_IB\x10\x07\x12\x34\n0BALANCE_DEPOSIT_IB_SHARED_PERCENTAGE_FROM_BROKER\x10\x08\x12\x1a\n\x16\x42\x41LANCE_DEPOSIT_REBATE\x10\t\x12\x1b\n\x17\x42\x41LANCE_WITHDRAW_REBATE\x10\n\x12-\n)BALANCE_DEPOSIT_STRATEGY_COMMISSION_OUTER\x10\x0b\x12.\n*BALANCE_WITHDRAW_STRATEGY_COMMISSION_OUTER\x10\x0c\x12\'\n#BALANCE_WITHDRAW_BONUS_COMPENSATION\x10\r\x12\x33\n/BALANCE_WITHDRAW_IB_SHARED_PERCENTAGE_TO_BROKER\x10\x0e\x12\x1d\n\x19\x42\x41LANCE_DEPOSIT_DIVIDENDS\x10\x0f\x12\x1e\n\x1a\x42\x41LANCE_WITHDRAW_DIVIDENDS\x10\x10\x12\x1f\n\x1b\x42\x41LANCE_WITHDRAW_GSL_CHARGE\x10\x11\x12\x1d\n\x19\x42\x41LANCE_WITHDRAW_ROLLOVER\x10\x12\x12)\n%BALANCE_DEPOSIT_NONWITHDRAWABLE_BONUS\x10\x13\x12*\n&BALANCE_WITHDRAW_NONWITHDRAWABLE_BONUS\x10\x14\x12\x18\n\x14\x42\x41LANCE_DEPOSIT_SWAP\x10\x15\x12\x19\n\x15\x42\x41LANCE_WITHDRAW_SWAP\x10\x16\x12\"\n\x1e\x42\x41LANCE_DEPOSIT_MANAGEMENT_FEE\x10\x1b\x12#\n\x1f\x42\x41LANCE_WITHDRAW_MANAGEMENT_FEE\x10\x1c\x12#\n\x1f\x42\x41LANCE_DEPOSIT_PERFORMANCE_FEE\x10\x1d\x12#\n\x1f\x42\x41LANCE_WITHDRAW_FOR_SUBACCOUNT\x10\x1e\x12!\n\x1d\x42\x41LANCE_DEPOSIT_TO_SUBACCOUNT\x10\x1f\x12$\n BALANCE_WITHDRAW_FROM_SUBACCOUNT\x10 \x12#\n\x1f\x42\x41LANCE_DEPOSIT_FROM_SUBACCOUNT\x10!\x12\x1d\n\x19\x42\x41LANCE_WITHDRAW_COPY_FEE\x10\"\x12#\n\x1f\x42\x41LANCE_WITHDRAW_INACTIVITY_FEE\x10#\x12\x1c\n\x18\x42\x41LANCE_DEPOSIT_TRANSFER\x10$\x12\x1d\n\x19\x42\x41LANCE_WITHDRAW_TRANSFER\x10%\x12#\n\x1f\x42\x41LANCE_DEPOSIT_CONVERTED_BONUS\x10&\x12/\n+BALANCE_DEPOSIT_NEGATIVE_BALANCE_PROTECTION\x10\'*s\n\x11ProtoOADealStatus\x12\n\n\x06\x46ILLED\x10\x02\x12\x14\n\x10PARTIALLY_FILLED\x10\x03\x12\x0c\n\x08REJECTED\x10\x04\x12\x17\n\x13INTERNALLY_REJECTED\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\n\n\x06MISSED\x10\x07*\x8c\x01\n\x15ProtoOATrendbarPeriod\x12\x06\n\x02M1\x10\x01\x12\x06\n\x02M2\x10\x02\x12\x06\n\x02M3\x10\x03\x12\x06\n\x02M4\x10\x04\x12\x06\n\x02M5\x10\x05\x12\x07\n\x03M10\x10\x06\x12\x07\n\x03M15\x10\x07\x12\x07\n\x03M30\x10\x08\x12\x06\n\x02H1\x10\t\x12\x06\n\x02H4\x10\n\x12\x07\n\x03H12\x10\x0b\x12\x06\n\x02\x44\x31\x10\x0c\x12\x06\n\x02W1\x10\r\x12\x07\n\x03MN1\x10\x0e*$\n\x10ProtoOAQuoteType\x12\x07\n\x03\x42ID\x10\x01\x12\x07\n\x03\x41SK\x10\x02*?\n\x1cProtoOAClientPermissionScope\x12\x0e\n\nSCOPE_VIEW\x10\x00\x12\x0f\n\x0bSCOPE_TRADE\x10\x01*s\n\x17ProtoOANotificationType\x12\x1c\n\x18MARGIN_LEVEL_THRESHOLD_1\x10=\x12\x1c\n\x18MARGIN_LEVEL_THRESHOLD_2\x10>\x12\x1c\n\x18MARGIN_LEVEL_THRESHOLD_3\x10?*\xde\x08\n\x10ProtoOAErrorCode\x12\x19\n\x15OA_AUTH_TOKEN_EXPIRED\x10\x01\x12\x1a\n\x16\x41\x43\x43OUNT_NOT_AUTHORIZED\x10\x02\x12\x15\n\x11\x41LREADY_LOGGED_IN\x10\x0e\x12\x1a\n\x16\x43H_CLIENT_AUTH_FAILURE\x10\x65\x12\x1f\n\x1b\x43H_CLIENT_NOT_AUTHENTICATED\x10\x66\x12#\n\x1f\x43H_CLIENT_ALREADY_AUTHENTICATED\x10g\x12\x1b\n\x17\x43H_ACCESS_TOKEN_INVALID\x10h\x12\x1b\n\x17\x43H_SERVER_NOT_REACHABLE\x10i\x12$\n CH_CTID_TRADER_ACCOUNT_NOT_FOUND\x10j\x12\x1a\n\x16\x43H_OA_CLIENT_NOT_FOUND\x10k\x12\x1e\n\x1aREQUEST_FREQUENCY_EXCEEDED\x10l\x12\x1f\n\x1bSERVER_IS_UNDER_MAINTENANCE\x10m\x12\x16\n\x12\x43HANNEL_IS_BLOCKED\x10n\x12\x1e\n\x1a\x43ONNECTIONS_LIMIT_EXCEEDED\x10\x43\x12\x19\n\x15WORSE_GSL_NOT_ALLOWED\x10\x44\x12\x16\n\x12SYMBOL_HAS_HOLIDAY\x10\x45\x12\x1b\n\x17NOT_SUBSCRIBED_TO_SPOTS\x10p\x12\x16\n\x12\x41LREADY_SUBSCRIBED\x10q\x12\x14\n\x10SYMBOL_NOT_FOUND\x10r\x12\x12\n\x0eUNKNOWN_SYMBOL\x10s\x12\x18\n\x14INCORRECT_BOUNDARIES\x10#\x12\r\n\tNO_QUOTES\x10u\x12\x14\n\x10NOT_ENOUGH_MONEY\x10v\x12\x18\n\x14MAX_EXPOSURE_REACHED\x10w\x12\x16\n\x12POSITION_NOT_FOUND\x10x\x12\x13\n\x0fORDER_NOT_FOUND\x10y\x12\x15\n\x11POSITION_NOT_OPEN\x10z\x12\x13\n\x0fPOSITION_LOCKED\x10{\x12\x16\n\x12TOO_MANY_POSITIONS\x10|\x12\x16\n\x12TRADING_BAD_VOLUME\x10}\x12\x15\n\x11TRADING_BAD_STOPS\x10~\x12\x16\n\x12TRADING_BAD_PRICES\x10\x7f\x12\x16\n\x11TRADING_BAD_STAKE\x10\x80\x01\x12&\n!PROTECTION_IS_TOO_CLOSE_TO_MARKET\x10\x81\x01\x12 \n\x1bTRADING_BAD_EXPIRATION_DATE\x10\x82\x01\x12\x16\n\x11PENDING_EXECUTION\x10\x83\x01\x12\x15\n\x10TRADING_DISABLED\x10\x84\x01\x12\x18\n\x13TRADING_NOT_ALLOWED\x10\x85\x01\x12\x1b\n\x16UNABLE_TO_CANCEL_ORDER\x10\x86\x01\x12\x1a\n\x15UNABLE_TO_AMEND_ORDER\x10\x87\x01\x12\x1e\n\x19SHORT_SELLING_NOT_ALLOWED\x10\x88\x01*\x81\x01\n+ProtoOALimitedRiskMarginCalculationStrategy\x12\x19\n\x15\x41\x43\x43ORDING_TO_LEVERAGE\x10\x00\x12\x14\n\x10\x41\x43\x43ORDING_TO_GSL\x10\x01\x12!\n\x1d\x41\x43\x43ORDING_TO_GSL_AND_LEVERAGE\x10\x02\x42M\n%com.xtrader.protocol.openapi.v2.modelB\x1f\x43ontainerOpenApiV2ModelMessagesP\x01\xa0\x01\x01') - -_PROTOOAPAYLOADTYPE = DESCRIPTOR.enum_types_by_name['ProtoOAPayloadType'] -ProtoOAPayloadType = enum_type_wrapper.EnumTypeWrapper(_PROTOOAPAYLOADTYPE) -_PROTOOADAYOFWEEK = DESCRIPTOR.enum_types_by_name['ProtoOADayOfWeek'] -ProtoOADayOfWeek = enum_type_wrapper.EnumTypeWrapper(_PROTOOADAYOFWEEK) -_PROTOOACOMMISSIONTYPE = DESCRIPTOR.enum_types_by_name['ProtoOACommissionType'] -ProtoOACommissionType = enum_type_wrapper.EnumTypeWrapper(_PROTOOACOMMISSIONTYPE) -_PROTOOASYMBOLDISTANCETYPE = DESCRIPTOR.enum_types_by_name['ProtoOASymbolDistanceType'] -ProtoOASymbolDistanceType = enum_type_wrapper.EnumTypeWrapper(_PROTOOASYMBOLDISTANCETYPE) -_PROTOOAMINCOMMISSIONTYPE = DESCRIPTOR.enum_types_by_name['ProtoOAMinCommissionType'] -ProtoOAMinCommissionType = enum_type_wrapper.EnumTypeWrapper(_PROTOOAMINCOMMISSIONTYPE) -_PROTOOATRADINGMODE = DESCRIPTOR.enum_types_by_name['ProtoOATradingMode'] -ProtoOATradingMode = enum_type_wrapper.EnumTypeWrapper(_PROTOOATRADINGMODE) -_PROTOOASWAPCALCULATIONTYPE = DESCRIPTOR.enum_types_by_name['ProtoOASwapCalculationType'] -ProtoOASwapCalculationType = enum_type_wrapper.EnumTypeWrapper(_PROTOOASWAPCALCULATIONTYPE) -_PROTOOAACCESSRIGHTS = DESCRIPTOR.enum_types_by_name['ProtoOAAccessRights'] -ProtoOAAccessRights = enum_type_wrapper.EnumTypeWrapper(_PROTOOAACCESSRIGHTS) -_PROTOOATOTALMARGINCALCULATIONTYPE = DESCRIPTOR.enum_types_by_name['ProtoOATotalMarginCalculationType'] -ProtoOATotalMarginCalculationType = enum_type_wrapper.EnumTypeWrapper(_PROTOOATOTALMARGINCALCULATIONTYPE) -_PROTOOAACCOUNTTYPE = DESCRIPTOR.enum_types_by_name['ProtoOAAccountType'] -ProtoOAAccountType = enum_type_wrapper.EnumTypeWrapper(_PROTOOAACCOUNTTYPE) -_PROTOOAPOSITIONSTATUS = DESCRIPTOR.enum_types_by_name['ProtoOAPositionStatus'] -ProtoOAPositionStatus = enum_type_wrapper.EnumTypeWrapper(_PROTOOAPOSITIONSTATUS) -_PROTOOATRADESIDE = DESCRIPTOR.enum_types_by_name['ProtoOATradeSide'] -ProtoOATradeSide = enum_type_wrapper.EnumTypeWrapper(_PROTOOATRADESIDE) -_PROTOOAORDERTYPE = DESCRIPTOR.enum_types_by_name['ProtoOAOrderType'] -ProtoOAOrderType = enum_type_wrapper.EnumTypeWrapper(_PROTOOAORDERTYPE) -_PROTOOATIMEINFORCE = DESCRIPTOR.enum_types_by_name['ProtoOATimeInForce'] -ProtoOATimeInForce = enum_type_wrapper.EnumTypeWrapper(_PROTOOATIMEINFORCE) -_PROTOOAORDERSTATUS = DESCRIPTOR.enum_types_by_name['ProtoOAOrderStatus'] -ProtoOAOrderStatus = enum_type_wrapper.EnumTypeWrapper(_PROTOOAORDERSTATUS) -_PROTOOAORDERTRIGGERMETHOD = DESCRIPTOR.enum_types_by_name['ProtoOAOrderTriggerMethod'] -ProtoOAOrderTriggerMethod = enum_type_wrapper.EnumTypeWrapper(_PROTOOAORDERTRIGGERMETHOD) -_PROTOOAEXECUTIONTYPE = DESCRIPTOR.enum_types_by_name['ProtoOAExecutionType'] -ProtoOAExecutionType = enum_type_wrapper.EnumTypeWrapper(_PROTOOAEXECUTIONTYPE) -_PROTOOACHANGEBONUSTYPE = DESCRIPTOR.enum_types_by_name['ProtoOAChangeBonusType'] -ProtoOAChangeBonusType = enum_type_wrapper.EnumTypeWrapper(_PROTOOACHANGEBONUSTYPE) -_PROTOOACHANGEBALANCETYPE = DESCRIPTOR.enum_types_by_name['ProtoOAChangeBalanceType'] -ProtoOAChangeBalanceType = enum_type_wrapper.EnumTypeWrapper(_PROTOOACHANGEBALANCETYPE) -_PROTOOADEALSTATUS = DESCRIPTOR.enum_types_by_name['ProtoOADealStatus'] -ProtoOADealStatus = enum_type_wrapper.EnumTypeWrapper(_PROTOOADEALSTATUS) -_PROTOOATRENDBARPERIOD = DESCRIPTOR.enum_types_by_name['ProtoOATrendbarPeriod'] -ProtoOATrendbarPeriod = enum_type_wrapper.EnumTypeWrapper(_PROTOOATRENDBARPERIOD) -_PROTOOAQUOTETYPE = DESCRIPTOR.enum_types_by_name['ProtoOAQuoteType'] -ProtoOAQuoteType = enum_type_wrapper.EnumTypeWrapper(_PROTOOAQUOTETYPE) -_PROTOOACLIENTPERMISSIONSCOPE = DESCRIPTOR.enum_types_by_name['ProtoOAClientPermissionScope'] -ProtoOAClientPermissionScope = enum_type_wrapper.EnumTypeWrapper(_PROTOOACLIENTPERMISSIONSCOPE) -_PROTOOANOTIFICATIONTYPE = DESCRIPTOR.enum_types_by_name['ProtoOANotificationType'] -ProtoOANotificationType = enum_type_wrapper.EnumTypeWrapper(_PROTOOANOTIFICATIONTYPE) -_PROTOOAERRORCODE = DESCRIPTOR.enum_types_by_name['ProtoOAErrorCode'] -ProtoOAErrorCode = enum_type_wrapper.EnumTypeWrapper(_PROTOOAERRORCODE) -_PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY = DESCRIPTOR.enum_types_by_name['ProtoOALimitedRiskMarginCalculationStrategy'] -ProtoOALimitedRiskMarginCalculationStrategy = enum_type_wrapper.EnumTypeWrapper(_PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY) -PROTO_OA_APPLICATION_AUTH_REQ = 2100 -PROTO_OA_APPLICATION_AUTH_RES = 2101 -PROTO_OA_ACCOUNT_AUTH_REQ = 2102 -PROTO_OA_ACCOUNT_AUTH_RES = 2103 -PROTO_OA_VERSION_REQ = 2104 -PROTO_OA_VERSION_RES = 2105 -PROTO_OA_NEW_ORDER_REQ = 2106 -PROTO_OA_TRAILING_SL_CHANGED_EVENT = 2107 -PROTO_OA_CANCEL_ORDER_REQ = 2108 -PROTO_OA_AMEND_ORDER_REQ = 2109 -PROTO_OA_AMEND_POSITION_SLTP_REQ = 2110 -PROTO_OA_CLOSE_POSITION_REQ = 2111 -PROTO_OA_ASSET_LIST_REQ = 2112 -PROTO_OA_ASSET_LIST_RES = 2113 -PROTO_OA_SYMBOLS_LIST_REQ = 2114 -PROTO_OA_SYMBOLS_LIST_RES = 2115 -PROTO_OA_SYMBOL_BY_ID_REQ = 2116 -PROTO_OA_SYMBOL_BY_ID_RES = 2117 -PROTO_OA_SYMBOLS_FOR_CONVERSION_REQ = 2118 -PROTO_OA_SYMBOLS_FOR_CONVERSION_RES = 2119 -PROTO_OA_SYMBOL_CHANGED_EVENT = 2120 -PROTO_OA_TRADER_REQ = 2121 -PROTO_OA_TRADER_RES = 2122 -PROTO_OA_TRADER_UPDATE_EVENT = 2123 -PROTO_OA_RECONCILE_REQ = 2124 -PROTO_OA_RECONCILE_RES = 2125 -PROTO_OA_EXECUTION_EVENT = 2126 -PROTO_OA_SUBSCRIBE_SPOTS_REQ = 2127 -PROTO_OA_SUBSCRIBE_SPOTS_RES = 2128 -PROTO_OA_UNSUBSCRIBE_SPOTS_REQ = 2129 -PROTO_OA_UNSUBSCRIBE_SPOTS_RES = 2130 -PROTO_OA_SPOT_EVENT = 2131 -PROTO_OA_ORDER_ERROR_EVENT = 2132 -PROTO_OA_DEAL_LIST_REQ = 2133 -PROTO_OA_DEAL_LIST_RES = 2134 -PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_REQ = 2135 -PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_REQ = 2136 -PROTO_OA_GET_TRENDBARS_REQ = 2137 -PROTO_OA_GET_TRENDBARS_RES = 2138 -PROTO_OA_EXPECTED_MARGIN_REQ = 2139 -PROTO_OA_EXPECTED_MARGIN_RES = 2140 -PROTO_OA_MARGIN_CHANGED_EVENT = 2141 -PROTO_OA_ERROR_RES = 2142 -PROTO_OA_CASH_FLOW_HISTORY_LIST_REQ = 2143 -PROTO_OA_CASH_FLOW_HISTORY_LIST_RES = 2144 -PROTO_OA_GET_TICKDATA_REQ = 2145 -PROTO_OA_GET_TICKDATA_RES = 2146 -PROTO_OA_ACCOUNTS_TOKEN_INVALIDATED_EVENT = 2147 -PROTO_OA_CLIENT_DISCONNECT_EVENT = 2148 -PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_REQ = 2149 -PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_RES = 2150 -PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_REQ = 2151 -PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_RES = 2152 -PROTO_OA_ASSET_CLASS_LIST_REQ = 2153 -PROTO_OA_ASSET_CLASS_LIST_RES = 2154 -PROTO_OA_DEPTH_EVENT = 2155 -PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_REQ = 2156 -PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_RES = 2157 -PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_REQ = 2158 -PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_RES = 2159 -PROTO_OA_SYMBOL_CATEGORY_REQ = 2160 -PROTO_OA_SYMBOL_CATEGORY_RES = 2161 -PROTO_OA_ACCOUNT_LOGOUT_REQ = 2162 -PROTO_OA_ACCOUNT_LOGOUT_RES = 2163 -PROTO_OA_ACCOUNT_DISCONNECT_EVENT = 2164 -PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_RES = 2165 -PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_RES = 2166 -PROTO_OA_MARGIN_CALL_LIST_REQ = 2167 -PROTO_OA_MARGIN_CALL_LIST_RES = 2168 -PROTO_OA_MARGIN_CALL_UPDATE_REQ = 2169 -PROTO_OA_MARGIN_CALL_UPDATE_RES = 2170 -PROTO_OA_MARGIN_CALL_UPDATE_EVENT = 2171 -PROTO_OA_MARGIN_CALL_TRIGGER_EVENT = 2172 -PROTO_OA_REFRESH_TOKEN_REQ = 2173 -PROTO_OA_REFRESH_TOKEN_RES = 2174 -PROTO_OA_ORDER_LIST_REQ = 2175 -PROTO_OA_ORDER_LIST_RES = 2176 -PROTO_OA_GET_DYNAMIC_LEVERAGE_REQ = 2177 -PROTO_OA_GET_DYNAMIC_LEVERAGE_RES = 2178 -PROTO_OA_DEAL_LIST_BY_POSITION_ID_REQ = 2179 -PROTO_OA_DEAL_LIST_BY_POSITION_ID_RES = 2180 -NONE = 0 -MONDAY = 1 -TUESDAY = 2 -WEDNESDAY = 3 -THURSDAY = 4 -FRIDAY = 5 -SATURDAY = 6 -SUNDAY = 7 -USD_PER_MILLION_USD = 1 -USD_PER_LOT = 2 -PERCENTAGE_OF_VALUE = 3 -QUOTE_CCY_PER_LOT = 4 -SYMBOL_DISTANCE_IN_POINTS = 1 -SYMBOL_DISTANCE_IN_PERCENTAGE = 2 -CURRENCY = 1 -QUOTE_CURRENCY = 2 -ENABLED = 0 -DISABLED_WITHOUT_PENDINGS_EXECUTION = 1 -DISABLED_WITH_PENDINGS_EXECUTION = 2 -CLOSE_ONLY_MODE = 3 -PIPS = 0 -PERCENTAGE = 1 -FULL_ACCESS = 0 -CLOSE_ONLY = 1 -NO_TRADING = 2 -NO_LOGIN = 3 -MAX = 0 -SUM = 1 -NET = 2 -HEDGED = 0 -NETTED = 1 -SPREAD_BETTING = 2 -POSITION_STATUS_OPEN = 1 -POSITION_STATUS_CLOSED = 2 -POSITION_STATUS_CREATED = 3 -POSITION_STATUS_ERROR = 4 -BUY = 1 -SELL = 2 -MARKET = 1 -LIMIT = 2 -STOP = 3 -STOP_LOSS_TAKE_PROFIT = 4 -MARKET_RANGE = 5 -STOP_LIMIT = 6 -GOOD_TILL_DATE = 1 -GOOD_TILL_CANCEL = 2 -IMMEDIATE_OR_CANCEL = 3 -FILL_OR_KILL = 4 -MARKET_ON_OPEN = 5 -ORDER_STATUS_ACCEPTED = 1 -ORDER_STATUS_FILLED = 2 -ORDER_STATUS_REJECTED = 3 -ORDER_STATUS_EXPIRED = 4 -ORDER_STATUS_CANCELLED = 5 -TRADE = 1 -OPPOSITE = 2 -DOUBLE_TRADE = 3 -DOUBLE_OPPOSITE = 4 -ORDER_ACCEPTED = 2 -ORDER_FILLED = 3 -ORDER_REPLACED = 4 -ORDER_CANCELLED = 5 -ORDER_EXPIRED = 6 -ORDER_REJECTED = 7 -ORDER_CANCEL_REJECTED = 8 -SWAP = 9 -DEPOSIT_WITHDRAW = 10 -ORDER_PARTIAL_FILL = 11 -BONUS_DEPOSIT_WITHDRAW = 12 -BONUS_DEPOSIT = 0 -BONUS_WITHDRAW = 1 -BALANCE_DEPOSIT = 0 -BALANCE_WITHDRAW = 1 -BALANCE_DEPOSIT_STRATEGY_COMMISSION_INNER = 3 -BALANCE_WITHDRAW_STRATEGY_COMMISSION_INNER = 4 -BALANCE_DEPOSIT_IB_COMMISSIONS = 5 -BALANCE_WITHDRAW_IB_SHARED_PERCENTAGE = 6 -BALANCE_DEPOSIT_IB_SHARED_PERCENTAGE_FROM_SUB_IB = 7 -BALANCE_DEPOSIT_IB_SHARED_PERCENTAGE_FROM_BROKER = 8 -BALANCE_DEPOSIT_REBATE = 9 -BALANCE_WITHDRAW_REBATE = 10 -BALANCE_DEPOSIT_STRATEGY_COMMISSION_OUTER = 11 -BALANCE_WITHDRAW_STRATEGY_COMMISSION_OUTER = 12 -BALANCE_WITHDRAW_BONUS_COMPENSATION = 13 -BALANCE_WITHDRAW_IB_SHARED_PERCENTAGE_TO_BROKER = 14 -BALANCE_DEPOSIT_DIVIDENDS = 15 -BALANCE_WITHDRAW_DIVIDENDS = 16 -BALANCE_WITHDRAW_GSL_CHARGE = 17 -BALANCE_WITHDRAW_ROLLOVER = 18 -BALANCE_DEPOSIT_NONWITHDRAWABLE_BONUS = 19 -BALANCE_WITHDRAW_NONWITHDRAWABLE_BONUS = 20 -BALANCE_DEPOSIT_SWAP = 21 -BALANCE_WITHDRAW_SWAP = 22 -BALANCE_DEPOSIT_MANAGEMENT_FEE = 27 -BALANCE_WITHDRAW_MANAGEMENT_FEE = 28 -BALANCE_DEPOSIT_PERFORMANCE_FEE = 29 -BALANCE_WITHDRAW_FOR_SUBACCOUNT = 30 -BALANCE_DEPOSIT_TO_SUBACCOUNT = 31 -BALANCE_WITHDRAW_FROM_SUBACCOUNT = 32 -BALANCE_DEPOSIT_FROM_SUBACCOUNT = 33 -BALANCE_WITHDRAW_COPY_FEE = 34 -BALANCE_WITHDRAW_INACTIVITY_FEE = 35 -BALANCE_DEPOSIT_TRANSFER = 36 -BALANCE_WITHDRAW_TRANSFER = 37 -BALANCE_DEPOSIT_CONVERTED_BONUS = 38 -BALANCE_DEPOSIT_NEGATIVE_BALANCE_PROTECTION = 39 -FILLED = 2 -PARTIALLY_FILLED = 3 -REJECTED = 4 -INTERNALLY_REJECTED = 5 -ERROR = 6 -MISSED = 7 -M1 = 1 -M2 = 2 -M3 = 3 -M4 = 4 -M5 = 5 -M10 = 6 -M15 = 7 -M30 = 8 -H1 = 9 -H4 = 10 -H12 = 11 -D1 = 12 -W1 = 13 -MN1 = 14 -BID = 1 -ASK = 2 -SCOPE_VIEW = 0 -SCOPE_TRADE = 1 -MARGIN_LEVEL_THRESHOLD_1 = 61 -MARGIN_LEVEL_THRESHOLD_2 = 62 -MARGIN_LEVEL_THRESHOLD_3 = 63 -OA_AUTH_TOKEN_EXPIRED = 1 -ACCOUNT_NOT_AUTHORIZED = 2 -ALREADY_LOGGED_IN = 14 -CH_CLIENT_AUTH_FAILURE = 101 -CH_CLIENT_NOT_AUTHENTICATED = 102 -CH_CLIENT_ALREADY_AUTHENTICATED = 103 -CH_ACCESS_TOKEN_INVALID = 104 -CH_SERVER_NOT_REACHABLE = 105 -CH_CTID_TRADER_ACCOUNT_NOT_FOUND = 106 -CH_OA_CLIENT_NOT_FOUND = 107 -REQUEST_FREQUENCY_EXCEEDED = 108 -SERVER_IS_UNDER_MAINTENANCE = 109 -CHANNEL_IS_BLOCKED = 110 -CONNECTIONS_LIMIT_EXCEEDED = 67 -WORSE_GSL_NOT_ALLOWED = 68 -SYMBOL_HAS_HOLIDAY = 69 -NOT_SUBSCRIBED_TO_SPOTS = 112 -ALREADY_SUBSCRIBED = 113 -SYMBOL_NOT_FOUND = 114 -UNKNOWN_SYMBOL = 115 -INCORRECT_BOUNDARIES = 35 -NO_QUOTES = 117 -NOT_ENOUGH_MONEY = 118 -MAX_EXPOSURE_REACHED = 119 -POSITION_NOT_FOUND = 120 -ORDER_NOT_FOUND = 121 -POSITION_NOT_OPEN = 122 -POSITION_LOCKED = 123 -TOO_MANY_POSITIONS = 124 -TRADING_BAD_VOLUME = 125 -TRADING_BAD_STOPS = 126 -TRADING_BAD_PRICES = 127 -TRADING_BAD_STAKE = 128 -PROTECTION_IS_TOO_CLOSE_TO_MARKET = 129 -TRADING_BAD_EXPIRATION_DATE = 130 -PENDING_EXECUTION = 131 -TRADING_DISABLED = 132 -TRADING_NOT_ALLOWED = 133 -UNABLE_TO_CANCEL_ORDER = 134 -UNABLE_TO_AMEND_ORDER = 135 -SHORT_SELLING_NOT_ALLOWED = 136 -ACCORDING_TO_LEVERAGE = 0 -ACCORDING_TO_GSL = 1 -ACCORDING_TO_GSL_AND_LEVERAGE = 2 - - -_PROTOOAASSET = DESCRIPTOR.message_types_by_name['ProtoOAAsset'] -_PROTOOASYMBOL = DESCRIPTOR.message_types_by_name['ProtoOASymbol'] -_PROTOOALIGHTSYMBOL = DESCRIPTOR.message_types_by_name['ProtoOALightSymbol'] -_PROTOOAARCHIVEDSYMBOL = DESCRIPTOR.message_types_by_name['ProtoOAArchivedSymbol'] -_PROTOOASYMBOLCATEGORY = DESCRIPTOR.message_types_by_name['ProtoOASymbolCategory'] -_PROTOOAINTERVAL = DESCRIPTOR.message_types_by_name['ProtoOAInterval'] -_PROTOOATRADER = DESCRIPTOR.message_types_by_name['ProtoOATrader'] -_PROTOOAPOSITION = DESCRIPTOR.message_types_by_name['ProtoOAPosition'] -_PROTOOATRADEDATA = DESCRIPTOR.message_types_by_name['ProtoOATradeData'] -_PROTOOAORDER = DESCRIPTOR.message_types_by_name['ProtoOAOrder'] -_PROTOOABONUSDEPOSITWITHDRAW = DESCRIPTOR.message_types_by_name['ProtoOABonusDepositWithdraw'] -_PROTOOADEPOSITWITHDRAW = DESCRIPTOR.message_types_by_name['ProtoOADepositWithdraw'] -_PROTOOADEAL = DESCRIPTOR.message_types_by_name['ProtoOADeal'] -_PROTOOACLOSEPOSITIONDETAIL = DESCRIPTOR.message_types_by_name['ProtoOAClosePositionDetail'] -_PROTOOATRENDBAR = DESCRIPTOR.message_types_by_name['ProtoOATrendbar'] -_PROTOOAEXPECTEDMARGIN = DESCRIPTOR.message_types_by_name['ProtoOAExpectedMargin'] -_PROTOOATICKDATA = DESCRIPTOR.message_types_by_name['ProtoOATickData'] -_PROTOOACTIDPROFILE = DESCRIPTOR.message_types_by_name['ProtoOACtidProfile'] -_PROTOOACTIDTRADERACCOUNT = DESCRIPTOR.message_types_by_name['ProtoOACtidTraderAccount'] -_PROTOOAASSETCLASS = DESCRIPTOR.message_types_by_name['ProtoOAAssetClass'] -_PROTOOADEPTHQUOTE = DESCRIPTOR.message_types_by_name['ProtoOADepthQuote'] -_PROTOOAMARGINCALL = DESCRIPTOR.message_types_by_name['ProtoOAMarginCall'] -_PROTOOAHOLIDAY = DESCRIPTOR.message_types_by_name['ProtoOAHoliday'] -_PROTOOADYNAMICLEVERAGE = DESCRIPTOR.message_types_by_name['ProtoOADynamicLeverage'] -_PROTOOADYNAMICLEVERAGETIER = DESCRIPTOR.message_types_by_name['ProtoOADynamicLeverageTier'] -ProtoOAAsset = _reflection.GeneratedProtocolMessageType('ProtoOAAsset', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAASSET, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAsset) - }) -_sym_db.RegisterMessage(ProtoOAAsset) - -ProtoOASymbol = _reflection.GeneratedProtocolMessageType('ProtoOASymbol', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOL, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbol) - }) -_sym_db.RegisterMessage(ProtoOASymbol) - -ProtoOALightSymbol = _reflection.GeneratedProtocolMessageType('ProtoOALightSymbol', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOALIGHTSYMBOL, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOALightSymbol) - }) -_sym_db.RegisterMessage(ProtoOALightSymbol) - -ProtoOAArchivedSymbol = _reflection.GeneratedProtocolMessageType('ProtoOAArchivedSymbol', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAARCHIVEDSYMBOL, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAArchivedSymbol) - }) -_sym_db.RegisterMessage(ProtoOAArchivedSymbol) - -ProtoOASymbolCategory = _reflection.GeneratedProtocolMessageType('ProtoOASymbolCategory', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOASYMBOLCATEGORY, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOASymbolCategory) - }) -_sym_db.RegisterMessage(ProtoOASymbolCategory) - -ProtoOAInterval = _reflection.GeneratedProtocolMessageType('ProtoOAInterval', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAINTERVAL, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAInterval) - }) -_sym_db.RegisterMessage(ProtoOAInterval) - -ProtoOATrader = _reflection.GeneratedProtocolMessageType('ProtoOATrader', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATRADER, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATrader) - }) -_sym_db.RegisterMessage(ProtoOATrader) - -ProtoOAPosition = _reflection.GeneratedProtocolMessageType('ProtoOAPosition', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAPOSITION, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAPosition) - }) -_sym_db.RegisterMessage(ProtoOAPosition) - -ProtoOATradeData = _reflection.GeneratedProtocolMessageType('ProtoOATradeData', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATRADEDATA, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATradeData) - }) -_sym_db.RegisterMessage(ProtoOATradeData) - -ProtoOAOrder = _reflection.GeneratedProtocolMessageType('ProtoOAOrder', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAORDER, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAOrder) - }) -_sym_db.RegisterMessage(ProtoOAOrder) - -ProtoOABonusDepositWithdraw = _reflection.GeneratedProtocolMessageType('ProtoOABonusDepositWithdraw', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOABONUSDEPOSITWITHDRAW, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOABonusDepositWithdraw) - }) -_sym_db.RegisterMessage(ProtoOABonusDepositWithdraw) - -ProtoOADepositWithdraw = _reflection.GeneratedProtocolMessageType('ProtoOADepositWithdraw', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEPOSITWITHDRAW, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADepositWithdraw) - }) -_sym_db.RegisterMessage(ProtoOADepositWithdraw) - -ProtoOADeal = _reflection.GeneratedProtocolMessageType('ProtoOADeal', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEAL, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADeal) - }) -_sym_db.RegisterMessage(ProtoOADeal) - -ProtoOAClosePositionDetail = _reflection.GeneratedProtocolMessageType('ProtoOAClosePositionDetail', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACLOSEPOSITIONDETAIL, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAClosePositionDetail) - }) -_sym_db.RegisterMessage(ProtoOAClosePositionDetail) - -ProtoOATrendbar = _reflection.GeneratedProtocolMessageType('ProtoOATrendbar', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATRENDBAR, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATrendbar) - }) -_sym_db.RegisterMessage(ProtoOATrendbar) - -ProtoOAExpectedMargin = _reflection.GeneratedProtocolMessageType('ProtoOAExpectedMargin', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAEXPECTEDMARGIN, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAExpectedMargin) - }) -_sym_db.RegisterMessage(ProtoOAExpectedMargin) - -ProtoOATickData = _reflection.GeneratedProtocolMessageType('ProtoOATickData', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOATICKDATA, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOATickData) - }) -_sym_db.RegisterMessage(ProtoOATickData) - -ProtoOACtidProfile = _reflection.GeneratedProtocolMessageType('ProtoOACtidProfile', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACTIDPROFILE, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOACtidProfile) - }) -_sym_db.RegisterMessage(ProtoOACtidProfile) - -ProtoOACtidTraderAccount = _reflection.GeneratedProtocolMessageType('ProtoOACtidTraderAccount', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOACTIDTRADERACCOUNT, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOACtidTraderAccount) - }) -_sym_db.RegisterMessage(ProtoOACtidTraderAccount) - -ProtoOAAssetClass = _reflection.GeneratedProtocolMessageType('ProtoOAAssetClass', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAASSETCLASS, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAAssetClass) - }) -_sym_db.RegisterMessage(ProtoOAAssetClass) - -ProtoOADepthQuote = _reflection.GeneratedProtocolMessageType('ProtoOADepthQuote', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADEPTHQUOTE, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADepthQuote) - }) -_sym_db.RegisterMessage(ProtoOADepthQuote) - -ProtoOAMarginCall = _reflection.GeneratedProtocolMessageType('ProtoOAMarginCall', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAMARGINCALL, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAMarginCall) - }) -_sym_db.RegisterMessage(ProtoOAMarginCall) - -ProtoOAHoliday = _reflection.GeneratedProtocolMessageType('ProtoOAHoliday', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOAHOLIDAY, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOAHoliday) - }) -_sym_db.RegisterMessage(ProtoOAHoliday) - -ProtoOADynamicLeverage = _reflection.GeneratedProtocolMessageType('ProtoOADynamicLeverage', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADYNAMICLEVERAGE, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADynamicLeverage) - }) -_sym_db.RegisterMessage(ProtoOADynamicLeverage) - -ProtoOADynamicLeverageTier = _reflection.GeneratedProtocolMessageType('ProtoOADynamicLeverageTier', (_message.Message,), { - 'DESCRIPTOR' : _PROTOOADYNAMICLEVERAGETIER, - '__module__' : 'OpenApiModelMessages_pb2' - # @@protoc_insertion_point(class_scope:ProtoOADynamicLeverageTier) - }) -_sym_db.RegisterMessage(ProtoOADynamicLeverageTier) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aOpenApiModelMessages.proto\"R\n\x0cProtoOAAsset\x12\x0f\n\x07\x61ssetId\x18\x01 \x02(\x03\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x13\n\x0b\x64isplayName\x18\x03 \x01(\t\x12\x0e\n\x06\x64igits\x18\x04 \x01(\x05\"\xc8\t\n\rProtoOASymbol\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x0e\n\x06\x64igits\x18\x02 \x02(\x05\x12\x13\n\x0bpipPosition\x18\x03 \x02(\x05\x12\x1a\n\x12\x65nableShortSelling\x18\x04 \x01(\x08\x12\x1a\n\x12guaranteedStopLoss\x18\x05 \x01(\x08\x12\x34\n\x11swapRollover3Days\x18\x06 \x01(\x0e\x32\x11.ProtoOADayOfWeek:\x06MONDAY\x12\x10\n\x08swapLong\x18\x07 \x01(\x01\x12\x11\n\tswapShort\x18\x08 \x01(\x01\x12\x11\n\tmaxVolume\x18\t \x01(\x03\x12\x11\n\tminVolume\x18\n \x01(\x03\x12\x12\n\nstepVolume\x18\x0b \x01(\x03\x12\x13\n\x0bmaxExposure\x18\x0c \x01(\x04\x12\"\n\x08schedule\x18\r \x03(\x0b\x32\x10.ProtoOAInterval\x12\x16\n\ncommission\x18\x0e \x01(\x03\x42\x02\x18\x01\x12\x43\n\x0e\x63ommissionType\x18\x0f \x01(\x0e\x32\x16.ProtoOACommissionType:\x13USD_PER_MILLION_USD\x12\x12\n\nslDistance\x18\x10 \x01(\r\x12\x12\n\ntpDistance\x18\x11 \x01(\r\x12\x13\n\x0bgslDistance\x18\x12 \x01(\r\x12\x11\n\tgslCharge\x18\x13 \x01(\x03\x12L\n\rdistanceSetIn\x18\x14 \x01(\x0e\x32\x1a.ProtoOASymbolDistanceType:\x19SYMBOL_DISTANCE_IN_POINTS\x12\x19\n\rminCommission\x18\x15 \x01(\x03\x42\x02\x18\x01\x12>\n\x11minCommissionType\x18\x16 \x01(\x0e\x32\x19.ProtoOAMinCommissionType:\x08\x43URRENCY\x12\x1f\n\x12minCommissionAsset\x18\x17 \x01(\t:\x03USD\x12\x1a\n\x12rolloverCommission\x18\x18 \x01(\x03\x12\x18\n\x10skipRolloverDays\x18\x19 \x01(\x05\x12\x18\n\x10scheduleTimeZone\x18\x1a \x01(\t\x12\x31\n\x0btradingMode\x18\x1b \x01(\x0e\x32\x13.ProtoOATradingMode:\x07\x45NABLED\x12:\n\x17rolloverCommission3Days\x18\x1c \x01(\x0e\x32\x11.ProtoOADayOfWeek:\x06MONDAY\x12>\n\x13swapCalculationType\x18\x1d \x01(\x0e\x32\x1b.ProtoOASwapCalculationType:\x04PIPS\x12\x0f\n\x07lotSize\x18\x1e \x01(\x03\x12$\n\x1cpreciseTradingCommissionRate\x18\x1f \x01(\x03\x12\x1c\n\x14preciseMinCommission\x18 \x01(\x03\x12 \n\x07holiday\x18! \x03(\x0b\x32\x0f.ProtoOAHoliday\x12\x1c\n\x14pnlConversionFeeRate\x18\" \x01(\x05\x12\x12\n\nleverageId\x18# \x01(\x03\x12\x12\n\nswapPeriod\x18$ \x01(\x05\x12\x10\n\x08swapTime\x18% \x01(\x05\x12\x17\n\x0fskipSWAPPeriods\x18& \x01(\x05\x12\x1c\n\x14\x63hargeSwapAtWeekends\x18\' \x01(\x08\"\xa5\x01\n\x12ProtoOALightSymbol\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x12\n\nsymbolName\x18\x02 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\x12\x13\n\x0b\x62\x61seAssetId\x18\x04 \x01(\x03\x12\x14\n\x0cquoteAssetId\x18\x05 \x01(\x03\x12\x18\n\x10symbolCategoryId\x18\x06 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\"l\n\x15ProtoOAArchivedSymbol\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x1e\n\x16utcLastUpdateTimestamp\x18\x03 \x02(\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"G\n\x15ProtoOASymbolCategory\x12\n\n\x02id\x18\x01 \x02(\x03\x12\x14\n\x0c\x61ssetClassId\x18\x02 \x02(\x03\x12\x0c\n\x04name\x18\x03 \x02(\t\"9\n\x0fProtoOAInterval\x12\x13\n\x0bstartSecond\x18\x03 \x02(\r\x12\x11\n\tendSecond\x18\x04 \x02(\r\"\xa4\x05\n\rProtoOATrader\x12\x1b\n\x13\x63tidTraderAccountId\x18\x01 \x02(\x03\x12\x0f\n\x07\x62\x61lance\x18\x02 \x02(\x03\x12\x16\n\x0e\x62\x61lanceVersion\x18\x03 \x01(\x03\x12\x14\n\x0cmanagerBonus\x18\x04 \x01(\x03\x12\x0f\n\x07ibBonus\x18\x05 \x01(\x03\x12\x1c\n\x14nonWithdrawableBonus\x18\x06 \x01(\x03\x12\x37\n\x0c\x61\x63\x63\x65ssRights\x18\x07 \x01(\x0e\x32\x14.ProtoOAAccessRights:\x0b\x46ULL_ACCESS\x12\x16\n\x0e\x64\x65positAssetId\x18\x08 \x02(\x03\x12\x10\n\x08swapFree\x18\t \x01(\x08\x12\x17\n\x0fleverageInCents\x18\n \x01(\r\x12\x46\n\x1atotalMarginCalculationType\x18\x0b \x01(\x0e\x32\".ProtoOATotalMarginCalculationType\x12\x13\n\x0bmaxLeverage\x18\x0c \x01(\r\x12\x16\n\nfrenchRisk\x18\r \x01(\x08\x42\x02\x18\x01\x12\x13\n\x0btraderLogin\x18\x0e \x01(\x03\x12\x30\n\x0b\x61\x63\x63ountType\x18\x0f \x01(\x0e\x32\x13.ProtoOAAccountType:\x06HEDGED\x12\x12\n\nbrokerName\x18\x10 \x01(\t\x12\x1d\n\x15registrationTimestamp\x18\x11 \x01(\x03\x12\x15\n\risLimitedRisk\x18\x12 \x01(\x08\x12q\n$limitedRiskMarginCalculationStrategy\x18\x13 \x01(\x0e\x32,.ProtoOALimitedRiskMarginCalculationStrategy:\x15\x41\x43\x43ORDING_TO_LEVERAGE\x12\x13\n\x0bmoneyDigits\x18\x14 \x01(\r\"\xc4\x03\n\x0fProtoOAPosition\x12\x12\n\npositionId\x18\x01 \x02(\x03\x12$\n\ttradeData\x18\x02 \x02(\x0b\x32\x11.ProtoOATradeData\x12.\n\x0epositionStatus\x18\x03 \x02(\x0e\x32\x16.ProtoOAPositionStatus\x12\x0c\n\x04swap\x18\x04 \x02(\x03\x12\r\n\x05price\x18\x05 \x01(\x01\x12\x10\n\x08stopLoss\x18\x06 \x01(\x01\x12\x12\n\ntakeProfit\x18\x07 \x01(\x01\x12\x1e\n\x16utcLastUpdateTimestamp\x18\x08 \x01(\x03\x12\x12\n\ncommission\x18\t \x01(\x03\x12\x12\n\nmarginRate\x18\n \x01(\x01\x12\x1b\n\x13mirroringCommission\x18\x0b \x01(\x03\x12\x1a\n\x12guaranteedStopLoss\x18\x0c \x01(\x08\x12\x12\n\nusedMargin\x18\r \x01(\x04\x12@\n\x15stopLossTriggerMethod\x18\x0e \x01(\x0e\x32\x1a.ProtoOAOrderTriggerMethod:\x05TRADE\x12\x13\n\x0bmoneyDigits\x18\x0f \x01(\r\x12\x18\n\x10trailingStopLoss\x18\x10 \x01(\x08\"\xad\x01\n\x10ProtoOATradeData\x12\x10\n\x08symbolId\x18\x01 \x02(\x03\x12\x0e\n\x06volume\x18\x02 \x02(\x03\x12$\n\ttradeSide\x18\x03 \x02(\x0e\x32\x11.ProtoOATradeSide\x12\x15\n\ropenTimestamp\x18\x04 \x01(\x03\x12\r\n\x05label\x18\x05 \x01(\t\x12\x1a\n\x12guaranteedStopLoss\x18\x06 \x01(\x08\x12\x0f\n\x07\x63omment\x18\x07 \x01(\t\"\xa5\x05\n\x0cProtoOAOrder\x12\x0f\n\x07orderId\x18\x01 \x02(\x03\x12$\n\ttradeData\x18\x02 \x02(\x0b\x32\x11.ProtoOATradeData\x12$\n\torderType\x18\x03 \x02(\x0e\x32\x11.ProtoOAOrderType\x12(\n\x0borderStatus\x18\x04 \x02(\x0e\x32\x13.ProtoOAOrderStatus\x12\x1b\n\x13\x65xpirationTimestamp\x18\x06 \x01(\x03\x12\x16\n\x0e\x65xecutionPrice\x18\x07 \x01(\x01\x12\x16\n\x0e\x65xecutedVolume\x18\x08 \x01(\x03\x12\x1e\n\x16utcLastUpdateTimestamp\x18\t \x01(\x03\x12\x19\n\x11\x62\x61seSlippagePrice\x18\n \x01(\x01\x12\x18\n\x10slippageInPoints\x18\x0b \x01(\x03\x12\x14\n\x0c\x63losingOrder\x18\x0c \x01(\x08\x12\x12\n\nlimitPrice\x18\r \x01(\x01\x12\x11\n\tstopPrice\x18\x0e \x01(\x01\x12\x10\n\x08stopLoss\x18\x0f \x01(\x01\x12\x12\n\ntakeProfit\x18\x10 \x01(\x01\x12\x15\n\rclientOrderId\x18\x11 \x01(\t\x12=\n\x0btimeInForce\x18\x12 \x01(\x0e\x32\x13.ProtoOATimeInForce:\x13IMMEDIATE_OR_CANCEL\x12\x12\n\npositionId\x18\x13 \x01(\x03\x12\x18\n\x10relativeStopLoss\x18\x14 \x01(\x03\x12\x1a\n\x12relativeTakeProfit\x18\x15 \x01(\x03\x12\x11\n\tisStopOut\x18\x16 \x01(\x08\x12\x18\n\x10trailingStopLoss\x18\x17 \x01(\x08\x12<\n\x11stopTriggerMethod\x18\x18 \x01(\x0e\x32\x1a.ProtoOAOrderTriggerMethod:\x05TRADE\"\x99\x02\n\x1bProtoOABonusDepositWithdraw\x12.\n\roperationType\x18\x01 \x02(\x0e\x32\x17.ProtoOAChangeBonusType\x12\x16\n\x0e\x62onusHistoryId\x18\x02 \x02(\x03\x12\x14\n\x0cmanagerBonus\x18\x03 \x02(\x03\x12\x14\n\x0cmanagerDelta\x18\x04 \x02(\x03\x12\x0f\n\x07ibBonus\x18\x05 \x02(\x03\x12\x0f\n\x07ibDelta\x18\x06 \x02(\x03\x12\x1c\n\x14\x63hangeBonusTimestamp\x18\x07 \x02(\x03\x12\x14\n\x0c\x65xternalNote\x18\x08 \x01(\t\x12\x1b\n\x13introducingBrokerId\x18\t \x01(\x03\x12\x13\n\x0bmoneyDigits\x18\n \x01(\r\"\xf7\x01\n\x16ProtoOADepositWithdraw\x12\x30\n\roperationType\x18\x01 \x02(\x0e\x32\x19.ProtoOAChangeBalanceType\x12\x18\n\x10\x62\x61lanceHistoryId\x18\x02 \x02(\x03\x12\x0f\n\x07\x62\x61lance\x18\x03 \x02(\x03\x12\r\n\x05\x64\x65lta\x18\x04 \x02(\x03\x12\x1e\n\x16\x63hangeBalanceTimestamp\x18\x05 \x02(\x03\x12\x14\n\x0c\x65xternalNote\x18\x06 \x01(\t\x12\x16\n\x0e\x62\x61lanceVersion\x18\x07 \x01(\x03\x12\x0e\n\x06\x65quity\x18\x08 \x01(\x03\x12\x13\n\x0bmoneyDigits\x18\t \x01(\r\"\xcd\x03\n\x0bProtoOADeal\x12\x0e\n\x06\x64\x65\x61lId\x18\x01 \x02(\x03\x12\x0f\n\x07orderId\x18\x02 \x02(\x03\x12\x12\n\npositionId\x18\x03 \x02(\x03\x12\x0e\n\x06volume\x18\x04 \x02(\x03\x12\x14\n\x0c\x66illedVolume\x18\x05 \x02(\x03\x12\x10\n\x08symbolId\x18\x06 \x02(\x03\x12\x17\n\x0f\x63reateTimestamp\x18\x07 \x02(\x03\x12\x1a\n\x12\x65xecutionTimestamp\x18\x08 \x02(\x03\x12\x1e\n\x16utcLastUpdateTimestamp\x18\t \x01(\x03\x12\x16\n\x0e\x65xecutionPrice\x18\n \x01(\x01\x12$\n\ttradeSide\x18\x0b \x02(\x0e\x32\x11.ProtoOATradeSide\x12&\n\ndealStatus\x18\x0c \x02(\x0e\x32\x12.ProtoOADealStatus\x12\x12\n\nmarginRate\x18\r \x01(\x01\x12\x12\n\ncommission\x18\x0e \x01(\x03\x12\x1f\n\x17\x62\x61seToUsdConversionRate\x18\x0f \x01(\x01\x12\x38\n\x13\x63losePositionDetail\x18\x10 \x01(\x0b\x32\x1b.ProtoOAClosePositionDetail\x12\x13\n\x0bmoneyDigits\x18\x11 \x01(\r\"\xfb\x01\n\x1aProtoOAClosePositionDetail\x12\x12\n\nentryPrice\x18\x01 \x02(\x01\x12\x13\n\x0bgrossProfit\x18\x02 \x02(\x03\x12\x0c\n\x04swap\x18\x03 \x02(\x03\x12\x12\n\ncommission\x18\x04 \x02(\x03\x12\x0f\n\x07\x62\x61lance\x18\x05 \x02(\x03\x12$\n\x1cquoteToDepositConversionRate\x18\x06 \x01(\x01\x12\x14\n\x0c\x63losedVolume\x18\x07 \x01(\x03\x12\x16\n\x0e\x62\x61lanceVersion\x18\x08 \x01(\x03\x12\x13\n\x0bmoneyDigits\x18\t \x01(\r\x12\x18\n\x10pnlConversionFee\x18\n \x01(\x03\"\xb3\x01\n\x0fProtoOATrendbar\x12\x0e\n\x06volume\x18\x03 \x02(\x03\x12*\n\x06period\x18\x04 \x01(\x0e\x32\x16.ProtoOATrendbarPeriod:\x02M1\x12\x0b\n\x03low\x18\x05 \x01(\x03\x12\x11\n\tdeltaOpen\x18\x06 \x01(\x04\x12\x12\n\ndeltaClose\x18\x07 \x01(\x04\x12\x11\n\tdeltaHigh\x18\x08 \x01(\x04\x12\x1d\n\x15utcTimestampInMinutes\x18\t \x01(\r\"N\n\x15ProtoOAExpectedMargin\x12\x0e\n\x06volume\x18\x01 \x02(\x03\x12\x11\n\tbuyMargin\x18\x02 \x02(\x03\x12\x12\n\nsellMargin\x18\x03 \x02(\x03\"2\n\x0fProtoOATickData\x12\x11\n\ttimestamp\x18\x01 \x02(\x03\x12\x0c\n\x04tick\x18\x02 \x02(\x03\"$\n\x12ProtoOACtidProfile\x12\x0e\n\x06userId\x18\x01 \x02(\x03\"\xa2\x01\n\x18ProtoOACtidTraderAccount\x12\x1b\n\x13\x63tidTraderAccountId\x18\x01 \x02(\x04\x12\x0e\n\x06isLive\x18\x02 \x01(\x08\x12\x13\n\x0btraderLogin\x18\x03 \x01(\x03\x12 \n\x18lastClosingDealTimestamp\x18\x04 \x01(\x03\x12\"\n\x1alastBalanceUpdateTimestamp\x18\x05 \x01(\x03\"-\n\x11ProtoOAAssetClass\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\"G\n\x11ProtoOADepthQuote\x12\n\n\x02id\x18\x01 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\x04\x12\x0b\n\x03\x62id\x18\x04 \x01(\x04\x12\x0b\n\x03\x61sk\x18\x05 \x01(\x04\"\x83\x01\n\x11ProtoOAMarginCall\x12\x30\n\x0emarginCallType\x18\x01 \x02(\x0e\x32\x18.ProtoOANotificationType\x12\x1c\n\x14marginLevelThreshold\x18\x02 \x02(\x01\x12\x1e\n\x16utcLastUpdateTimestamp\x18\x03 \x01(\x03\"\xb2\x01\n\x0eProtoOAHoliday\x12\x11\n\tholidayId\x18\x01 \x02(\x03\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x18\n\x10scheduleTimeZone\x18\x04 \x02(\t\x12\x13\n\x0bholidayDate\x18\x05 \x02(\x03\x12\x13\n\x0bisRecurring\x18\x06 \x02(\x08\x12\x13\n\x0bstartSecond\x18\x07 \x01(\x05\x12\x11\n\tendSecond\x18\x08 \x01(\x05\"X\n\x16ProtoOADynamicLeverage\x12\x12\n\nleverageId\x18\x01 \x02(\x03\x12*\n\x05tiers\x18\x02 \x03(\x0b\x32\x1b.ProtoOADynamicLeverageTier\">\n\x1aProtoOADynamicLeverageTier\x12\x0e\n\x06volume\x18\x01 \x02(\x03\x12\x10\n\x08leverage\x18\x02 \x02(\x05*\xef\x16\n\x12ProtoOAPayloadType\x12\"\n\x1dPROTO_OA_APPLICATION_AUTH_REQ\x10\xb4\x10\x12\"\n\x1dPROTO_OA_APPLICATION_AUTH_RES\x10\xb5\x10\x12\x1e\n\x19PROTO_OA_ACCOUNT_AUTH_REQ\x10\xb6\x10\x12\x1e\n\x19PROTO_OA_ACCOUNT_AUTH_RES\x10\xb7\x10\x12\x19\n\x14PROTO_OA_VERSION_REQ\x10\xb8\x10\x12\x19\n\x14PROTO_OA_VERSION_RES\x10\xb9\x10\x12\x1b\n\x16PROTO_OA_NEW_ORDER_REQ\x10\xba\x10\x12\'\n\"PROTO_OA_TRAILING_SL_CHANGED_EVENT\x10\xbb\x10\x12\x1e\n\x19PROTO_OA_CANCEL_ORDER_REQ\x10\xbc\x10\x12\x1d\n\x18PROTO_OA_AMEND_ORDER_REQ\x10\xbd\x10\x12%\n PROTO_OA_AMEND_POSITION_SLTP_REQ\x10\xbe\x10\x12 \n\x1bPROTO_OA_CLOSE_POSITION_REQ\x10\xbf\x10\x12\x1c\n\x17PROTO_OA_ASSET_LIST_REQ\x10\xc0\x10\x12\x1c\n\x17PROTO_OA_ASSET_LIST_RES\x10\xc1\x10\x12\x1e\n\x19PROTO_OA_SYMBOLS_LIST_REQ\x10\xc2\x10\x12\x1e\n\x19PROTO_OA_SYMBOLS_LIST_RES\x10\xc3\x10\x12\x1e\n\x19PROTO_OA_SYMBOL_BY_ID_REQ\x10\xc4\x10\x12\x1e\n\x19PROTO_OA_SYMBOL_BY_ID_RES\x10\xc5\x10\x12(\n#PROTO_OA_SYMBOLS_FOR_CONVERSION_REQ\x10\xc6\x10\x12(\n#PROTO_OA_SYMBOLS_FOR_CONVERSION_RES\x10\xc7\x10\x12\"\n\x1dPROTO_OA_SYMBOL_CHANGED_EVENT\x10\xc8\x10\x12\x18\n\x13PROTO_OA_TRADER_REQ\x10\xc9\x10\x12\x18\n\x13PROTO_OA_TRADER_RES\x10\xca\x10\x12!\n\x1cPROTO_OA_TRADER_UPDATE_EVENT\x10\xcb\x10\x12\x1b\n\x16PROTO_OA_RECONCILE_REQ\x10\xcc\x10\x12\x1b\n\x16PROTO_OA_RECONCILE_RES\x10\xcd\x10\x12\x1d\n\x18PROTO_OA_EXECUTION_EVENT\x10\xce\x10\x12!\n\x1cPROTO_OA_SUBSCRIBE_SPOTS_REQ\x10\xcf\x10\x12!\n\x1cPROTO_OA_SUBSCRIBE_SPOTS_RES\x10\xd0\x10\x12#\n\x1ePROTO_OA_UNSUBSCRIBE_SPOTS_REQ\x10\xd1\x10\x12#\n\x1ePROTO_OA_UNSUBSCRIBE_SPOTS_RES\x10\xd2\x10\x12\x18\n\x13PROTO_OA_SPOT_EVENT\x10\xd3\x10\x12\x1f\n\x1aPROTO_OA_ORDER_ERROR_EVENT\x10\xd4\x10\x12\x1b\n\x16PROTO_OA_DEAL_LIST_REQ\x10\xd5\x10\x12\x1b\n\x16PROTO_OA_DEAL_LIST_RES\x10\xd6\x10\x12)\n$PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_REQ\x10\xd7\x10\x12+\n&PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_REQ\x10\xd8\x10\x12\x1f\n\x1aPROTO_OA_GET_TRENDBARS_REQ\x10\xd9\x10\x12\x1f\n\x1aPROTO_OA_GET_TRENDBARS_RES\x10\xda\x10\x12!\n\x1cPROTO_OA_EXPECTED_MARGIN_REQ\x10\xdb\x10\x12!\n\x1cPROTO_OA_EXPECTED_MARGIN_RES\x10\xdc\x10\x12\"\n\x1dPROTO_OA_MARGIN_CHANGED_EVENT\x10\xdd\x10\x12\x17\n\x12PROTO_OA_ERROR_RES\x10\xde\x10\x12(\n#PROTO_OA_CASH_FLOW_HISTORY_LIST_REQ\x10\xdf\x10\x12(\n#PROTO_OA_CASH_FLOW_HISTORY_LIST_RES\x10\xe0\x10\x12\x1e\n\x19PROTO_OA_GET_TICKDATA_REQ\x10\xe1\x10\x12\x1e\n\x19PROTO_OA_GET_TICKDATA_RES\x10\xe2\x10\x12.\n)PROTO_OA_ACCOUNTS_TOKEN_INVALIDATED_EVENT\x10\xe3\x10\x12%\n PROTO_OA_CLIENT_DISCONNECT_EVENT\x10\xe4\x10\x12.\n)PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_REQ\x10\xe5\x10\x12.\n)PROTO_OA_GET_ACCOUNTS_BY_ACCESS_TOKEN_RES\x10\xe6\x10\x12+\n&PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_REQ\x10\xe7\x10\x12+\n&PROTO_OA_GET_CTID_PROFILE_BY_TOKEN_RES\x10\xe8\x10\x12\"\n\x1dPROTO_OA_ASSET_CLASS_LIST_REQ\x10\xe9\x10\x12\"\n\x1dPROTO_OA_ASSET_CLASS_LIST_RES\x10\xea\x10\x12\x19\n\x14PROTO_OA_DEPTH_EVENT\x10\xeb\x10\x12(\n#PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_REQ\x10\xec\x10\x12(\n#PROTO_OA_SUBSCRIBE_DEPTH_QUOTES_RES\x10\xed\x10\x12*\n%PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_REQ\x10\xee\x10\x12*\n%PROTO_OA_UNSUBSCRIBE_DEPTH_QUOTES_RES\x10\xef\x10\x12!\n\x1cPROTO_OA_SYMBOL_CATEGORY_REQ\x10\xf0\x10\x12!\n\x1cPROTO_OA_SYMBOL_CATEGORY_RES\x10\xf1\x10\x12 \n\x1bPROTO_OA_ACCOUNT_LOGOUT_REQ\x10\xf2\x10\x12 \n\x1bPROTO_OA_ACCOUNT_LOGOUT_RES\x10\xf3\x10\x12&\n!PROTO_OA_ACCOUNT_DISCONNECT_EVENT\x10\xf4\x10\x12)\n$PROTO_OA_SUBSCRIBE_LIVE_TRENDBAR_RES\x10\xf5\x10\x12+\n&PROTO_OA_UNSUBSCRIBE_LIVE_TRENDBAR_RES\x10\xf6\x10\x12\"\n\x1dPROTO_OA_MARGIN_CALL_LIST_REQ\x10\xf7\x10\x12\"\n\x1dPROTO_OA_MARGIN_CALL_LIST_RES\x10\xf8\x10\x12$\n\x1fPROTO_OA_MARGIN_CALL_UPDATE_REQ\x10\xf9\x10\x12$\n\x1fPROTO_OA_MARGIN_CALL_UPDATE_RES\x10\xfa\x10\x12&\n!PROTO_OA_MARGIN_CALL_UPDATE_EVENT\x10\xfb\x10\x12\'\n\"PROTO_OA_MARGIN_CALL_TRIGGER_EVENT\x10\xfc\x10\x12\x1f\n\x1aPROTO_OA_REFRESH_TOKEN_REQ\x10\xfd\x10\x12\x1f\n\x1aPROTO_OA_REFRESH_TOKEN_RES\x10\xfe\x10\x12\x1c\n\x17PROTO_OA_ORDER_LIST_REQ\x10\xff\x10\x12\x1c\n\x17PROTO_OA_ORDER_LIST_RES\x10\x80\x11\x12&\n!PROTO_OA_GET_DYNAMIC_LEVERAGE_REQ\x10\x81\x11\x12&\n!PROTO_OA_GET_DYNAMIC_LEVERAGE_RES\x10\x82\x11\x12*\n%PROTO_OA_DEAL_LIST_BY_POSITION_ID_REQ\x10\x83\x11\x12*\n%PROTO_OA_DEAL_LIST_BY_POSITION_ID_RES\x10\x84\x11*x\n\x10ProtoOADayOfWeek\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06MONDAY\x10\x01\x12\x0b\n\x07TUESDAY\x10\x02\x12\r\n\tWEDNESDAY\x10\x03\x12\x0c\n\x08THURSDAY\x10\x04\x12\n\n\x06\x46RIDAY\x10\x05\x12\x0c\n\x08SATURDAY\x10\x06\x12\n\n\x06SUNDAY\x10\x07*q\n\x15ProtoOACommissionType\x12\x17\n\x13USD_PER_MILLION_USD\x10\x01\x12\x0f\n\x0bUSD_PER_LOT\x10\x02\x12\x17\n\x13PERCENTAGE_OF_VALUE\x10\x03\x12\x15\n\x11QUOTE_CCY_PER_LOT\x10\x04*]\n\x19ProtoOASymbolDistanceType\x12\x1d\n\x19SYMBOL_DISTANCE_IN_POINTS\x10\x01\x12!\n\x1dSYMBOL_DISTANCE_IN_PERCENTAGE\x10\x02*<\n\x18ProtoOAMinCommissionType\x12\x0c\n\x08\x43URRENCY\x10\x01\x12\x12\n\x0eQUOTE_CURRENCY\x10\x02*\x85\x01\n\x12ProtoOATradingMode\x12\x0b\n\x07\x45NABLED\x10\x00\x12\'\n#DISABLED_WITHOUT_PENDINGS_EXECUTION\x10\x01\x12$\n DISABLED_WITH_PENDINGS_EXECUTION\x10\x02\x12\x13\n\x0f\x43LOSE_ONLY_MODE\x10\x03*6\n\x1aProtoOASwapCalculationType\x12\x08\n\x04PIPS\x10\x00\x12\x0e\n\nPERCENTAGE\x10\x01*T\n\x13ProtoOAAccessRights\x12\x0f\n\x0b\x46ULL_ACCESS\x10\x00\x12\x0e\n\nCLOSE_ONLY\x10\x01\x12\x0e\n\nNO_TRADING\x10\x02\x12\x0c\n\x08NO_LOGIN\x10\x03*>\n!ProtoOATotalMarginCalculationType\x12\x07\n\x03MAX\x10\x00\x12\x07\n\x03SUM\x10\x01\x12\x07\n\x03NET\x10\x02*@\n\x12ProtoOAAccountType\x12\n\n\x06HEDGED\x10\x00\x12\n\n\x06NETTED\x10\x01\x12\x12\n\x0eSPREAD_BETTING\x10\x02*\x85\x01\n\x15ProtoOAPositionStatus\x12\x18\n\x14POSITION_STATUS_OPEN\x10\x01\x12\x1a\n\x16POSITION_STATUS_CLOSED\x10\x02\x12\x1b\n\x17POSITION_STATUS_CREATED\x10\x03\x12\x19\n\x15POSITION_STATUS_ERROR\x10\x04*%\n\x10ProtoOATradeSide\x12\x07\n\x03\x42UY\x10\x01\x12\x08\n\x04SELL\x10\x02*p\n\x10ProtoOAOrderType\x12\n\n\x06MARKET\x10\x01\x12\t\n\x05LIMIT\x10\x02\x12\x08\n\x04STOP\x10\x03\x12\x19\n\x15STOP_LOSS_TAKE_PROFIT\x10\x04\x12\x10\n\x0cMARKET_RANGE\x10\x05\x12\x0e\n\nSTOP_LIMIT\x10\x06*}\n\x12ProtoOATimeInForce\x12\x12\n\x0eGOOD_TILL_DATE\x10\x01\x12\x14\n\x10GOOD_TILL_CANCEL\x10\x02\x12\x17\n\x13IMMEDIATE_OR_CANCEL\x10\x03\x12\x10\n\x0c\x46ILL_OR_KILL\x10\x04\x12\x12\n\x0eMARKET_ON_OPEN\x10\x05*\x99\x01\n\x12ProtoOAOrderStatus\x12\x19\n\x15ORDER_STATUS_ACCEPTED\x10\x01\x12\x17\n\x13ORDER_STATUS_FILLED\x10\x02\x12\x19\n\x15ORDER_STATUS_REJECTED\x10\x03\x12\x18\n\x14ORDER_STATUS_EXPIRED\x10\x04\x12\x1a\n\x16ORDER_STATUS_CANCELLED\x10\x05*[\n\x19ProtoOAOrderTriggerMethod\x12\t\n\x05TRADE\x10\x01\x12\x0c\n\x08OPPOSITE\x10\x02\x12\x10\n\x0c\x44OUBLE_TRADE\x10\x03\x12\x13\n\x0f\x44OUBLE_OPPOSITE\x10\x04*\xfb\x01\n\x14ProtoOAExecutionType\x12\x12\n\x0eORDER_ACCEPTED\x10\x02\x12\x10\n\x0cORDER_FILLED\x10\x03\x12\x12\n\x0eORDER_REPLACED\x10\x04\x12\x13\n\x0fORDER_CANCELLED\x10\x05\x12\x11\n\rORDER_EXPIRED\x10\x06\x12\x12\n\x0eORDER_REJECTED\x10\x07\x12\x19\n\x15ORDER_CANCEL_REJECTED\x10\x08\x12\x08\n\x04SWAP\x10\t\x12\x14\n\x10\x44\x45POSIT_WITHDRAW\x10\n\x12\x16\n\x12ORDER_PARTIAL_FILL\x10\x0b\x12\x1a\n\x16\x42ONUS_DEPOSIT_WITHDRAW\x10\x0c*?\n\x16ProtoOAChangeBonusType\x12\x11\n\rBONUS_DEPOSIT\x10\x00\x12\x12\n\x0e\x42ONUS_WITHDRAW\x10\x01*\xb8\n\n\x18ProtoOAChangeBalanceType\x12\x13\n\x0f\x42\x41LANCE_DEPOSIT\x10\x00\x12\x14\n\x10\x42\x41LANCE_WITHDRAW\x10\x01\x12-\n)BALANCE_DEPOSIT_STRATEGY_COMMISSION_INNER\x10\x03\x12.\n*BALANCE_WITHDRAW_STRATEGY_COMMISSION_INNER\x10\x04\x12\"\n\x1e\x42\x41LANCE_DEPOSIT_IB_COMMISSIONS\x10\x05\x12)\n%BALANCE_WITHDRAW_IB_SHARED_PERCENTAGE\x10\x06\x12\x34\n0BALANCE_DEPOSIT_IB_SHARED_PERCENTAGE_FROM_SUB_IB\x10\x07\x12\x34\n0BALANCE_DEPOSIT_IB_SHARED_PERCENTAGE_FROM_BROKER\x10\x08\x12\x1a\n\x16\x42\x41LANCE_DEPOSIT_REBATE\x10\t\x12\x1b\n\x17\x42\x41LANCE_WITHDRAW_REBATE\x10\n\x12-\n)BALANCE_DEPOSIT_STRATEGY_COMMISSION_OUTER\x10\x0b\x12.\n*BALANCE_WITHDRAW_STRATEGY_COMMISSION_OUTER\x10\x0c\x12\'\n#BALANCE_WITHDRAW_BONUS_COMPENSATION\x10\r\x12\x33\n/BALANCE_WITHDRAW_IB_SHARED_PERCENTAGE_TO_BROKER\x10\x0e\x12\x1d\n\x19\x42\x41LANCE_DEPOSIT_DIVIDENDS\x10\x0f\x12\x1e\n\x1a\x42\x41LANCE_WITHDRAW_DIVIDENDS\x10\x10\x12\x1f\n\x1b\x42\x41LANCE_WITHDRAW_GSL_CHARGE\x10\x11\x12\x1d\n\x19\x42\x41LANCE_WITHDRAW_ROLLOVER\x10\x12\x12)\n%BALANCE_DEPOSIT_NONWITHDRAWABLE_BONUS\x10\x13\x12*\n&BALANCE_WITHDRAW_NONWITHDRAWABLE_BONUS\x10\x14\x12\x18\n\x14\x42\x41LANCE_DEPOSIT_SWAP\x10\x15\x12\x19\n\x15\x42\x41LANCE_WITHDRAW_SWAP\x10\x16\x12\"\n\x1e\x42\x41LANCE_DEPOSIT_MANAGEMENT_FEE\x10\x1b\x12#\n\x1f\x42\x41LANCE_WITHDRAW_MANAGEMENT_FEE\x10\x1c\x12#\n\x1f\x42\x41LANCE_DEPOSIT_PERFORMANCE_FEE\x10\x1d\x12#\n\x1f\x42\x41LANCE_WITHDRAW_FOR_SUBACCOUNT\x10\x1e\x12!\n\x1d\x42\x41LANCE_DEPOSIT_TO_SUBACCOUNT\x10\x1f\x12$\n BALANCE_WITHDRAW_FROM_SUBACCOUNT\x10 \x12#\n\x1f\x42\x41LANCE_DEPOSIT_FROM_SUBACCOUNT\x10!\x12\x1d\n\x19\x42\x41LANCE_WITHDRAW_COPY_FEE\x10\"\x12#\n\x1f\x42\x41LANCE_WITHDRAW_INACTIVITY_FEE\x10#\x12\x1c\n\x18\x42\x41LANCE_DEPOSIT_TRANSFER\x10$\x12\x1d\n\x19\x42\x41LANCE_WITHDRAW_TRANSFER\x10%\x12#\n\x1f\x42\x41LANCE_DEPOSIT_CONVERTED_BONUS\x10&\x12/\n+BALANCE_DEPOSIT_NEGATIVE_BALANCE_PROTECTION\x10\'*s\n\x11ProtoOADealStatus\x12\n\n\x06\x46ILLED\x10\x02\x12\x14\n\x10PARTIALLY_FILLED\x10\x03\x12\x0c\n\x08REJECTED\x10\x04\x12\x17\n\x13INTERNALLY_REJECTED\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\n\n\x06MISSED\x10\x07*\x8c\x01\n\x15ProtoOATrendbarPeriod\x12\x06\n\x02M1\x10\x01\x12\x06\n\x02M2\x10\x02\x12\x06\n\x02M3\x10\x03\x12\x06\n\x02M4\x10\x04\x12\x06\n\x02M5\x10\x05\x12\x07\n\x03M10\x10\x06\x12\x07\n\x03M15\x10\x07\x12\x07\n\x03M30\x10\x08\x12\x06\n\x02H1\x10\t\x12\x06\n\x02H4\x10\n\x12\x07\n\x03H12\x10\x0b\x12\x06\n\x02\x44\x31\x10\x0c\x12\x06\n\x02W1\x10\r\x12\x07\n\x03MN1\x10\x0e*$\n\x10ProtoOAQuoteType\x12\x07\n\x03\x42ID\x10\x01\x12\x07\n\x03\x41SK\x10\x02*?\n\x1cProtoOAClientPermissionScope\x12\x0e\n\nSCOPE_VIEW\x10\x00\x12\x0f\n\x0bSCOPE_TRADE\x10\x01*s\n\x17ProtoOANotificationType\x12\x1c\n\x18MARGIN_LEVEL_THRESHOLD_1\x10=\x12\x1c\n\x18MARGIN_LEVEL_THRESHOLD_2\x10>\x12\x1c\n\x18MARGIN_LEVEL_THRESHOLD_3\x10?*\xde\x08\n\x10ProtoOAErrorCode\x12\x19\n\x15OA_AUTH_TOKEN_EXPIRED\x10\x01\x12\x1a\n\x16\x41\x43\x43OUNT_NOT_AUTHORIZED\x10\x02\x12\x15\n\x11\x41LREADY_LOGGED_IN\x10\x0e\x12\x1a\n\x16\x43H_CLIENT_AUTH_FAILURE\x10\x65\x12\x1f\n\x1b\x43H_CLIENT_NOT_AUTHENTICATED\x10\x66\x12#\n\x1f\x43H_CLIENT_ALREADY_AUTHENTICATED\x10g\x12\x1b\n\x17\x43H_ACCESS_TOKEN_INVALID\x10h\x12\x1b\n\x17\x43H_SERVER_NOT_REACHABLE\x10i\x12$\n CH_CTID_TRADER_ACCOUNT_NOT_FOUND\x10j\x12\x1a\n\x16\x43H_OA_CLIENT_NOT_FOUND\x10k\x12\x1e\n\x1aREQUEST_FREQUENCY_EXCEEDED\x10l\x12\x1f\n\x1bSERVER_IS_UNDER_MAINTENANCE\x10m\x12\x16\n\x12\x43HANNEL_IS_BLOCKED\x10n\x12\x1e\n\x1a\x43ONNECTIONS_LIMIT_EXCEEDED\x10\x43\x12\x19\n\x15WORSE_GSL_NOT_ALLOWED\x10\x44\x12\x16\n\x12SYMBOL_HAS_HOLIDAY\x10\x45\x12\x1b\n\x17NOT_SUBSCRIBED_TO_SPOTS\x10p\x12\x16\n\x12\x41LREADY_SUBSCRIBED\x10q\x12\x14\n\x10SYMBOL_NOT_FOUND\x10r\x12\x12\n\x0eUNKNOWN_SYMBOL\x10s\x12\x18\n\x14INCORRECT_BOUNDARIES\x10#\x12\r\n\tNO_QUOTES\x10u\x12\x14\n\x10NOT_ENOUGH_MONEY\x10v\x12\x18\n\x14MAX_EXPOSURE_REACHED\x10w\x12\x16\n\x12POSITION_NOT_FOUND\x10x\x12\x13\n\x0fORDER_NOT_FOUND\x10y\x12\x15\n\x11POSITION_NOT_OPEN\x10z\x12\x13\n\x0fPOSITION_LOCKED\x10{\x12\x16\n\x12TOO_MANY_POSITIONS\x10|\x12\x16\n\x12TRADING_BAD_VOLUME\x10}\x12\x15\n\x11TRADING_BAD_STOPS\x10~\x12\x16\n\x12TRADING_BAD_PRICES\x10\x7f\x12\x16\n\x11TRADING_BAD_STAKE\x10\x80\x01\x12&\n!PROTECTION_IS_TOO_CLOSE_TO_MARKET\x10\x81\x01\x12 \n\x1bTRADING_BAD_EXPIRATION_DATE\x10\x82\x01\x12\x16\n\x11PENDING_EXECUTION\x10\x83\x01\x12\x15\n\x10TRADING_DISABLED\x10\x84\x01\x12\x18\n\x13TRADING_NOT_ALLOWED\x10\x85\x01\x12\x1b\n\x16UNABLE_TO_CANCEL_ORDER\x10\x86\x01\x12\x1a\n\x15UNABLE_TO_AMEND_ORDER\x10\x87\x01\x12\x1e\n\x19SHORT_SELLING_NOT_ALLOWED\x10\x88\x01*\x81\x01\n+ProtoOALimitedRiskMarginCalculationStrategy\x12\x19\n\x15\x41\x43\x43ORDING_TO_LEVERAGE\x10\x00\x12\x14\n\x10\x41\x43\x43ORDING_TO_GSL\x10\x01\x12!\n\x1d\x41\x43\x43ORDING_TO_GSL_AND_LEVERAGE\x10\x02\x42M\n%com.xtrader.protocol.openapi.v2.modelB\x1f\x43ontainerOpenApiV2ModelMessagesP\x01\xa0\x01\x01') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'OpenApiModelMessages_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None @@ -539,106 +27,106 @@ _PROTOOASYMBOL.fields_by_name['minCommission']._serialized_options = b'\030\001' _PROTOOATRADER.fields_by_name['frenchRisk']._options = None _PROTOOATRADER.fields_by_name['frenchRisk']._serialized_options = b'\030\001' - _PROTOOAPAYLOADTYPE._serialized_start=6045 - _PROTOOAPAYLOADTYPE._serialized_end=8972 - _PROTOOADAYOFWEEK._serialized_start=8974 - _PROTOOADAYOFWEEK._serialized_end=9094 - _PROTOOACOMMISSIONTYPE._serialized_start=9096 - _PROTOOACOMMISSIONTYPE._serialized_end=9209 - _PROTOOASYMBOLDISTANCETYPE._serialized_start=9211 - _PROTOOASYMBOLDISTANCETYPE._serialized_end=9304 - _PROTOOAMINCOMMISSIONTYPE._serialized_start=9306 - _PROTOOAMINCOMMISSIONTYPE._serialized_end=9366 - _PROTOOATRADINGMODE._serialized_start=9369 - _PROTOOATRADINGMODE._serialized_end=9502 - _PROTOOASWAPCALCULATIONTYPE._serialized_start=9504 - _PROTOOASWAPCALCULATIONTYPE._serialized_end=9558 - _PROTOOAACCESSRIGHTS._serialized_start=9560 - _PROTOOAACCESSRIGHTS._serialized_end=9644 - _PROTOOATOTALMARGINCALCULATIONTYPE._serialized_start=9646 - _PROTOOATOTALMARGINCALCULATIONTYPE._serialized_end=9708 - _PROTOOAACCOUNTTYPE._serialized_start=9710 - _PROTOOAACCOUNTTYPE._serialized_end=9774 - _PROTOOAPOSITIONSTATUS._serialized_start=9777 - _PROTOOAPOSITIONSTATUS._serialized_end=9910 - _PROTOOATRADESIDE._serialized_start=9912 - _PROTOOATRADESIDE._serialized_end=9949 - _PROTOOAORDERTYPE._serialized_start=9951 - _PROTOOAORDERTYPE._serialized_end=10063 - _PROTOOATIMEINFORCE._serialized_start=10065 - _PROTOOATIMEINFORCE._serialized_end=10190 - _PROTOOAORDERSTATUS._serialized_start=10193 - _PROTOOAORDERSTATUS._serialized_end=10346 - _PROTOOAORDERTRIGGERMETHOD._serialized_start=10348 - _PROTOOAORDERTRIGGERMETHOD._serialized_end=10439 - _PROTOOAEXECUTIONTYPE._serialized_start=10442 - _PROTOOAEXECUTIONTYPE._serialized_end=10693 - _PROTOOACHANGEBONUSTYPE._serialized_start=10695 - _PROTOOACHANGEBONUSTYPE._serialized_end=10758 - _PROTOOACHANGEBALANCETYPE._serialized_start=10761 - _PROTOOACHANGEBALANCETYPE._serialized_end=12097 - _PROTOOADEALSTATUS._serialized_start=12099 - _PROTOOADEALSTATUS._serialized_end=12214 - _PROTOOATRENDBARPERIOD._serialized_start=12217 - _PROTOOATRENDBARPERIOD._serialized_end=12357 - _PROTOOAQUOTETYPE._serialized_start=12359 - _PROTOOAQUOTETYPE._serialized_end=12395 - _PROTOOACLIENTPERMISSIONSCOPE._serialized_start=12397 - _PROTOOACLIENTPERMISSIONSCOPE._serialized_end=12460 - _PROTOOANOTIFICATIONTYPE._serialized_start=12462 - _PROTOOANOTIFICATIONTYPE._serialized_end=12577 - _PROTOOAERRORCODE._serialized_start=12580 - _PROTOOAERRORCODE._serialized_end=13698 - _PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY._serialized_start=13701 - _PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY._serialized_end=13830 + _PROTOOAPAYLOADTYPE._serialized_start=6100 + _PROTOOAPAYLOADTYPE._serialized_end=9027 + _PROTOOADAYOFWEEK._serialized_start=9029 + _PROTOOADAYOFWEEK._serialized_end=9149 + _PROTOOACOMMISSIONTYPE._serialized_start=9151 + _PROTOOACOMMISSIONTYPE._serialized_end=9264 + _PROTOOASYMBOLDISTANCETYPE._serialized_start=9266 + _PROTOOASYMBOLDISTANCETYPE._serialized_end=9359 + _PROTOOAMINCOMMISSIONTYPE._serialized_start=9361 + _PROTOOAMINCOMMISSIONTYPE._serialized_end=9421 + _PROTOOATRADINGMODE._serialized_start=9424 + _PROTOOATRADINGMODE._serialized_end=9557 + _PROTOOASWAPCALCULATIONTYPE._serialized_start=9559 + _PROTOOASWAPCALCULATIONTYPE._serialized_end=9613 + _PROTOOAACCESSRIGHTS._serialized_start=9615 + _PROTOOAACCESSRIGHTS._serialized_end=9699 + _PROTOOATOTALMARGINCALCULATIONTYPE._serialized_start=9701 + _PROTOOATOTALMARGINCALCULATIONTYPE._serialized_end=9763 + _PROTOOAACCOUNTTYPE._serialized_start=9765 + _PROTOOAACCOUNTTYPE._serialized_end=9829 + _PROTOOAPOSITIONSTATUS._serialized_start=9832 + _PROTOOAPOSITIONSTATUS._serialized_end=9965 + _PROTOOATRADESIDE._serialized_start=9967 + _PROTOOATRADESIDE._serialized_end=10004 + _PROTOOAORDERTYPE._serialized_start=10006 + _PROTOOAORDERTYPE._serialized_end=10118 + _PROTOOATIMEINFORCE._serialized_start=10120 + _PROTOOATIMEINFORCE._serialized_end=10245 + _PROTOOAORDERSTATUS._serialized_start=10248 + _PROTOOAORDERSTATUS._serialized_end=10401 + _PROTOOAORDERTRIGGERMETHOD._serialized_start=10403 + _PROTOOAORDERTRIGGERMETHOD._serialized_end=10494 + _PROTOOAEXECUTIONTYPE._serialized_start=10497 + _PROTOOAEXECUTIONTYPE._serialized_end=10748 + _PROTOOACHANGEBONUSTYPE._serialized_start=10750 + _PROTOOACHANGEBONUSTYPE._serialized_end=10813 + _PROTOOACHANGEBALANCETYPE._serialized_start=10816 + _PROTOOACHANGEBALANCETYPE._serialized_end=12152 + _PROTOOADEALSTATUS._serialized_start=12154 + _PROTOOADEALSTATUS._serialized_end=12269 + _PROTOOATRENDBARPERIOD._serialized_start=12272 + _PROTOOATRENDBARPERIOD._serialized_end=12412 + _PROTOOAQUOTETYPE._serialized_start=12414 + _PROTOOAQUOTETYPE._serialized_end=12450 + _PROTOOACLIENTPERMISSIONSCOPE._serialized_start=12452 + _PROTOOACLIENTPERMISSIONSCOPE._serialized_end=12515 + _PROTOOANOTIFICATIONTYPE._serialized_start=12517 + _PROTOOANOTIFICATIONTYPE._serialized_end=12632 + _PROTOOAERRORCODE._serialized_start=12635 + _PROTOOAERRORCODE._serialized_end=13753 + _PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY._serialized_start=13756 + _PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY._serialized_end=13885 _PROTOOAASSET._serialized_start=30 _PROTOOAASSET._serialized_end=112 _PROTOOASYMBOL._serialized_start=115 - _PROTOOASYMBOL._serialized_end=1284 - _PROTOOALIGHTSYMBOL._serialized_start=1287 - _PROTOOALIGHTSYMBOL._serialized_end=1452 - _PROTOOAARCHIVEDSYMBOL._serialized_start=1454 - _PROTOOAARCHIVEDSYMBOL._serialized_end=1562 - _PROTOOASYMBOLCATEGORY._serialized_start=1564 - _PROTOOASYMBOLCATEGORY._serialized_end=1635 - _PROTOOAINTERVAL._serialized_start=1637 - _PROTOOAINTERVAL._serialized_end=1694 - _PROTOOATRADER._serialized_start=1697 - _PROTOOATRADER._serialized_end=2373 - _PROTOOAPOSITION._serialized_start=2376 - _PROTOOAPOSITION._serialized_end=2828 - _PROTOOATRADEDATA._serialized_start=2831 - _PROTOOATRADEDATA._serialized_end=3004 - _PROTOOAORDER._serialized_start=3007 - _PROTOOAORDER._serialized_end=3684 - _PROTOOABONUSDEPOSITWITHDRAW._serialized_start=3687 - _PROTOOABONUSDEPOSITWITHDRAW._serialized_end=3968 - _PROTOOADEPOSITWITHDRAW._serialized_start=3971 - _PROTOOADEPOSITWITHDRAW._serialized_end=4218 - _PROTOOADEAL._serialized_start=4221 - _PROTOOADEAL._serialized_end=4682 - _PROTOOACLOSEPOSITIONDETAIL._serialized_start=4685 - _PROTOOACLOSEPOSITIONDETAIL._serialized_end=4936 - _PROTOOATRENDBAR._serialized_start=4939 - _PROTOOATRENDBAR._serialized_end=5118 - _PROTOOAEXPECTEDMARGIN._serialized_start=5120 - _PROTOOAEXPECTEDMARGIN._serialized_end=5198 - _PROTOOATICKDATA._serialized_start=5200 - _PROTOOATICKDATA._serialized_end=5250 - _PROTOOACTIDPROFILE._serialized_start=5252 - _PROTOOACTIDPROFILE._serialized_end=5288 - _PROTOOACTIDTRADERACCOUNT._serialized_start=5291 - _PROTOOACTIDTRADERACCOUNT._serialized_end=5453 - _PROTOOAASSETCLASS._serialized_start=5455 - _PROTOOAASSETCLASS._serialized_end=5500 - _PROTOOADEPTHQUOTE._serialized_start=5502 - _PROTOOADEPTHQUOTE._serialized_end=5573 - _PROTOOAMARGINCALL._serialized_start=5576 - _PROTOOAMARGINCALL._serialized_end=5707 - _PROTOOAHOLIDAY._serialized_start=5710 - _PROTOOAHOLIDAY._serialized_end=5888 - _PROTOOADYNAMICLEVERAGE._serialized_start=5890 - _PROTOOADYNAMICLEVERAGE._serialized_end=5978 - _PROTOOADYNAMICLEVERAGETIER._serialized_start=5980 - _PROTOOADYNAMICLEVERAGETIER._serialized_end=6042 + _PROTOOASYMBOL._serialized_end=1339 + _PROTOOALIGHTSYMBOL._serialized_start=1342 + _PROTOOALIGHTSYMBOL._serialized_end=1507 + _PROTOOAARCHIVEDSYMBOL._serialized_start=1509 + _PROTOOAARCHIVEDSYMBOL._serialized_end=1617 + _PROTOOASYMBOLCATEGORY._serialized_start=1619 + _PROTOOASYMBOLCATEGORY._serialized_end=1690 + _PROTOOAINTERVAL._serialized_start=1692 + _PROTOOAINTERVAL._serialized_end=1749 + _PROTOOATRADER._serialized_start=1752 + _PROTOOATRADER._serialized_end=2428 + _PROTOOAPOSITION._serialized_start=2431 + _PROTOOAPOSITION._serialized_end=2883 + _PROTOOATRADEDATA._serialized_start=2886 + _PROTOOATRADEDATA._serialized_end=3059 + _PROTOOAORDER._serialized_start=3062 + _PROTOOAORDER._serialized_end=3739 + _PROTOOABONUSDEPOSITWITHDRAW._serialized_start=3742 + _PROTOOABONUSDEPOSITWITHDRAW._serialized_end=4023 + _PROTOOADEPOSITWITHDRAW._serialized_start=4026 + _PROTOOADEPOSITWITHDRAW._serialized_end=4273 + _PROTOOADEAL._serialized_start=4276 + _PROTOOADEAL._serialized_end=4737 + _PROTOOACLOSEPOSITIONDETAIL._serialized_start=4740 + _PROTOOACLOSEPOSITIONDETAIL._serialized_end=4991 + _PROTOOATRENDBAR._serialized_start=4994 + _PROTOOATRENDBAR._serialized_end=5173 + _PROTOOAEXPECTEDMARGIN._serialized_start=5175 + _PROTOOAEXPECTEDMARGIN._serialized_end=5253 + _PROTOOATICKDATA._serialized_start=5255 + _PROTOOATICKDATA._serialized_end=5305 + _PROTOOACTIDPROFILE._serialized_start=5307 + _PROTOOACTIDPROFILE._serialized_end=5343 + _PROTOOACTIDTRADERACCOUNT._serialized_start=5346 + _PROTOOACTIDTRADERACCOUNT._serialized_end=5508 + _PROTOOAASSETCLASS._serialized_start=5510 + _PROTOOAASSETCLASS._serialized_end=5555 + _PROTOOADEPTHQUOTE._serialized_start=5557 + _PROTOOADEPTHQUOTE._serialized_end=5628 + _PROTOOAMARGINCALL._serialized_start=5631 + _PROTOOAMARGINCALL._serialized_end=5762 + _PROTOOAHOLIDAY._serialized_start=5765 + _PROTOOAHOLIDAY._serialized_end=5943 + _PROTOOADYNAMICLEVERAGE._serialized_start=5945 + _PROTOOADYNAMICLEVERAGE._serialized_end=6033 + _PROTOOADYNAMICLEVERAGETIER._serialized_start=6035 + _PROTOOADYNAMICLEVERAGETIER._serialized_end=6097 # @@protoc_insertion_point(module_scope) diff --git a/pyproject.toml b/pyproject.toml index 6b17d71..bebee8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,11 +21,11 @@ include = [ [tool.poetry.dependencies] python = "^3.8" Twisted = "21.7.0" -protobuf = "3.19.4" +protobuf = "3.20.1" [tool.poetry.dev-dependencies] Twisted = "21.7.0" -protobuf = "3.19.4" +protobuf = "3.20.1" [tool.black] line-length=100