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.
256 lines
12 KiB
256 lines
12 KiB
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: IndexFutureL1TickMessage.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='IndexFutureL1TickMessage.proto',
|
|
package='',
|
|
syntax='proto2',
|
|
serialized_options=None,
|
|
serialized_pb=b'\n\x1eIndexFutureL1TickMessage.proto\"\xb5\x04\n\x16IndexFutureL1TickArray\x12@\n\tdataArray\x18\x01 \x03(\x0b\x32-.IndexFutureL1TickArray.IndexFutureL1TickData\x1a\xd8\x03\n\x15IndexFutureL1TickData\x12\x15\n\rm_strWindCode\x18\x01 \x02(\t\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 \x02(\x01\x12\x14\n\x0cm_nAskVolume\x18\x11 \x02(\x05\x12\x13\n\x0bm_nBidPrice\x18\x12 \x02(\x01\x12\x14\n\x0cm_nBidVolume\x18\x13 \x02(\x05\x12\x13\n\x0bm_nPosition\x18\x14 \x02(\x05\x12\x14\n\x0cm_nPreSettle\x18\x15 \x02(\x01\x12\x16\n\x0em_nPrePosition\x18\x16 \x02(\x05'
|
|
)
|
|
|
|
|
|
|
|
|
|
_INDEXFUTUREL1TICKARRAY_INDEXFUTUREL1TICKDATA = _descriptor.Descriptor(
|
|
name='IndexFutureL1TickData',
|
|
full_name='IndexFutureL1TickArray.IndexFutureL1TickData',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='m_strWindCode', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.m_strWindCode', index=0,
|
|
number=1, type=9, cpp_type=9, label=2,
|
|
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, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='m_nDate', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.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='IndexFutureL1TickArray.IndexFutureL1TickData.m_nAskPrice', index=15,
|
|
number=16, 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_nAskVolume', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.m_nAskVolume', index=16,
|
|
number=17, 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_nBidPrice', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.m_nBidPrice', index=17,
|
|
number=18, 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_nBidVolume', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.m_nBidVolume', index=18,
|
|
number=19, 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_nPosition', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.m_nPosition', index=19,
|
|
number=20, 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_nPreSettle', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.m_nPreSettle', 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_nPrePosition', full_name='IndexFutureL1TickArray.IndexFutureL1TickData.m_nPrePosition', index=21,
|
|
number=22, 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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=128,
|
|
serialized_end=600,
|
|
)
|
|
|
|
_INDEXFUTUREL1TICKARRAY = _descriptor.Descriptor(
|
|
name='IndexFutureL1TickArray',
|
|
full_name='IndexFutureL1TickArray',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='dataArray', full_name='IndexFutureL1TickArray.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=[_INDEXFUTUREL1TICKARRAY_INDEXFUTUREL1TICKDATA, ],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=35,
|
|
serialized_end=600,
|
|
)
|
|
|
|
_INDEXFUTUREL1TICKARRAY_INDEXFUTUREL1TICKDATA.containing_type = _INDEXFUTUREL1TICKARRAY
|
|
_INDEXFUTUREL1TICKARRAY.fields_by_name['dataArray'].message_type = _INDEXFUTUREL1TICKARRAY_INDEXFUTUREL1TICKDATA
|
|
DESCRIPTOR.message_types_by_name['IndexFutureL1TickArray'] = _INDEXFUTUREL1TICKARRAY
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
IndexFutureL1TickArray = _reflection.GeneratedProtocolMessageType('IndexFutureL1TickArray', (_message.Message,), {
|
|
|
|
'IndexFutureL1TickData' : _reflection.GeneratedProtocolMessageType('IndexFutureL1TickData', (_message.Message,), {
|
|
'DESCRIPTOR' : _INDEXFUTUREL1TICKARRAY_INDEXFUTUREL1TICKDATA,
|
|
'__module__' : 'IndexFutureL1TickMessage_pb2'
|
|
# @@protoc_insertion_point(class_scope:IndexFutureL1TickArray.IndexFutureL1TickData)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _INDEXFUTUREL1TICKARRAY,
|
|
'__module__' : 'IndexFutureL1TickMessage_pb2'
|
|
# @@protoc_insertion_point(class_scope:IndexFutureL1TickArray)
|
|
})
|
|
_sym_db.RegisterMessage(IndexFutureL1TickArray)
|
|
_sym_db.RegisterMessage(IndexFutureL1TickArray.IndexFutureL1TickData)
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|