# -*- coding: utf-8 -*-
# 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 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)

_sym_db = _symbol_database.Default()




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*\x97\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*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
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)

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n%com.xtrader.protocol.openapi.v2.modelB\037ContainerOpenApiV2ModelMessagesP\001\240\001\001'
  _PROTOOASYMBOL.fields_by_name['commission']._options = None
  _PROTOOASYMBOL.fields_by_name['commission']._serialized_options = b'\030\001'
  _PROTOOASYMBOL.fields_by_name['minCommission']._options = None
  _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=8884
  _PROTOOADAYOFWEEK._serialized_start=8886
  _PROTOOADAYOFWEEK._serialized_end=9006
  _PROTOOACOMMISSIONTYPE._serialized_start=9008
  _PROTOOACOMMISSIONTYPE._serialized_end=9121
  _PROTOOASYMBOLDISTANCETYPE._serialized_start=9123
  _PROTOOASYMBOLDISTANCETYPE._serialized_end=9216
  _PROTOOAMINCOMMISSIONTYPE._serialized_start=9218
  _PROTOOAMINCOMMISSIONTYPE._serialized_end=9278
  _PROTOOATRADINGMODE._serialized_start=9281
  _PROTOOATRADINGMODE._serialized_end=9414
  _PROTOOASWAPCALCULATIONTYPE._serialized_start=9416
  _PROTOOASWAPCALCULATIONTYPE._serialized_end=9470
  _PROTOOAACCESSRIGHTS._serialized_start=9472
  _PROTOOAACCESSRIGHTS._serialized_end=9556
  _PROTOOATOTALMARGINCALCULATIONTYPE._serialized_start=9558
  _PROTOOATOTALMARGINCALCULATIONTYPE._serialized_end=9620
  _PROTOOAACCOUNTTYPE._serialized_start=9622
  _PROTOOAACCOUNTTYPE._serialized_end=9686
  _PROTOOAPOSITIONSTATUS._serialized_start=9689
  _PROTOOAPOSITIONSTATUS._serialized_end=9822
  _PROTOOATRADESIDE._serialized_start=9824
  _PROTOOATRADESIDE._serialized_end=9861
  _PROTOOAORDERTYPE._serialized_start=9863
  _PROTOOAORDERTYPE._serialized_end=9975
  _PROTOOATIMEINFORCE._serialized_start=9977
  _PROTOOATIMEINFORCE._serialized_end=10102
  _PROTOOAORDERSTATUS._serialized_start=10105
  _PROTOOAORDERSTATUS._serialized_end=10258
  _PROTOOAORDERTRIGGERMETHOD._serialized_start=10260
  _PROTOOAORDERTRIGGERMETHOD._serialized_end=10351
  _PROTOOAEXECUTIONTYPE._serialized_start=10354
  _PROTOOAEXECUTIONTYPE._serialized_end=10605
  _PROTOOACHANGEBONUSTYPE._serialized_start=10607
  _PROTOOACHANGEBONUSTYPE._serialized_end=10670
  _PROTOOACHANGEBALANCETYPE._serialized_start=10673
  _PROTOOACHANGEBALANCETYPE._serialized_end=12009
  _PROTOOADEALSTATUS._serialized_start=12011
  _PROTOOADEALSTATUS._serialized_end=12126
  _PROTOOATRENDBARPERIOD._serialized_start=12129
  _PROTOOATRENDBARPERIOD._serialized_end=12269
  _PROTOOAQUOTETYPE._serialized_start=12271
  _PROTOOAQUOTETYPE._serialized_end=12307
  _PROTOOACLIENTPERMISSIONSCOPE._serialized_start=12309
  _PROTOOACLIENTPERMISSIONSCOPE._serialized_end=12372
  _PROTOOANOTIFICATIONTYPE._serialized_start=12374
  _PROTOOANOTIFICATIONTYPE._serialized_end=12489
  _PROTOOAERRORCODE._serialized_start=12492
  _PROTOOAERRORCODE._serialized_end=13610
  _PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY._serialized_start=13613
  _PROTOOALIMITEDRISKMARGINCALCULATIONSTRATEGY._serialized_end=13742
  _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
# @@protoc_insertion_point(module_scope)
