# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: positions.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
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()


import xena.proto.margin_pb2 as margin__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='positions.proto',
  package='api',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n\x0fpositions.proto\x12\x03\x61pi\x1a\x0cmargin.proto\"\x81\x01\n\x07Payment\x12\"\n\x0bPaymentType\x18\x95\xba\x02 \x01(\tR\x0bpaymentType\x12*\n\x0fPaymentCurrency\x18\x98\xba\x02 \x01(\tR\x0fpaymentCurrency\x12&\n\rPaymentAmount\x18\x99\xba\x02 \x01(\tR\rpaymentAmount\"d\n\x0cRelatedTrade\x12\'\n\x0eRelatedTradeId\x18\xc0\x0e \x01(\tR\x0erelatedTradeId\x12+\n\x10RelatedTradeType\x18\xc1\x0e \x01(\tR\x10relatedTradeType\"\x94\x05\n\x0ePositionReport\x12\x18\n\x07MsgType\x18# \x01(\tR\x07msgType\x12\x18\n\x07\x41\x63\x63ount\x18\x01 \x01(\x04R\x07\x61\x63\x63ount\x12\x1f\n\nPositionId\x18\xba\x14 \x01(\x04R\npositionId\x12\"\n\x0cTransactTime\x18< \x01(\x03R\x0ctransactTime\x12\x16\n\x06Symbol\x18\x37 \x01(\tR\x06symbol\x12+\n\x10PositionOpenTime\x18\x8d\x0e \x01(\x03R\x10positionOpenTime\x12\x14\n\x05\x41vgPx\x18\x06 \x01(\tR\x05\x61vgPx\x12\x16\n\x06Volume\x18\x35 \x01(\tR\x06volume\x12\x12\n\x04Side\x18\x36 \x01(\tR\x04side\x12\x1c\n\tSettlDate\x18@ \x01(\x03R\tsettlDate\x12\x1f\n\nSettlPrice\x18\xda\x05 \x01(\tR\nsettlPrice\x12)\n\x0fPriorSettlPrice\x18\xde\x05 \x01(\tR\x0fpriorSettlPrice\x12\x43\n\x1cPreviousClearingBusinessDate\x18\xbc\x08 \x01(\x03R\x1cpreviousClearingBusinessDate\x12\x33\n\x14\x43learingBusinessDate\x18\xcb\x05 \x01(\x03R\x14\x63learingBusinessDate\x12\x38\n\rMarginAmounts\x18\xeb\x0c \x03(\x0b\x32\x11.api.MarginAmountR\rmarginAmounts\x12*\n\x08Payments\x18\x94\xba\x02 \x03(\x0b\x32\x0c.api.PaymentR\x08payments\x12\x38\n\rRelatedTrades\x18\xbf\x0e \x03(\x0b\x32\x11.api.RelatedTradeR\rrelatedTrades\"\xbe\x02\n\x12MassPositionReport\x12\x18\n\x07MsgType\x18# \x01(\tR\x07msgType\x12\x1b\n\x08PosReqId\x18\xc6\x05 \x01(\tR\x08posReqId\x12\x18\n\x07\x41\x63\x63ount\x18\x01 \x01(\x04R\x07\x61\x63\x63ount\x12\"\n\x0cTransactTime\x18< \x01(\x03R\x0ctransactTime\x12:\n\rOpenPositions\x18\xd7\x05 \x03(\x0b\x32\x13.api.PositionReportR\ropenPositions\x12>\n\x0fPositionHistory\x18\xd6\x05 \x03(\x0b\x32\x13.api.PositionReportR\x0fpositionHistory\x12#\n\x0cRejectReason\x18\xfc\x02 \x01(\tR\x0crejectReason\x12\x12\n\x04Text\x18: \x01(\tR\x04text\"c\n\x10PositionsRequest\x12\x18\n\x07MsgType\x18# \x01(\tR\x07msgType\x12\x1b\n\x08PosReqId\x18\xc6\x05 \x01(\tR\x08posReqId\x12\x18\n\x07\x41\x63\x63ount\x18\x01 \x01(\x04R\x07\x61\x63\x63ount\"\xd3\x01\n\x1aPositionMaintenanceRequest\x12\x18\n\x07MsgType\x18# \x01(\tR\x07msgType\x12\x1b\n\x08PosReqId\x18\xc6\x05 \x01(\tR\x08posReqId\x12#\n\x0cPosTransType\x18\xc5\x05 \x01(\tR\x0cposTransType\x12\'\n\x0ePosMaintAction\x18\xc8\x05 \x01(\tR\x0eposMaintAction\x12\x18\n\x07\x41\x63\x63ount\x18\x01 \x01(\x04R\x07\x61\x63\x63ount\x12\x16\n\x06Symbol\x18\x37 \x01(\tR\x06symbol\"\xd2\x01\n\x19PositionMaintenanceReport\x12\x18\n\x07MsgType\x18# \x01(\tR\x07msgType\x12\x1b\n\x08PosReqId\x18\xc6\x05 \x01(\tR\x08posReqId\x12#\n\x0cPosTransType\x18\xc5\x05 \x01(\tR\x0cposTransType\x12\'\n\x0ePosMaintAction\x18\xc8\x05 \x01(\tR\x0eposMaintAction\x12\x18\n\x07\x41\x63\x63ount\x18\x01 \x01(\x04R\x07\x61\x63\x63ount\x12\x16\n\x06Symbol\x18\x37 \x01(\tR\x06symbolb\x06proto3')
  ,
  dependencies=[margin__pb2.DESCRIPTOR,])




_PAYMENT = _descriptor.Descriptor(
  name='Payment',
  full_name='api.Payment',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='PaymentType', full_name='api.Payment.PaymentType', index=0,
      number=40213, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='paymentType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PaymentCurrency', full_name='api.Payment.PaymentCurrency', index=1,
      number=40216, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='paymentCurrency', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PaymentAmount', full_name='api.Payment.PaymentAmount', index=2,
      number=40217, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='paymentAmount', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=39,
  serialized_end=168,
)


_RELATEDTRADE = _descriptor.Descriptor(
  name='RelatedTrade',
  full_name='api.RelatedTrade',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='RelatedTradeId', full_name='api.RelatedTrade.RelatedTradeId', index=0,
      number=1856, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='relatedTradeId', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='RelatedTradeType', full_name='api.RelatedTrade.RelatedTradeType', index=1,
      number=1857, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='relatedTradeType', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=170,
  serialized_end=270,
)


_POSITIONREPORT = _descriptor.Descriptor(
  name='PositionReport',
  full_name='api.PositionReport',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='MsgType', full_name='api.PositionReport.MsgType', index=0,
      number=35, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='msgType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Account', full_name='api.PositionReport.Account', index=1,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='account', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PositionId', full_name='api.PositionReport.PositionId', index=2,
      number=2618, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='positionId', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='TransactTime', full_name='api.PositionReport.TransactTime', index=3,
      number=60, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='transactTime', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Symbol', full_name='api.PositionReport.Symbol', index=4,
      number=55, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='symbol', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PositionOpenTime', full_name='api.PositionReport.PositionOpenTime', index=5,
      number=1805, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='positionOpenTime', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='AvgPx', full_name='api.PositionReport.AvgPx', index=6,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='avgPx', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Volume', full_name='api.PositionReport.Volume', index=7,
      number=53, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='volume', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Side', full_name='api.PositionReport.Side', index=8,
      number=54, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='side', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='SettlDate', full_name='api.PositionReport.SettlDate', index=9,
      number=64, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='settlDate', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='SettlPrice', full_name='api.PositionReport.SettlPrice', index=10,
      number=730, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='settlPrice', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PriorSettlPrice', full_name='api.PositionReport.PriorSettlPrice', index=11,
      number=734, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='priorSettlPrice', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PreviousClearingBusinessDate', full_name='api.PositionReport.PreviousClearingBusinessDate', index=12,
      number=1084, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='previousClearingBusinessDate', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='ClearingBusinessDate', full_name='api.PositionReport.ClearingBusinessDate', index=13,
      number=715, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='clearingBusinessDate', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='MarginAmounts', full_name='api.PositionReport.MarginAmounts', index=14,
      number=1643, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='marginAmounts', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Payments', full_name='api.PositionReport.Payments', index=15,
      number=40212, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='payments', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='RelatedTrades', full_name='api.PositionReport.RelatedTrades', index=16,
      number=1855, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='relatedTrades', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=273,
  serialized_end=933,
)


_MASSPOSITIONREPORT = _descriptor.Descriptor(
  name='MassPositionReport',
  full_name='api.MassPositionReport',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='MsgType', full_name='api.MassPositionReport.MsgType', index=0,
      number=35, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='msgType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosReqId', full_name='api.MassPositionReport.PosReqId', index=1,
      number=710, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posReqId', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Account', full_name='api.MassPositionReport.Account', index=2,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='account', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='TransactTime', full_name='api.MassPositionReport.TransactTime', index=3,
      number=60, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='transactTime', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='OpenPositions', full_name='api.MassPositionReport.OpenPositions', index=4,
      number=727, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='openPositions', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PositionHistory', full_name='api.MassPositionReport.PositionHistory', index=5,
      number=726, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='positionHistory', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='RejectReason', full_name='api.MassPositionReport.RejectReason', index=6,
      number=380, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='rejectReason', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Text', full_name='api.MassPositionReport.Text', index=7,
      number=58, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='text', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=936,
  serialized_end=1254,
)


_POSITIONSREQUEST = _descriptor.Descriptor(
  name='PositionsRequest',
  full_name='api.PositionsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='MsgType', full_name='api.PositionsRequest.MsgType', index=0,
      number=35, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='msgType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosReqId', full_name='api.PositionsRequest.PosReqId', index=1,
      number=710, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posReqId', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Account', full_name='api.PositionsRequest.Account', index=2,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='account', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1256,
  serialized_end=1355,
)


_POSITIONMAINTENANCEREQUEST = _descriptor.Descriptor(
  name='PositionMaintenanceRequest',
  full_name='api.PositionMaintenanceRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='MsgType', full_name='api.PositionMaintenanceRequest.MsgType', index=0,
      number=35, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='msgType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosReqId', full_name='api.PositionMaintenanceRequest.PosReqId', index=1,
      number=710, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posReqId', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosTransType', full_name='api.PositionMaintenanceRequest.PosTransType', index=2,
      number=709, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posTransType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosMaintAction', full_name='api.PositionMaintenanceRequest.PosMaintAction', index=3,
      number=712, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posMaintAction', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Account', full_name='api.PositionMaintenanceRequest.Account', index=4,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='account', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Symbol', full_name='api.PositionMaintenanceRequest.Symbol', index=5,
      number=55, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='symbol', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1358,
  serialized_end=1569,
)


_POSITIONMAINTENANCEREPORT = _descriptor.Descriptor(
  name='PositionMaintenanceReport',
  full_name='api.PositionMaintenanceReport',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='MsgType', full_name='api.PositionMaintenanceReport.MsgType', index=0,
      number=35, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='msgType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosReqId', full_name='api.PositionMaintenanceReport.PosReqId', index=1,
      number=710, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posReqId', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosTransType', full_name='api.PositionMaintenanceReport.PosTransType', index=2,
      number=709, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posTransType', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='PosMaintAction', full_name='api.PositionMaintenanceReport.PosMaintAction', index=3,
      number=712, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='posMaintAction', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Account', full_name='api.PositionMaintenanceReport.Account', index=4,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='account', file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='Symbol', full_name='api.PositionMaintenanceReport.Symbol', index=5,
      number=55, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='symbol', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1572,
  serialized_end=1782,
)

_POSITIONREPORT.fields_by_name['MarginAmounts'].message_type = margin__pb2._MARGINAMOUNT
_POSITIONREPORT.fields_by_name['Payments'].message_type = _PAYMENT
_POSITIONREPORT.fields_by_name['RelatedTrades'].message_type = _RELATEDTRADE
_MASSPOSITIONREPORT.fields_by_name['OpenPositions'].message_type = _POSITIONREPORT
_MASSPOSITIONREPORT.fields_by_name['PositionHistory'].message_type = _POSITIONREPORT
DESCRIPTOR.message_types_by_name['Payment'] = _PAYMENT
DESCRIPTOR.message_types_by_name['RelatedTrade'] = _RELATEDTRADE
DESCRIPTOR.message_types_by_name['PositionReport'] = _POSITIONREPORT
DESCRIPTOR.message_types_by_name['MassPositionReport'] = _MASSPOSITIONREPORT
DESCRIPTOR.message_types_by_name['PositionsRequest'] = _POSITIONSREQUEST
DESCRIPTOR.message_types_by_name['PositionMaintenanceRequest'] = _POSITIONMAINTENANCEREQUEST
DESCRIPTOR.message_types_by_name['PositionMaintenanceReport'] = _POSITIONMAINTENANCEREPORT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Payment = _reflection.GeneratedProtocolMessageType('Payment', (_message.Message,), dict(
  DESCRIPTOR = _PAYMENT,
  __module__ = 'positions_pb2'
  # @@protoc_insertion_point(class_scope:api.Payment)
  ))
_sym_db.RegisterMessage(Payment)

RelatedTrade = _reflection.GeneratedProtocolMessageType('RelatedTrade', (_message.Message,), dict(
  DESCRIPTOR = _RELATEDTRADE,
  __module__ = 'positions_pb2'
  # @@protoc_insertion_point(class_scope:api.RelatedTrade)
  ))
_sym_db.RegisterMessage(RelatedTrade)

PositionReport = _reflection.GeneratedProtocolMessageType('PositionReport', (_message.Message,), dict(
  DESCRIPTOR = _POSITIONREPORT,
  __module__ = 'positions_pb2'
  # @@protoc_insertion_point(class_scope:api.PositionReport)
  ))
_sym_db.RegisterMessage(PositionReport)

MassPositionReport = _reflection.GeneratedProtocolMessageType('MassPositionReport', (_message.Message,), dict(
  DESCRIPTOR = _MASSPOSITIONREPORT,
  __module__ = 'positions_pb2'
  # @@protoc_insertion_point(class_scope:api.MassPositionReport)
  ))
_sym_db.RegisterMessage(MassPositionReport)

PositionsRequest = _reflection.GeneratedProtocolMessageType('PositionsRequest', (_message.Message,), dict(
  DESCRIPTOR = _POSITIONSREQUEST,
  __module__ = 'positions_pb2'
  # @@protoc_insertion_point(class_scope:api.PositionsRequest)
  ))
_sym_db.RegisterMessage(PositionsRequest)

PositionMaintenanceRequest = _reflection.GeneratedProtocolMessageType('PositionMaintenanceRequest', (_message.Message,), dict(
  DESCRIPTOR = _POSITIONMAINTENANCEREQUEST,
  __module__ = 'positions_pb2'
  # @@protoc_insertion_point(class_scope:api.PositionMaintenanceRequest)
  ))
_sym_db.RegisterMessage(PositionMaintenanceRequest)

PositionMaintenanceReport = _reflection.GeneratedProtocolMessageType('PositionMaintenanceReport', (_message.Message,), dict(
  DESCRIPTOR = _POSITIONMAINTENANCEREPORT,
  __module__ = 'positions_pb2'
  # @@protoc_insertion_point(class_scope:api.PositionMaintenanceReport)
  ))
_sym_db.RegisterMessage(PositionMaintenanceReport)


# @@protoc_insertion_point(module_scope)
