程序包 xyz.redtorch.pb
接口 CoreField.OrderFieldOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
- CoreField
public static interface CoreField.OrderFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明账户IDcom.google.protobuf.ByteString账户ID激活时间com.google.protobuf.ByteString激活时间适配器层定单IDcom.google.protobuf.ByteString适配器层定单IDint自动挂起标志经纪公司报单编号com.google.protobuf.ByteString经纪公司报单编号撤销时间com.google.protobuf.ByteString撤销时间触发条件int触发条件合约合约方向int方向强平原因int强平原因int前置机编号(CTP/LTS)网关IDcom.google.protobuf.ByteString网关IDGTD日期com.google.protobuf.ByteStringGTD日期投机套保标识int投机套保标识int最小成交量开平int开平定单日期com.google.protobuf.ByteString定单日期定单ID,通常是<网关ID@适配器定单ID>com.google.protobuf.ByteString定单ID,通常是<网关ID@适配器定单ID>本地报单编号com.google.protobuf.ByteString本地报单编号定单价格类型int定单价格类型状态int状态报单编号com.google.protobuf.ByteString报单编号定单时间com.google.protobuf.ByteString定单时间原始定单IDcom.google.protobuf.ByteString原始定单IDdoublegetPrice()价格序号com.google.protobuf.ByteString序号int连接编号(CTP/LTS)状态信息com.google.protobuf.ByteString状态信息double止损价挂起时间com.google.protobuf.ByteString挂起时间int互换单标志时效int时效int数量int已成交数量交易日com.google.protobuf.ByteString交易日最后修改时间com.google.protobuf.ByteString最后修改时间int用户强平标志成交量类型int成交量类型boolean合约从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getOriginOrderId
String getOriginOrderId()原始定单ID
string originOrderId = 1;- 返回:
- The originOrderId.
-
getOriginOrderIdBytes
com.google.protobuf.ByteString getOriginOrderIdBytes()原始定单ID
string originOrderId = 1;- 返回:
- The bytes for originOrderId.
-
getOrderId
String getOrderId()定单ID,通常是<网关ID@适配器定单ID>
string orderId = 2;- 返回:
- The orderId.
-
getOrderIdBytes
com.google.protobuf.ByteString getOrderIdBytes()定单ID,通常是<网关ID@适配器定单ID>
string orderId = 2;- 返回:
- The bytes for orderId.
-
getAdapterOrderId
String getAdapterOrderId()适配器层定单ID
string adapterOrderId = 3;- 返回:
- The adapterOrderId.
-
getAdapterOrderIdBytes
com.google.protobuf.ByteString getAdapterOrderIdBytes()适配器层定单ID
string adapterOrderId = 3;- 返回:
- The bytes for adapterOrderId.
-
getAccountId
String getAccountId()账户ID
string accountId = 4;- 返回:
- The accountId.
-
getAccountIdBytes
com.google.protobuf.ByteString getAccountIdBytes()账户ID
string accountId = 4;- 返回:
- The bytes for accountId.
-
getOrderLocalId
String getOrderLocalId()本地报单编号
string orderLocalId = 5;- 返回:
- The orderLocalId.
-
getOrderLocalIdBytes
com.google.protobuf.ByteString getOrderLocalIdBytes()本地报单编号
string orderLocalId = 5;- 返回:
- The bytes for orderLocalId.
-
getBrokerOrderSeq
String getBrokerOrderSeq()经纪公司报单编号
string brokerOrderSeq = 6;- 返回:
- The brokerOrderSeq.
-
getBrokerOrderSeqBytes
com.google.protobuf.ByteString getBrokerOrderSeqBytes()经纪公司报单编号
string brokerOrderSeq = 6;- 返回:
- The bytes for brokerOrderSeq.
-
getOrderSysId
String getOrderSysId()报单编号
string orderSysId = 7;- 返回:
- The orderSysId.
-
getOrderSysIdBytes
com.google.protobuf.ByteString getOrderSysIdBytes()报单编号
string orderSysId = 7;- 返回:
- The bytes for orderSysId.
-
getSequenceNo
String getSequenceNo()序号
string sequenceNo = 8;- 返回:
- The sequenceNo.
-
getSequenceNoBytes
com.google.protobuf.ByteString getSequenceNoBytes()序号
string sequenceNo = 8;- 返回:
- The bytes for sequenceNo.
-
getDirectionValue
int getDirectionValue()方向
.xyz.redtorch.pb.DirectionEnum direction = 9;- 返回:
- The enum numeric value on the wire for direction.
-
getDirection
CoreEnum.DirectionEnum getDirection()方向
.xyz.redtorch.pb.DirectionEnum direction = 9;- 返回:
- The direction.
-
getOffsetFlagValue
int getOffsetFlagValue()开平
.xyz.redtorch.pb.OffsetFlagEnum offsetFlag = 10;- 返回:
- The enum numeric value on the wire for offsetFlag.
-
getOffsetFlag
CoreEnum.OffsetFlagEnum getOffsetFlag()开平
.xyz.redtorch.pb.OffsetFlagEnum offsetFlag = 10;- 返回:
- The offsetFlag.
-
getHedgeFlagValue
int getHedgeFlagValue()投机套保标识
.xyz.redtorch.pb.HedgeFlagEnum hedgeFlag = 11;- 返回:
- The enum numeric value on the wire for hedgeFlag.
-
getHedgeFlag
CoreEnum.HedgeFlagEnum getHedgeFlag()投机套保标识
.xyz.redtorch.pb.HedgeFlagEnum hedgeFlag = 11;- 返回:
- The hedgeFlag.
-
getOrderPriceTypeValue
int getOrderPriceTypeValue()定单价格类型
.xyz.redtorch.pb.OrderPriceTypeEnum orderPriceType = 12;- 返回:
- The enum numeric value on the wire for orderPriceType.
-
getOrderPriceType
CoreEnum.OrderPriceTypeEnum getOrderPriceType()定单价格类型
.xyz.redtorch.pb.OrderPriceTypeEnum orderPriceType = 12;- 返回:
- The orderPriceType.
-
getOrderStatusValue
int getOrderStatusValue()状态
.xyz.redtorch.pb.OrderStatusEnum orderStatus = 13;- 返回:
- The enum numeric value on the wire for orderStatus.
-
getOrderStatus
CoreEnum.OrderStatusEnum getOrderStatus()状态
.xyz.redtorch.pb.OrderStatusEnum orderStatus = 13;- 返回:
- The orderStatus.
-
getPrice
double getPrice()价格
double price = 14;- 返回:
- The price.
-
getTotalVolume
int getTotalVolume()数量
fixed32 totalVolume = 15;- 返回:
- The totalVolume.
-
getTradedVolume
int getTradedVolume()已成交数量
fixed32 tradedVolume = 16;- 返回:
- The tradedVolume.
-
getTimeConditionValue
int getTimeConditionValue()时效
.xyz.redtorch.pb.TimeConditionEnum timeCondition = 17;- 返回:
- The enum numeric value on the wire for timeCondition.
-
getTimeCondition
CoreEnum.TimeConditionEnum getTimeCondition()时效
.xyz.redtorch.pb.TimeConditionEnum timeCondition = 17;- 返回:
- The timeCondition.
-
getGtdDate
String getGtdDate()GTD日期
string gtdDate = 18;- 返回:
- The gtdDate.
-
getGtdDateBytes
com.google.protobuf.ByteString getGtdDateBytes()GTD日期
string gtdDate = 18;- 返回:
- The bytes for gtdDate.
-
getVolumeConditionValue
int getVolumeConditionValue()成交量类型
.xyz.redtorch.pb.VolumeConditionEnum volumeCondition = 19;- 返回:
- The enum numeric value on the wire for volumeCondition.
-
getVolumeCondition
CoreEnum.VolumeConditionEnum getVolumeCondition()成交量类型
.xyz.redtorch.pb.VolumeConditionEnum volumeCondition = 19;- 返回:
- The volumeCondition.
-
getMinVolume
int getMinVolume()最小成交量
fixed32 minVolume = 20;- 返回:
- The minVolume.
-
getContingentConditionValue
int getContingentConditionValue()触发条件
.xyz.redtorch.pb.ContingentConditionEnum contingentCondition = 21;- 返回:
- The enum numeric value on the wire for contingentCondition.
-
getContingentCondition
CoreEnum.ContingentConditionEnum getContingentCondition()触发条件
.xyz.redtorch.pb.ContingentConditionEnum contingentCondition = 21;- 返回:
- The contingentCondition.
-
getStopPrice
double getStopPrice()止损价
double stopPrice = 22;- 返回:
- The stopPrice.
-
getForceCloseReasonValue
int getForceCloseReasonValue()强平原因
.xyz.redtorch.pb.ForceCloseReasonEnum forceCloseReason = 23;- 返回:
- The enum numeric value on the wire for forceCloseReason.
-
getForceCloseReason
CoreEnum.ForceCloseReasonEnum getForceCloseReason()强平原因
.xyz.redtorch.pb.ForceCloseReasonEnum forceCloseReason = 23;- 返回:
- The forceCloseReason.
-
getAutoSuspend
int getAutoSuspend()自动挂起标志
fixed32 autoSuspend = 24;- 返回:
- The autoSuspend.
-
getUserForceClose
int getUserForceClose()用户强平标志
fixed32 userForceClose = 25;- 返回:
- The userForceClose.
-
getSwapOrder
int getSwapOrder()互换单标志
fixed32 swapOrder = 26;- 返回:
- The swapOrder.
-
getTradingDay
String getTradingDay()交易日
string tradingDay = 27;- 返回:
- The tradingDay.
-
getTradingDayBytes
com.google.protobuf.ByteString getTradingDayBytes()交易日
string tradingDay = 27;- 返回:
- The bytes for tradingDay.
-
getOrderDate
String getOrderDate()定单日期
string orderDate = 28;- 返回:
- The orderDate.
-
getOrderDateBytes
com.google.protobuf.ByteString getOrderDateBytes()定单日期
string orderDate = 28;- 返回:
- The bytes for orderDate.
-
getOrderTime
String getOrderTime()定单时间
string orderTime = 29;- 返回:
- The orderTime.
-
getOrderTimeBytes
com.google.protobuf.ByteString getOrderTimeBytes()定单时间
string orderTime = 29;- 返回:
- The bytes for orderTime.
-
getActiveTime
String getActiveTime()激活时间
string activeTime = 30;- 返回:
- The activeTime.
-
getActiveTimeBytes
com.google.protobuf.ByteString getActiveTimeBytes()激活时间
string activeTime = 30;- 返回:
- The bytes for activeTime.
-
getSuspendTime
String getSuspendTime()挂起时间
string suspendTime = 31;- 返回:
- The suspendTime.
-
getSuspendTimeBytes
com.google.protobuf.ByteString getSuspendTimeBytes()挂起时间
string suspendTime = 31;- 返回:
- The bytes for suspendTime.
-
getCancelTime
String getCancelTime()撤销时间
string cancelTime = 32;- 返回:
- The cancelTime.
-
getCancelTimeBytes
com.google.protobuf.ByteString getCancelTimeBytes()撤销时间
string cancelTime = 32;- 返回:
- The bytes for cancelTime.
-
getUpdateTime
String getUpdateTime()最后修改时间
string updateTime = 33;- 返回:
- The updateTime.
-
getUpdateTimeBytes
com.google.protobuf.ByteString getUpdateTimeBytes()最后修改时间
string updateTime = 33;- 返回:
- The bytes for updateTime.
-
getStatusMsg
String getStatusMsg()状态信息
string statusMsg = 34;- 返回:
- The statusMsg.
-
getStatusMsgBytes
com.google.protobuf.ByteString getStatusMsgBytes()状态信息
string statusMsg = 34;- 返回:
- The bytes for statusMsg.
-
getFrontId
int getFrontId()前置机编号(CTP/LTS)
fixed32 frontId = 35;- 返回:
- The frontId.
-
getSessionId
int getSessionId()连接编号(CTP/LTS)
fixed32 sessionId = 36;- 返回:
- The sessionId.
-
hasContract
boolean hasContract()合约
.xyz.redtorch.pb.ContractField contract = 37;- 返回:
- Whether the contract field is set.
-
getContract
CoreField.ContractField getContract()合约
.xyz.redtorch.pb.ContractField contract = 37;- 返回:
- The contract.
-
getContractOrBuilder
CoreField.ContractFieldOrBuilder getContractOrBuilder()合约
.xyz.redtorch.pb.ContractField contract = 37; -
getGatewayId
String getGatewayId()网关ID
string gatewayId = 38;- 返回:
- The gatewayId.
-
getGatewayIdBytes
com.google.protobuf.ByteString getGatewayIdBytes()网关ID
string gatewayId = 38;- 返回:
- The bytes for gatewayId.
-