2022-03-07 04:06:16 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
# source: bbgo.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()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-12 14:25:48 +00:00
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nbbgo.proto\x12\x04\x62\x62go\"\x07\n\x05\x45mpty\"2\n\x05\x45rror\x12\x12\n\nerror_code\x18\x01 \x01(\x03\x12\x15\n\rerror_message\x18\x02 \x01(\t\"=\n\x10SubscribeRequest\x12)\n\rsubscriptions\x18\x01 \x03(\x0b\x32\x12.bbgo.Subscription\"q\n\x0cSubscription\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\x1e\n\x07\x63hannel\x18\x02 \x01(\x0e\x32\r.bbgo.Channel\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\r\n\x05\x64\x65pth\x18\x04 \x01(\t\x12\x10\n\x08interval\x18\x05 \x01(\t\"\xe6\x02\n\x11SubscribeResponse\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x10\n\x08\x65xchange\x18\x02 \x01(\t\x12\x0e\n\x06symbol\x18\x03 \x01(\t\x12\x1e\n\x07\x63hannel\x18\x04 \x01(\x0e\x32\r.bbgo.Channel\x12\x1a\n\x05\x65vent\x18\x05 \x01(\x0e\x32\x0b.bbgo.Event\x12\x1a\n\x05\x64\x65pth\x18\x06 \x01(\x0b\x32\x0b.bbgo.Depth\x12\x1a\n\x05kline\x18\x07 \x01(\x0b\x32\x0b.bbgo.KLine\x12\x1b\n\x06trades\x18\x08 \x03(\x0b\x32\x0b.bbgo.Trade\x12\x1c\n\x06ticker\x18\t \x01(\x0b\x32\x0c.bbgo.Ticker\x12\x1b\n\x06orders\x18\n \x03(\x0b\x32\x0b.bbgo.Order\x12\x1f\n\x08\x62\x61lances\x18\x0b \x03(\x0b\x32\r.bbgo.Balance\x12\x15\n\rsubscribed_at\x18\x0c \x01(\x03\x12\x1a\n\x05\x65rror\x18\r \x01(\x0b\x32\x0b.bbgo.Error\"k\n\x05\x44\x65pth\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x1f\n\x04\x61sks\x18\x03 \x03(\x0b\x32\x11.bbgo.PriceVolume\x12\x1f\n\x04\x62ids\x18\x04 \x03(\x0b\x32\x11.bbgo.PriceVolume\",\n\x0bPriceVolume\x12\r\n\x05price\x18\x01 \x01(\t\x12\x0e\n\x06volume\x18\x02 \x01(\t\"\xc3\x01\n\x05Trade\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12\r\n\x05price\x18\x04 \x01(\x01\x12\x0e\n\x06volume\x18\x05 \x01(\x01\x12\x12\n\ncreated_at\x18\x06 \x01(\x03\x12\x18\n\x04side\x18\x07 \x01(\x0e\x32\n.bbgo.Side\x12\x0b\n\x03\x66\x65\x65\x18\x08 \x01(\x01\x12\x14\n\x0c\x66\x65\x65_currency\x18\t \x01(\t\x12\r\n\x05maker\x18\n \x01(\x08\x12\r\n\x05trend\x18\x0b \x01(\t\"r\n\x06Ticker\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x0c\n\x04open\x18\x03 \x01(\x01\x12\x0c\n\x04high\x18\x04 \x01(\x01\x12\x0b\n\x03low\x18\x05 \x01(\x01\x12\r\n\x05\x63lose\x18\x06 \x01(\x01\x12\x0e\n\x06volume\x18\x07 \x01(\x01\"\xba\x02\n\x05Order\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12\x18\n\x04side\x18\x04 \x01(\x0e\x32\n.bbgo.Side\x12#\n\norder_type\x18\x05 \x01(\x0e\x32\x0f.bbgo.OrderType\x12\r\n\x05price\x18\x06 \x01(\x01\x12\x12\n\nstop_price\x18\x07 \x01(\x01\x12\x11\n\tavg_price\x18\x08 \x01(\x01\x12\x0e\n\x06status\x18\t \x01(\t\x12\x12\n\ncreated_at\x18\n \x01(\x03\x12\x10\n\x08quantity\x18\x0b \x01(\x01\x12\x17\n\x0f\x65xecuted_volume\x18\x0c \x01(\x01\x12\x14\n\x0ctrades_count\x18\r \x01(\x03\x12\x17\n\x0f\x63lient_order_id\x18\x0e \x01(\t\x12\x10\n\x08group_id\x18\x0f \x01(\x03\"\xce\x01\n\x0bSubmitOrder\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x18\n\x04side\x18\x03 \x01(\x0e\x32\n.bbgo.Side\x12\x10\n\x08quantity\x18\x04 \x01(\x01\x12\r\n\x05price\x18\x05 \x01(\x01\x12\x12\n\nstop_price\x18\x06 \x01(\x01\x12#\n\norder_type\x18\x07 \x01(\x0e\x32\x0f.bbgo.OrderType\x12\x17\n\x0f\x63lient_order_id\x18\x08 \x01(\t\x12\x10\n\x08group_id\x18\t \x01(\x03\"P\n\x07\x42\x61lance\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\x10\n\x08\x63urrency\x18\x02 \x01(\t\x12\x11\n\tavailable\x18\x03 \x01(\x01\x12\x0e\n\x06locked\x18\x04 \x01(\x01\"=\n\x12SubmitOrderRequest\x12\'\n\x0csubmit_order\x18\x01 \x01(\x0b\x32\x11.bbgo.SubmitOrder\"M\n\x13SubmitOrderResponse\x12\x1a\n\x05order\x18\x01 \x01(\x0b\x32\x0b.bbgo.Order\x12\x1a\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x0b.bbgo.Error\"K\n\x12\x43\x61ncelOrderRequest\x12\x10\n\x08\x65xchange\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x17\n\x0f\x63lient_order_id\x18\x03 \x01(\t\"M\n\x13\x43\x61ncelOrderResponse\x12\x1a\n\x05order\x18\x01 \x01(\x0b\x32\x0b.bbgo.Order\x12\x1a\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x0b.bbgo.Error\"J\n\x11QueryOrd
|
2022-03-07 04:06:16 +00:00
|
|
|
|
|
|
|
_EVENT = DESCRIPTOR.enum_types_by_name['Event']
|
|
|
|
Event = enum_type_wrapper.EnumTypeWrapper(_EVENT)
|
|
|
|
_CHANNEL = DESCRIPTOR.enum_types_by_name['Channel']
|
|
|
|
Channel = enum_type_wrapper.EnumTypeWrapper(_CHANNEL)
|
|
|
|
_SIDE = DESCRIPTOR.enum_types_by_name['Side']
|
|
|
|
Side = enum_type_wrapper.EnumTypeWrapper(_SIDE)
|
|
|
|
_ORDERTYPE = DESCRIPTOR.enum_types_by_name['OrderType']
|
|
|
|
OrderType = enum_type_wrapper.EnumTypeWrapper(_ORDERTYPE)
|
2022-04-08 11:21:57 +00:00
|
|
|
UNKNOWN = 0
|
2022-03-07 04:06:16 +00:00
|
|
|
SUBSCRIBED = 1
|
|
|
|
UNSUBSCRIBED = 2
|
|
|
|
SNAPSHOT = 3
|
|
|
|
UPDATE = 4
|
|
|
|
AUTHENTICATED = 5
|
|
|
|
ORDER_SNAPSHOT = 6
|
|
|
|
ORDER_UPDATE = 7
|
|
|
|
TRADE_SNAPSHOT = 8
|
|
|
|
TRADE_UPDATE = 9
|
|
|
|
ACCOUNT_SNAPSHOT = 10
|
|
|
|
ACCOUNT_UPDATE = 11
|
2022-04-08 11:21:57 +00:00
|
|
|
ERROR = 99
|
2022-03-07 04:06:16 +00:00
|
|
|
BOOK = 0
|
|
|
|
TRADE = 1
|
|
|
|
TICKER = 2
|
|
|
|
USER = 3
|
2022-04-12 14:25:48 +00:00
|
|
|
KLINE = 4
|
2022-03-07 04:06:16 +00:00
|
|
|
BUY = 0
|
|
|
|
SELL = 1
|
|
|
|
MARKET = 0
|
|
|
|
LIMIT = 1
|
|
|
|
STOP_MARKET = 2
|
|
|
|
STOP_LIMIT = 3
|
|
|
|
POST_ONLY = 4
|
|
|
|
IOC_LIMIT = 5
|
|
|
|
|
|
|
|
|
|
|
|
_EMPTY = DESCRIPTOR.message_types_by_name['Empty']
|
|
|
|
_ERROR = DESCRIPTOR.message_types_by_name['Error']
|
|
|
|
_SUBSCRIBEREQUEST = DESCRIPTOR.message_types_by_name['SubscribeRequest']
|
|
|
|
_SUBSCRIPTION = DESCRIPTOR.message_types_by_name['Subscription']
|
|
|
|
_SUBSCRIBERESPONSE = DESCRIPTOR.message_types_by_name['SubscribeResponse']
|
|
|
|
_DEPTH = DESCRIPTOR.message_types_by_name['Depth']
|
|
|
|
_PRICEVOLUME = DESCRIPTOR.message_types_by_name['PriceVolume']
|
|
|
|
_TRADE = DESCRIPTOR.message_types_by_name['Trade']
|
|
|
|
_TICKER = DESCRIPTOR.message_types_by_name['Ticker']
|
|
|
|
_ORDER = DESCRIPTOR.message_types_by_name['Order']
|
|
|
|
_SUBMITORDER = DESCRIPTOR.message_types_by_name['SubmitOrder']
|
|
|
|
_BALANCE = DESCRIPTOR.message_types_by_name['Balance']
|
|
|
|
_SUBMITORDERREQUEST = DESCRIPTOR.message_types_by_name['SubmitOrderRequest']
|
|
|
|
_SUBMITORDERRESPONSE = DESCRIPTOR.message_types_by_name['SubmitOrderResponse']
|
|
|
|
_CANCELORDERREQUEST = DESCRIPTOR.message_types_by_name['CancelOrderRequest']
|
|
|
|
_CANCELORDERRESPONSE = DESCRIPTOR.message_types_by_name['CancelOrderResponse']
|
|
|
|
_QUERYORDERREQUEST = DESCRIPTOR.message_types_by_name['QueryOrderRequest']
|
|
|
|
_QUERYORDERRESPONSE = DESCRIPTOR.message_types_by_name['QueryOrderResponse']
|
|
|
|
_QUERYORDERSREQUEST = DESCRIPTOR.message_types_by_name['QueryOrdersRequest']
|
|
|
|
_QUERYORDERSRESPONSE = DESCRIPTOR.message_types_by_name['QueryOrdersResponse']
|
|
|
|
_QUERYTRADESREQUEST = DESCRIPTOR.message_types_by_name['QueryTradesRequest']
|
|
|
|
_QUERYTRADESRESPONSE = DESCRIPTOR.message_types_by_name['QueryTradesResponse']
|
|
|
|
_QUERYKLINESREQUEST = DESCRIPTOR.message_types_by_name['QueryKLinesRequest']
|
|
|
|
_QUERYKLINESRESPONSE = DESCRIPTOR.message_types_by_name['QueryKLinesResponse']
|
|
|
|
_KLINE = DESCRIPTOR.message_types_by_name['KLine']
|
|
|
|
Empty = _reflection.GeneratedProtocolMessageType('Empty', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _EMPTY,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Empty)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Empty)
|
|
|
|
|
|
|
|
Error = _reflection.GeneratedProtocolMessageType('Error', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _ERROR,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Error)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Error)
|
|
|
|
|
|
|
|
SubscribeRequest = _reflection.GeneratedProtocolMessageType('SubscribeRequest', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _SUBSCRIBEREQUEST,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.SubscribeRequest)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(SubscribeRequest)
|
|
|
|
|
|
|
|
Subscription = _reflection.GeneratedProtocolMessageType('Subscription', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _SUBSCRIPTION,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Subscription)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Subscription)
|
|
|
|
|
|
|
|
SubscribeResponse = _reflection.GeneratedProtocolMessageType('SubscribeResponse', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _SUBSCRIBERESPONSE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.SubscribeResponse)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(SubscribeResponse)
|
|
|
|
|
|
|
|
Depth = _reflection.GeneratedProtocolMessageType('Depth', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _DEPTH,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Depth)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Depth)
|
|
|
|
|
|
|
|
PriceVolume = _reflection.GeneratedProtocolMessageType('PriceVolume', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _PRICEVOLUME,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.PriceVolume)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(PriceVolume)
|
|
|
|
|
|
|
|
Trade = _reflection.GeneratedProtocolMessageType('Trade', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _TRADE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Trade)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Trade)
|
|
|
|
|
|
|
|
Ticker = _reflection.GeneratedProtocolMessageType('Ticker', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _TICKER,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Ticker)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Ticker)
|
|
|
|
|
|
|
|
Order = _reflection.GeneratedProtocolMessageType('Order', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _ORDER,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Order)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Order)
|
|
|
|
|
|
|
|
SubmitOrder = _reflection.GeneratedProtocolMessageType('SubmitOrder', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _SUBMITORDER,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.SubmitOrder)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(SubmitOrder)
|
|
|
|
|
|
|
|
Balance = _reflection.GeneratedProtocolMessageType('Balance', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _BALANCE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.Balance)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(Balance)
|
|
|
|
|
|
|
|
SubmitOrderRequest = _reflection.GeneratedProtocolMessageType('SubmitOrderRequest', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _SUBMITORDERREQUEST,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.SubmitOrderRequest)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(SubmitOrderRequest)
|
|
|
|
|
|
|
|
SubmitOrderResponse = _reflection.GeneratedProtocolMessageType('SubmitOrderResponse', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _SUBMITORDERRESPONSE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.SubmitOrderResponse)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(SubmitOrderResponse)
|
|
|
|
|
|
|
|
CancelOrderRequest = _reflection.GeneratedProtocolMessageType('CancelOrderRequest', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _CANCELORDERREQUEST,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.CancelOrderRequest)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(CancelOrderRequest)
|
|
|
|
|
|
|
|
CancelOrderResponse = _reflection.GeneratedProtocolMessageType('CancelOrderResponse', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _CANCELORDERRESPONSE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.CancelOrderResponse)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(CancelOrderResponse)
|
|
|
|
|
|
|
|
QueryOrderRequest = _reflection.GeneratedProtocolMessageType('QueryOrderRequest', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYORDERREQUEST,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryOrderRequest)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryOrderRequest)
|
|
|
|
|
|
|
|
QueryOrderResponse = _reflection.GeneratedProtocolMessageType('QueryOrderResponse', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYORDERRESPONSE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryOrderResponse)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryOrderResponse)
|
|
|
|
|
|
|
|
QueryOrdersRequest = _reflection.GeneratedProtocolMessageType('QueryOrdersRequest', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYORDERSREQUEST,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryOrdersRequest)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryOrdersRequest)
|
|
|
|
|
|
|
|
QueryOrdersResponse = _reflection.GeneratedProtocolMessageType('QueryOrdersResponse', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYORDERSRESPONSE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryOrdersResponse)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryOrdersResponse)
|
|
|
|
|
|
|
|
QueryTradesRequest = _reflection.GeneratedProtocolMessageType('QueryTradesRequest', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYTRADESREQUEST,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryTradesRequest)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryTradesRequest)
|
|
|
|
|
|
|
|
QueryTradesResponse = _reflection.GeneratedProtocolMessageType('QueryTradesResponse', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYTRADESRESPONSE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryTradesResponse)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryTradesResponse)
|
|
|
|
|
|
|
|
QueryKLinesRequest = _reflection.GeneratedProtocolMessageType('QueryKLinesRequest', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYKLINESREQUEST,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryKLinesRequest)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryKLinesRequest)
|
|
|
|
|
|
|
|
QueryKLinesResponse = _reflection.GeneratedProtocolMessageType('QueryKLinesResponse', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _QUERYKLINESRESPONSE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.QueryKLinesResponse)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(QueryKLinesResponse)
|
|
|
|
|
|
|
|
KLine = _reflection.GeneratedProtocolMessageType('KLine', (_message.Message,), {
|
|
|
|
'DESCRIPTOR' : _KLINE,
|
|
|
|
'__module__' : 'bbgo_pb2'
|
2022-04-08 13:56:02 +00:00
|
|
|
# @@protoc_insertion_point(class_scope:bbgo.KLine)
|
2022-03-07 04:06:16 +00:00
|
|
|
})
|
|
|
|
_sym_db.RegisterMessage(KLine)
|
|
|
|
|
2022-04-08 11:21:57 +00:00
|
|
|
_MARKETDATASERVICE = DESCRIPTOR.services_by_name['MarketDataService']
|
|
|
|
_USERDATASERVICE = DESCRIPTOR.services_by_name['UserDataService']
|
|
|
|
_TRADINGSERVICE = DESCRIPTOR.services_by_name['TradingService']
|
2022-03-07 04:06:16 +00:00
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
|
|
|
|
DESCRIPTOR._options = None
|
|
|
|
DESCRIPTOR._serialized_options = b'Z\005../pb'
|
2022-04-12 14:25:48 +00:00
|
|
|
_EVENT._serialized_start=3068
|
|
|
|
_EVENT._serialized_end=3296
|
|
|
|
_CHANNEL._serialized_start=3298
|
|
|
|
_CHANNEL._serialized_end=3361
|
|
|
|
_SIDE._serialized_start=3363
|
|
|
|
_SIDE._serialized_end=3388
|
|
|
|
_ORDERTYPE._serialized_start=3390
|
|
|
|
_ORDERTYPE._serialized_end=3487
|
2022-04-08 13:56:02 +00:00
|
|
|
_EMPTY._serialized_start=20
|
|
|
|
_EMPTY._serialized_end=27
|
|
|
|
_ERROR._serialized_start=29
|
|
|
|
_ERROR._serialized_end=79
|
|
|
|
_SUBSCRIBEREQUEST._serialized_start=81
|
|
|
|
_SUBSCRIBEREQUEST._serialized_end=142
|
|
|
|
_SUBSCRIPTION._serialized_start=144
|
2022-04-12 14:25:48 +00:00
|
|
|
_SUBSCRIPTION._serialized_end=257
|
|
|
|
_SUBSCRIBERESPONSE._serialized_start=260
|
|
|
|
_SUBSCRIBERESPONSE._serialized_end=618
|
|
|
|
_DEPTH._serialized_start=620
|
|
|
|
_DEPTH._serialized_end=727
|
|
|
|
_PRICEVOLUME._serialized_start=729
|
|
|
|
_PRICEVOLUME._serialized_end=773
|
|
|
|
_TRADE._serialized_start=776
|
|
|
|
_TRADE._serialized_end=971
|
|
|
|
_TICKER._serialized_start=973
|
|
|
|
_TICKER._serialized_end=1087
|
|
|
|
_ORDER._serialized_start=1090
|
|
|
|
_ORDER._serialized_end=1404
|
|
|
|
_SUBMITORDER._serialized_start=1407
|
|
|
|
_SUBMITORDER._serialized_end=1613
|
|
|
|
_BALANCE._serialized_start=1615
|
|
|
|
_BALANCE._serialized_end=1695
|
|
|
|
_SUBMITORDERREQUEST._serialized_start=1697
|
|
|
|
_SUBMITORDERREQUEST._serialized_end=1758
|
|
|
|
_SUBMITORDERRESPONSE._serialized_start=1760
|
|
|
|
_SUBMITORDERRESPONSE._serialized_end=1837
|
|
|
|
_CANCELORDERREQUEST._serialized_start=1839
|
|
|
|
_CANCELORDERREQUEST._serialized_end=1914
|
|
|
|
_CANCELORDERRESPONSE._serialized_start=1916
|
|
|
|
_CANCELORDERRESPONSE._serialized_end=1993
|
|
|
|
_QUERYORDERREQUEST._serialized_start=1995
|
|
|
|
_QUERYORDERREQUEST._serialized_end=2069
|
|
|
|
_QUERYORDERRESPONSE._serialized_start=2071
|
|
|
|
_QUERYORDERRESPONSE._serialized_end=2147
|
|
|
|
_QUERYORDERSREQUEST._serialized_start=2150
|
|
|
|
_QUERYORDERSREQUEST._serialized_end=2320
|
|
|
|
_QUERYORDERSRESPONSE._serialized_start=2322
|
|
|
|
_QUERYORDERSRESPONSE._serialized_end=2400
|
|
|
|
_QUERYTRADESREQUEST._serialized_start=2403
|
|
|
|
_QUERYTRADESREQUEST._serialized_end=2585
|
|
|
|
_QUERYTRADESRESPONSE._serialized_start=2587
|
|
|
|
_QUERYTRADESRESPONSE._serialized_end=2665
|
|
|
|
_QUERYKLINESREQUEST._serialized_start=2667
|
|
|
|
_QUERYKLINESREQUEST._serialized_end=2792
|
|
|
|
_QUERYKLINESRESPONSE._serialized_start=2794
|
|
|
|
_QUERYKLINESRESPONSE._serialized_end=2872
|
|
|
|
_KLINE._serialized_start=2875
|
|
|
|
_KLINE._serialized_end=3065
|
|
|
|
_MARKETDATASERVICE._serialized_start=3490
|
|
|
|
_MARKETDATASERVICE._serialized_end=3645
|
|
|
|
_USERDATASERVICE._serialized_start=3647
|
|
|
|
_USERDATASERVICE._serialized_end=3727
|
|
|
|
_TRADINGSERVICE._serialized_start=3730
|
|
|
|
_TRADINGSERVICE._serialized_end=4093
|
2022-03-07 04:06:16 +00:00
|
|
|
# @@protoc_insertion_point(module_scope)
|