# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: futuapi.proto
# Protobuf Python Version: 5.26.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import modfutugrpc.order_pb2 as order__pb2
import modfutugrpc.position_pb2 as position__pb2
import modfutugrpc.deal_pb2 as deal__pb2
import modfutugrpc.orderfee_pb2 as orderfee__pb2
import modfutugrpc.orderbook_pb2 as orderbook__pb2
import modfutugrpc.seqquote_pb2 as seqquote__pb2
import modfutugrpc.stocksnapshot_pb2 as stocksnapshot__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rfutuapi.proto\x12\tdragonbot\x1a\x0border.proto\x1a\x0eposition.proto\x1a\ndeal.proto\x1a\x0eorderfee.proto\x1a\x0forderbook.proto\x1a\x0eseqquote.proto\x1a\x13stocksnapshot.proto\"l\n\x0ePlaceOrder_Req\x12\x0e\n\x06\x61\x63\x63_id\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x0c\n\x04side\x18\x03 \x01(\t\x12\x12\n\norder_type\x18\x04 \x01(\t\x12\x0b\n\x03qty\x18\x05 \x01(\x05\x12\r\n\x05price\x18\x06 \x01(\x02\"9\n\x0ePlaceOrder_Res\x12\'\n\rtrading_order\x18\x01 \x01(\x0b\x32\x10.dragonbot.Order\"\n\n\x08Init_Req\"\n\n\x08Init_Res\"%\n\x13GetActiveOrders_Req\x12\x0e\n\x06\x61\x63\x63_id\x18\x01 \x01(\t\">\n\x13GetActiveOrders_Res\x12\'\n\ractive_orders\x18\x01 \x03(\x0b\x32\x10.dragonbot.Order\"!\n\x0fGetHoldings_Req\x12\x0e\n\x06\x61\x63\x63_id\x18\x01 \x01(\t\"8\n\x0fGetHoldings_Res\x12%\n\x08holdings\x18\x01 \x03(\x0b\x32\x13.dragonbot.Position\"\x16\n\x14\x46\x65tchRTSeqQuotes_Req\"M\n\x14\x46\x65tchRTSeqQuotes_Res\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\'\n\nseq_quotes\x18\x02 \x03(\x0b\x32\x13.dragonbot.SeqQuote\"%\n\x13\x46\x65tchDealOrders_Req\x12\x0e\n\x06\x61\x63\x63_id\x18\x01 \x01(\t\"J\n\x13\x46\x65tchDealOrders_Res\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12%\n\x0b\x64\x65\x61l_orders\x18\x02 \x03(\x0b\x32\x10.dragonbot.Order\"(\n\x16\x46\x65tchDealOrderFees_Req\x12\x0e\n\x06\x61\x63\x63_id\x18\x01 \x01(\t\"O\n\x16\x46\x65tchDealOrderFees_Res\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\'\n\norder_fees\x18\x02 \x03(\x0b\x32\x13.dragonbot.OrderFee\"\x11\n\x0fGetBaseData_Req\"V\n\x0fGetBaseData_Res\x12\x13\n\x0bmkt_session\x18\x01 \x01(\t\x12.\n\rsnapshot_data\x18\x02 \x03(\x0b\x32\x17.dragonbot.SnapshotData\"0\n\x0cSnapshotData\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x12\n\nprev_close\x18\x02 \x01(\x02\">\n\x13OnPushOrderBook_Msg\x12\'\n\torderbook\x18\x01 \x01(\x0b\x32\x14.dragonbot.OrderBook\"<\n\x12OnPushSeqQuote_Msg\x12&\n\tseq_quote\x18\x01 \x01(\x0b\x32\x13.dragonbot.SeqQuote\"?\n\x16OnUpdateTradeOrder_Msg\x12%\n\x0btrade_order\x18\x01 \x01(\x0b\x32\x10.dragonbot.Order\"-\n\x16OnUpdateMktSession_Msg\x12\x13\n\x0bmkt_session\x18\x01 \x01(\t\"O\n\x1aOnUpdateStockSnapshots_Msg\x12\x31\n\x0fstock_snapshots\x18\x01 \x03(\x0b\x32\x18.dragonbot.StockSnapshot\"(\n\x14QueryRTSnapshots_Req\x12\x10\n\x08\x63ode_lst\x18\x01 \x03(\t\"\x80\x02\n\x14QueryRTSnapshots_Res\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\'\n\ractive_orders\x18\x02 \x03(\x0b\x32\x10.dragonbot.Order\x12%\n\x08holdings\x18\x03 \x03(\x0b\x32\x13.dragonbot.Position\x12\x12\n\nprev_close\x18\x04 \x01(\x02\x12$\n\x0bhisto_deals\x18\x05 \x03(\x0b\x32\x0f.dragonbot.Deal\x12\'\n\nhisto_fees\x18\x06 \x03(\x0b\x32\x13.dragonbot.OrderFee\x12\'\n\nseq_quotes\x18\x07 \x03(\x0b\x32\x13.dragonbot.SeqQuote\"-\n\tBaseQuote\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x12\n\nprev_close\x18\x02 \x01(\x02\"#\n\x0fOnBasicSync_Req\x12\x10\n\x08\x63ode_lst\x18\x01 \x03(\t\"Q\n\x0fOnBasicSync_Res\x12\x13\n\x0bmkt_session\x18\x01 \x01(\t\x12)\n\x0b\x62\x61se_quotes\x18\x02 \x03(\x0b\x32\x14.dragonbot.BaseQuote\"#\n\x0fOnTradeDeal_Req\x12\x10\n\x08\x63ode_lst\x18\x01 \x03(\t\"\x98\x01\n\x0fOnTradeDeal_Res\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12#\n\ntrade_deal\x18\x02 \x01(\x0b\x32\x0f.dragonbot.Deal\x12(\n\x0bnew_holding\x18\x03 \x01(\x0b\x32\x13.dragonbot.Position\x12(\n\x0btrading_fee\x18\x04 \x01(\x0b\x32\x13.dragonbot.OrderFee\"#\n\x0fOnOrderBook_Req\x12\x10\n\x08\x63ode_lst\x18\x01 \x03(\t\"\"\n\x0eOnSeqQuote_Req\x12\x10\n\x08\x63ode_lst\x18\x01 \x03(\t2\t\n\x07\x46utuApi2\xad\x04\n\x02L0\x12\x32\n\x04Init\x12\x13.dragonbot.Init_Req\x1a\x13.dragonbot.Init_Res\"\x00\x12S\n\x0fGetActiveOrders\x12\x1e.dragonbot.GetActiveOrders_Req\x1a\x1e.dragonbot.GetActiveOrders_Res\"\x00\x12G\n\x0bGetHoldings\x12\x1a.dragonbot.GetHoldings_Req\x1a\x1a.dragonbot.GetHoldings_Res\"\x00\x12X\n\x10\x46\x65tchRTSeqQuotes\x12\x1f.dragonbot.FetchRTSeqQuotes_Req\x1a\x1f.dragonbot.FetchRTSeqQuotes_Res\"\x00\x30\x01\x12U\n\x0f\x46\x65tchDealOrders\x12\x1e.dragonbot.FetchDealOrders_Req\x1a\x1e.dragonbot.FetchDealOrders_Res\"\x00\x30\x01\x12^\n\x12\x46\x65tchDealOrderFees\x12!.dragonbot.FetchDealOrderFees_Req\x1a!.dragonbot.FetchDealOrderFees_Res\"\x00\x30\x01\x12\x44\n\nPlaceOrder\x12\x19.dragonbot.PlaceOrder_Req\x1a\x19.dragonbot.PlaceOrder_Res\"\x00\x32\xba\x03\n\x02L1\x12V\n\x10QueryRTSnapshots\x12\x1f.dragonbot.QueryRTSnapshots_Req\x1a\x1f.dragonbot.QueryRTSnapshots_Res\"\x00\x12I\n\x0bOnBasicSync\x12\x1a.dragonbot.OnBasicSync_Req\x1a\x1a.dragonbot.OnBasicSync_Res\"\x00\x30\x01\x12\x44\n\x06OnDeal\x12\x1a.dragonbot.OnTradeDeal_Req\x1a\x1a.dragonbot.OnTradeDeal_Res\"\x00\x30\x01\x12@\n\nOnSeqQuote\x12\x19.dragonbot.OnSeqQuote_Req\x1a\x13.dragonbot.SeqQuote\"\x00\x30\x01\x12\x43\n\x0bOnOrderBook\x12\x1a.dragonbot.OnOrderBook_Req\x1a\x14.dragonbot.OrderBook\"\x00\x30\x01\x12\x44\n\nPlaceOrder\x12\x19.dragonbot.PlaceOrder_Req\x1a\x19.dragonbot.PlaceOrder_Res\"\x00\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'futuapi_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_PLACEORDER_REQ']._serialized_start=139
  _globals['_PLACEORDER_REQ']._serialized_end=247
  _globals['_PLACEORDER_RES']._serialized_start=249
  _globals['_PLACEORDER_RES']._serialized_end=306
  _globals['_INIT_REQ']._serialized_start=308
  _globals['_INIT_REQ']._serialized_end=318
  _globals['_INIT_RES']._serialized_start=320
  _globals['_INIT_RES']._serialized_end=330
  _globals['_GETACTIVEORDERS_REQ']._serialized_start=332
  _globals['_GETACTIVEORDERS_REQ']._serialized_end=369
  _globals['_GETACTIVEORDERS_RES']._serialized_start=371
  _globals['_GETACTIVEORDERS_RES']._serialized_end=433
  _globals['_GETHOLDINGS_REQ']._serialized_start=435
  _globals['_GETHOLDINGS_REQ']._serialized_end=468
  _globals['_GETHOLDINGS_RES']._serialized_start=470
  _globals['_GETHOLDINGS_RES']._serialized_end=526
  _globals['_FETCHRTSEQQUOTES_REQ']._serialized_start=528
  _globals['_FETCHRTSEQQUOTES_REQ']._serialized_end=550
  _globals['_FETCHRTSEQQUOTES_RES']._serialized_start=552
  _globals['_FETCHRTSEQQUOTES_RES']._serialized_end=629
  _globals['_FETCHDEALORDERS_REQ']._serialized_start=631
  _globals['_FETCHDEALORDERS_REQ']._serialized_end=668
  _globals['_FETCHDEALORDERS_RES']._serialized_start=670
  _globals['_FETCHDEALORDERS_RES']._serialized_end=744
  _globals['_FETCHDEALORDERFEES_REQ']._serialized_start=746
  _globals['_FETCHDEALORDERFEES_REQ']._serialized_end=786
  _globals['_FETCHDEALORDERFEES_RES']._serialized_start=788
  _globals['_FETCHDEALORDERFEES_RES']._serialized_end=867
  _globals['_GETBASEDATA_REQ']._serialized_start=869
  _globals['_GETBASEDATA_REQ']._serialized_end=886
  _globals['_GETBASEDATA_RES']._serialized_start=888
  _globals['_GETBASEDATA_RES']._serialized_end=974
  _globals['_SNAPSHOTDATA']._serialized_start=976
  _globals['_SNAPSHOTDATA']._serialized_end=1024
  _globals['_ONPUSHORDERBOOK_MSG']._serialized_start=1026
  _globals['_ONPUSHORDERBOOK_MSG']._serialized_end=1088
  _globals['_ONPUSHSEQQUOTE_MSG']._serialized_start=1090
  _globals['_ONPUSHSEQQUOTE_MSG']._serialized_end=1150
  _globals['_ONUPDATETRADEORDER_MSG']._serialized_start=1152
  _globals['_ONUPDATETRADEORDER_MSG']._serialized_end=1215
  _globals['_ONUPDATEMKTSESSION_MSG']._serialized_start=1217
  _globals['_ONUPDATEMKTSESSION_MSG']._serialized_end=1262
  _globals['_ONUPDATESTOCKSNAPSHOTS_MSG']._serialized_start=1264
  _globals['_ONUPDATESTOCKSNAPSHOTS_MSG']._serialized_end=1343
  _globals['_QUERYRTSNAPSHOTS_REQ']._serialized_start=1345
  _globals['_QUERYRTSNAPSHOTS_REQ']._serialized_end=1385
  _globals['_QUERYRTSNAPSHOTS_RES']._serialized_start=1388
  _globals['_QUERYRTSNAPSHOTS_RES']._serialized_end=1644
  _globals['_BASEQUOTE']._serialized_start=1646
  _globals['_BASEQUOTE']._serialized_end=1691
  _globals['_ONBASICSYNC_REQ']._serialized_start=1693
  _globals['_ONBASICSYNC_REQ']._serialized_end=1728
  _globals['_ONBASICSYNC_RES']._serialized_start=1730
  _globals['_ONBASICSYNC_RES']._serialized_end=1811
  _globals['_ONTRADEDEAL_REQ']._serialized_start=1813
  _globals['_ONTRADEDEAL_REQ']._serialized_end=1848
  _globals['_ONTRADEDEAL_RES']._serialized_start=1851
  _globals['_ONTRADEDEAL_RES']._serialized_end=2003
  _globals['_ONORDERBOOK_REQ']._serialized_start=2005
  _globals['_ONORDERBOOK_REQ']._serialized_end=2040
  _globals['_ONSEQQUOTE_REQ']._serialized_start=2042
  _globals['_ONSEQQUOTE_REQ']._serialized_end=2076
  _globals['_FUTUAPI']._serialized_start=2078
  _globals['_FUTUAPI']._serialized_end=2087
  _globals['_L0']._serialized_start=2090
  _globals['_L0']._serialized_end=2647
  _globals['_L1']._serialized_start=2650
  _globals['_L1']._serialized_end=3092
# @@protoc_insertion_point(module_scope)
