public final class TradeTickData extends com.google.protobuf.GeneratedMessageV3 implements TradeTickDataOrBuilder
com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData| 限定符和类型 | 类和说明 |
|---|---|
static class |
TradeTickData.Builder
Protobuf type
com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData |
static class |
TradeTickData.MergedVol
Protobuf type
com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol |
static interface |
TradeTickData.MergedVolOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COND_FIELD_NUMBER |
static int |
MERGEDVOLS_FIELD_NUMBER |
static int |
PARTCODE_FIELD_NUMBER |
static int |
PRICE_FIELD_NUMBER |
static int |
PRICEBASE_FIELD_NUMBER |
static int |
PRICEOFFSET_FIELD_NUMBER |
static int |
QUOTELEVEL_FIELD_NUMBER |
static int |
SECTYPE_FIELD_NUMBER |
static int |
SN_FIELD_NUMBER |
static int |
SYMBOL_FIELD_NUMBER |
static int |
TIME_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VOLUME_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getCond()
成交条件(该值为空时表示所有成交都是正常成交)(Futures are not supported)
string cond = 3; |
com.google.protobuf.ByteString |
getCondBytes()
成交条件(该值为空时表示所有成交都是正常成交)(Futures are not supported)
string cond = 3; |
static TradeTickData |
getDefaultInstance() |
TradeTickData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TradeTickData.MergedVol |
getMergedVols(int index)
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14; |
int |
getMergedVolsCount()
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14; |
List<TradeTickData.MergedVol> |
getMergedVolsList()
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14; |
TradeTickData.MergedVolOrBuilder |
getMergedVolsOrBuilder(int index)
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14; |
List<? extends TradeTickData.MergedVolOrBuilder> |
getMergedVolsOrBuilderList()
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14; |
com.google.protobuf.Parser<TradeTickData> |
getParserForType() |
String |
getPartCode(int index)
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10; |
com.google.protobuf.ByteString |
getPartCodeBytes(int index)
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10; |
int |
getPartCodeCount()
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10; |
com.google.protobuf.ProtocolStringList |
getPartCodeList()
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10; |
long |
getPrice(int index)
压缩后的成交价格,恢复为原始价格信息 price[i] = (priceBase + price[i]) / 10^priceOffset
repeated int64 price = 8; |
long |
getPriceBase()
int64 priceBase = 5; |
int |
getPriceCount()
压缩后的成交价格,恢复为原始价格信息 price[i] = (priceBase + price[i]) / 10^priceOffset
repeated int64 price = 8; |
List<Long> |
getPriceList()
压缩后的成交价格,恢复为原始价格信息 price[i] = (priceBase + price[i]) / 10^priceOffset
repeated int64 price = 8; |
int |
getPriceOffset()
int32 priceOffset = 6; |
String |
getQuoteLevel()
(Futures are not supported)
string quoteLevel = 11; |
com.google.protobuf.ByteString |
getQuoteLevelBytes()
(Futures are not supported)
string quoteLevel = 11; |
String |
getSecType()
STK Stocks, FUT Futures
string secType = 13; |
com.google.protobuf.ByteString |
getSecTypeBytes()
STK Stocks, FUT Futures
string secType = 13; |
int |
getSerializedSize() |
long |
getSn()
首个逐笔对应的序号
int64 sn = 4; |
String |
getSymbol()
string symbol = 1; |
com.google.protobuf.ByteString |
getSymbolBytes()
string symbol = 1; |
long |
getTime(int index)
压缩后的成交时间,恢复为原时间信息 time[i] = time[i] + time[i-1]
repeated int64 time = 7; |
int |
getTimeCount()
压缩后的成交时间,恢复为原时间信息 time[i] = time[i] + time[i-1]
repeated int64 time = 7; |
List<Long> |
getTimeList()
压缩后的成交时间,恢复为原时间信息 time[i] = time[i] + time[i-1]
repeated int64 time = 7; |
long |
getTimestamp()
uint64 timestamp = 12; |
String |
getType()
tick type 逐笔方向(+-* 组成的字符串)(Futures are not supported)
string type = 2; |
com.google.protobuf.ByteString |
getTypeBytes()
tick type 逐笔方向(+-* 组成的字符串)(Futures are not supported)
string type = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getVolume(int index)
原始的成交量
repeated int64 volume = 9; |
int |
getVolumeCount()
原始的成交量
repeated int64 volume = 9; |
List<Long> |
getVolumeList()
原始的成交量
repeated int64 volume = 9; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TradeTickData.Builder |
newBuilder() |
static TradeTickData.Builder |
newBuilder(TradeTickData prototype) |
TradeTickData.Builder |
newBuilderForType() |
protected TradeTickData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TradeTickData |
parseDelimitedFrom(InputStream input) |
static TradeTickData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TradeTickData |
parseFrom(byte[] data) |
static TradeTickData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TradeTickData |
parseFrom(ByteBuffer data) |
static TradeTickData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TradeTickData |
parseFrom(com.google.protobuf.ByteString data) |
static TradeTickData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TradeTickData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TradeTickData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TradeTickData |
parseFrom(InputStream input) |
static TradeTickData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TradeTickData> |
parser() |
TradeTickData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SYMBOL_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int COND_FIELD_NUMBER
public static final int SN_FIELD_NUMBER
public static final int PRICEBASE_FIELD_NUMBER
public static final int PRICEOFFSET_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER
public static final int PRICE_FIELD_NUMBER
public static final int VOLUME_FIELD_NUMBER
public static final int PARTCODE_FIELD_NUMBER
public static final int QUOTELEVEL_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int SECTYPE_FIELD_NUMBER
public static final int MERGEDVOLS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getSymbol()
string symbol = 1;getSymbol 在接口中 TradeTickDataOrBuilderpublic com.google.protobuf.ByteString getSymbolBytes()
string symbol = 1;getSymbolBytes 在接口中 TradeTickDataOrBuilderpublic String getType()
tick type 逐笔方向(+-* 组成的字符串)(Futures are not supported)
string type = 2;getType 在接口中 TradeTickDataOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
tick type 逐笔方向(+-* 组成的字符串)(Futures are not supported)
string type = 2;getTypeBytes 在接口中 TradeTickDataOrBuilderpublic String getCond()
成交条件(该值为空时表示所有成交都是正常成交)(Futures are not supported)
string cond = 3;getCond 在接口中 TradeTickDataOrBuilderpublic com.google.protobuf.ByteString getCondBytes()
成交条件(该值为空时表示所有成交都是正常成交)(Futures are not supported)
string cond = 3;getCondBytes 在接口中 TradeTickDataOrBuilderpublic long getSn()
首个逐笔对应的序号
int64 sn = 4;getSn 在接口中 TradeTickDataOrBuilderpublic long getPriceBase()
int64 priceBase = 5;getPriceBase 在接口中 TradeTickDataOrBuilderpublic int getPriceOffset()
int32 priceOffset = 6;getPriceOffset 在接口中 TradeTickDataOrBuilderpublic List<Long> getTimeList()
压缩后的成交时间,恢复为原时间信息 time[i] = time[i] + time[i-1]
repeated int64 time = 7;getTimeList 在接口中 TradeTickDataOrBuilderpublic int getTimeCount()
压缩后的成交时间,恢复为原时间信息 time[i] = time[i] + time[i-1]
repeated int64 time = 7;getTimeCount 在接口中 TradeTickDataOrBuilderpublic long getTime(int index)
压缩后的成交时间,恢复为原时间信息 time[i] = time[i] + time[i-1]
repeated int64 time = 7;getTime 在接口中 TradeTickDataOrBuilderindex - The index of the element to return.public List<Long> getPriceList()
压缩后的成交价格,恢复为原始价格信息 price[i] = (priceBase + price[i]) / 10^priceOffset
repeated int64 price = 8;getPriceList 在接口中 TradeTickDataOrBuilderpublic int getPriceCount()
压缩后的成交价格,恢复为原始价格信息 price[i] = (priceBase + price[i]) / 10^priceOffset
repeated int64 price = 8;getPriceCount 在接口中 TradeTickDataOrBuilderpublic long getPrice(int index)
压缩后的成交价格,恢复为原始价格信息 price[i] = (priceBase + price[i]) / 10^priceOffset
repeated int64 price = 8;getPrice 在接口中 TradeTickDataOrBuilderindex - The index of the element to return.public List<Long> getVolumeList()
原始的成交量
repeated int64 volume = 9;getVolumeList 在接口中 TradeTickDataOrBuilderpublic int getVolumeCount()
原始的成交量
repeated int64 volume = 9;getVolumeCount 在接口中 TradeTickDataOrBuilderpublic long getVolume(int index)
原始的成交量
repeated int64 volume = 9;getVolume 在接口中 TradeTickDataOrBuilderindex - The index of the element to return.public com.google.protobuf.ProtocolStringList getPartCodeList()
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10;getPartCodeList 在接口中 TradeTickDataOrBuilderpublic int getPartCodeCount()
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10;getPartCodeCount 在接口中 TradeTickDataOrBuilderpublic String getPartCode(int index)
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10;getPartCode 在接口中 TradeTickDataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getPartCodeBytes(int index)
交易所代码,一般是 a ~ z 字符(Futures are not supported)
repeated string partCode = 10;getPartCodeBytes 在接口中 TradeTickDataOrBuilderindex - The index of the value to return.public String getQuoteLevel()
(Futures are not supported)
string quoteLevel = 11;getQuoteLevel 在接口中 TradeTickDataOrBuilderpublic com.google.protobuf.ByteString getQuoteLevelBytes()
(Futures are not supported)
string quoteLevel = 11;getQuoteLevelBytes 在接口中 TradeTickDataOrBuilderpublic long getTimestamp()
uint64 timestamp = 12;getTimestamp 在接口中 TradeTickDataOrBuilderpublic String getSecType()
STK Stocks, FUT Futures
string secType = 13;getSecType 在接口中 TradeTickDataOrBuilderpublic com.google.protobuf.ByteString getSecTypeBytes()
STK Stocks, FUT Futures
string secType = 13;getSecTypeBytes 在接口中 TradeTickDataOrBuilderpublic List<TradeTickData.MergedVol> getMergedVolsList()
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14;getMergedVolsList 在接口中 TradeTickDataOrBuilderpublic List<? extends TradeTickData.MergedVolOrBuilder> getMergedVolsOrBuilderList()
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14;public int getMergedVolsCount()
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14;getMergedVolsCount 在接口中 TradeTickDataOrBuilderpublic TradeTickData.MergedVol getMergedVols(int index)
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14;getMergedVols 在接口中 TradeTickDataOrBuilderpublic TradeTickData.MergedVolOrBuilder getMergedVolsOrBuilder(int index)
原始合并次数(Only futures are supported)
repeated .com.tigerbrokers.stock.openapi.client.socket.data.pb.TradeTickData.MergedVol mergedVols = 14;getMergedVolsOrBuilder 在接口中 TradeTickDataOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static TradeTickData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TradeTickData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TradeTickData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TradeTickData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TradeTickData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TradeTickData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TradeTickData parseFrom(InputStream input) throws IOException
IOExceptionpublic static TradeTickData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TradeTickData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TradeTickData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TradeTickData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TradeTickData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TradeTickData.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static TradeTickData.Builder newBuilder()
public static TradeTickData.Builder newBuilder(TradeTickData prototype)
public TradeTickData.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected TradeTickData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static TradeTickData getDefaultInstance()
public static com.google.protobuf.Parser<TradeTickData> parser()
public com.google.protobuf.Parser<TradeTickData> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public TradeTickData getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.