You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
263 lines
12 KiB
263 lines
12 KiB
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: TickMessage.proto
|
|
|
|
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()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='TickMessage.proto',
|
|
package='',
|
|
syntax='proto2',
|
|
serialized_options=None,
|
|
serialized_pb=b'\n\x11TickMessage.proto\"\x99\x04\n\tTickArray\x12&\n\tdataArray\x18\x01 \x03(\x0b\x32\x13.TickArray.TickData\x1a\xe3\x03\n\x08TickData\x12\x0c\n\x04\x63ode\x18\x01 \x02(\x05\x12\x0f\n\x07m_nDate\x18\x02 \x02(\x05\x12\x0f\n\x07m_nTime\x18\x03 \x02(\x05\x12\x10\n\x08m_nPrice\x18\x04 \x02(\x01\x12\x11\n\tm_iVolume\x18\x05 \x02(\x03\x12\x12\n\nm_iTurover\x18\x06 \x02(\x03\x12\x15\n\rm_nMatchItems\x18\x07 \x02(\x05\x12\x15\n\rm_chTradeFlag\x18\x08 \x02(\r\x12\x12\n\nm_chBSFlag\x18\t \x02(\r\x12\x14\n\x0cm_iAccVolume\x18\n \x02(\x03\x12\x15\n\rm_iAccTurover\x18\x0b \x02(\x03\x12\x0f\n\x07m_nHigh\x18\x0c \x02(\x01\x12\x0e\n\x06m_nLow\x18\r \x02(\x01\x12\x0f\n\x07m_nOpen\x18\x0e \x02(\x01\x12\x13\n\x0bm_nPreClose\x18\x0f \x02(\x01\x12\x13\n\x0bm_nAskPrice\x18\x10 \x03(\x01\x12\x14\n\x0cm_nAskVolume\x18\x11 \x03(\x05\x12\x13\n\x0bm_nBidPrice\x18\x12 \x03(\x01\x12\x14\n\x0cm_nBidVolume\x18\x13 \x03(\x05\x12\x15\n\rm_nAskAvPrice\x18\x14 \x02(\x01\x12\x15\n\rm_nBidAvPrice\x18\x15 \x02(\x01\x12\x19\n\x11m_iTotalAskVolume\x18\x16 \x02(\x03\x12\x19\n\x11m_iTotalBidVolume\x18\x17 \x02(\x03'
|
|
)
|
|
|
|
|
|
|
|
|
|
_TICKARRAY_TICKDATA = _descriptor.Descriptor(
|
|
name='TickData',
|
|
full_name='TickArray.TickData',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='code', full_name='TickArray.TickData.code', index=0,
|
|
number=1, type=5, cpp_type=1, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nDate', full_name='TickArray.TickData.m_nDate', index=1,
|
|
number=2, type=5, cpp_type=1, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nTime', full_name='TickArray.TickData.m_nTime', index=2,
|
|
number=3, type=5, cpp_type=1, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nPrice', full_name='TickArray.TickData.m_nPrice', index=3,
|
|
number=4, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=float(0),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_iVolume', full_name='TickArray.TickData.m_iVolume', index=4,
|
|
number=5, type=3, cpp_type=2, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_iTurover', full_name='TickArray.TickData.m_iTurover', index=5,
|
|
number=6, type=3, cpp_type=2, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nMatchItems', full_name='TickArray.TickData.m_nMatchItems', index=6,
|
|
number=7, type=5, cpp_type=1, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_chTradeFlag', full_name='TickArray.TickData.m_chTradeFlag', index=7,
|
|
number=8, type=13, cpp_type=3, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_chBSFlag', full_name='TickArray.TickData.m_chBSFlag', index=8,
|
|
number=9, type=13, cpp_type=3, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_iAccVolume', full_name='TickArray.TickData.m_iAccVolume', index=9,
|
|
number=10, type=3, cpp_type=2, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_iAccTurover', full_name='TickArray.TickData.m_iAccTurover', index=10,
|
|
number=11, type=3, cpp_type=2, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nHigh', full_name='TickArray.TickData.m_nHigh', index=11,
|
|
number=12, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=float(0),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nLow', full_name='TickArray.TickData.m_nLow', index=12,
|
|
number=13, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=float(0),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nOpen', full_name='TickArray.TickData.m_nOpen', index=13,
|
|
number=14, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=float(0),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nPreClose', full_name='TickArray.TickData.m_nPreClose', index=14,
|
|
number=15, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=float(0),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nAskPrice', full_name='TickArray.TickData.m_nAskPrice', index=15,
|
|
number=16, type=1, cpp_type=5, 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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nAskVolume', full_name='TickArray.TickData.m_nAskVolume', index=16,
|
|
number=17, type=5, cpp_type=1, 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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nBidPrice', full_name='TickArray.TickData.m_nBidPrice', index=17,
|
|
number=18, type=1, cpp_type=5, 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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nBidVolume', full_name='TickArray.TickData.m_nBidVolume', index=18,
|
|
number=19, type=5, cpp_type=1, 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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nAskAvPrice', full_name='TickArray.TickData.m_nAskAvPrice', index=19,
|
|
number=20, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=float(0),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nBidAvPrice', full_name='TickArray.TickData.m_nBidAvPrice', index=20,
|
|
number=21, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=float(0),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_iTotalAskVolume', full_name='TickArray.TickData.m_iTotalAskVolume', index=21,
|
|
number=22, type=3, cpp_type=2, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_iTotalBidVolume', full_name='TickArray.TickData.m_iTotalBidVolume', index=22,
|
|
number=23, type=3, cpp_type=2, label=2,
|
|
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, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=76,
|
|
serialized_end=559,
|
|
)
|
|
|
|
_TICKARRAY = _descriptor.Descriptor(
|
|
name='TickArray',
|
|
full_name='TickArray',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='dataArray', full_name='TickArray.dataArray', index=0,
|
|
number=1, 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, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[_TICKARRAY_TICKDATA, ],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=22,
|
|
serialized_end=559,
|
|
)
|
|
|
|
_TICKARRAY_TICKDATA.containing_type = _TICKARRAY
|
|
_TICKARRAY.fields_by_name['dataArray'].message_type = _TICKARRAY_TICKDATA
|
|
DESCRIPTOR.message_types_by_name['TickArray'] = _TICKARRAY
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
TickArray = _reflection.GeneratedProtocolMessageType('TickArray', (_message.Message,), {
|
|
|
|
'TickData' : _reflection.GeneratedProtocolMessageType('TickData', (_message.Message,), {
|
|
'DESCRIPTOR' : _TICKARRAY_TICKDATA,
|
|
'__module__' : 'TickMessage_pb2'
|
|
# @@protoc_insertion_point(class_scope:TickArray.TickData)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _TICKARRAY,
|
|
'__module__' : 'TickMessage_pb2'
|
|
# @@protoc_insertion_point(class_scope:TickArray)
|
|
})
|
|
_sym_db.RegisterMessage(TickArray)
|
|
_sym_db.RegisterMessage(TickArray.TickData)
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|