程序包 xyz.redtorch.pb
接口 CoreField.SubmitOrderReqFieldOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
CoreField
public static interface CoreField.SubmitOrderReqFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明账户代码com.google.protobuf.ByteString账户代码long时间戳int自动挂起标志触发条件int触发条件合约合约币种int币种方向int方向强平原因int强平原因网关IDcom.google.protobuf.ByteString网关IDGTD日期com.google.protobuf.ByteStringGTD日期组合投机套保标志int组合投机套保标志int最小成交量组合开平标志int组合开平标志价格类型int价格类型原始定单IDcom.google.protobuf.ByteString原始定单IDdoublegetPrice()价格double止损价int互换单标志时效int时效int用户强评标志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.
-
getAccountCode
String getAccountCode()账户代码
string accountCode = 2;- 返回:
- The accountCode.
-
getAccountCodeBytes
com.google.protobuf.ByteString getAccountCodeBytes()账户代码
string accountCode = 2;- 返回:
- The bytes for accountCode.
-
getCurrencyValue
int getCurrencyValue()币种
.xyz.redtorch.pb.CurrencyEnum currency = 3;- 返回:
- The enum numeric value on the wire for currency.
-
getCurrency
CoreEnum.CurrencyEnum getCurrency()币种
.xyz.redtorch.pb.CurrencyEnum currency = 3;- 返回:
- The currency.
-
hasContract
boolean hasContract()合约
.xyz.redtorch.pb.ContractField contract = 4;- 返回:
- Whether the contract field is set.
-
getContract
CoreField.ContractField getContract()合约
.xyz.redtorch.pb.ContractField contract = 4;- 返回:
- The contract.
-
getContractOrBuilder
CoreField.ContractFieldOrBuilder getContractOrBuilder()合约
.xyz.redtorch.pb.ContractField contract = 4; -
getGatewayId
String getGatewayId()网关ID
string gatewayId = 5;- 返回:
- The gatewayId.
-
getGatewayIdBytes
com.google.protobuf.ByteString getGatewayIdBytes()网关ID
string gatewayId = 5;- 返回:
- The bytes for gatewayId.
-
getVolume
int getVolume()数量
fixed32 volume = 6;- 返回:
- The volume.
-
getPrice
double getPrice()价格
double price = 7;- 返回:
- The price.
-
getOrderPriceTypeValue
int getOrderPriceTypeValue()价格类型
.xyz.redtorch.pb.OrderPriceTypeEnum orderPriceType = 8;- 返回:
- The enum numeric value on the wire for orderPriceType.
-
getOrderPriceType
CoreEnum.OrderPriceTypeEnum getOrderPriceType()价格类型
.xyz.redtorch.pb.OrderPriceTypeEnum orderPriceType = 8;- 返回:
- The orderPriceType.
-
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.
-
getTimeConditionValue
int getTimeConditionValue()时效
.xyz.redtorch.pb.TimeConditionEnum timeCondition = 12;- 返回:
- The enum numeric value on the wire for timeCondition.
-
getTimeCondition
CoreEnum.TimeConditionEnum getTimeCondition()时效
.xyz.redtorch.pb.TimeConditionEnum timeCondition = 12;- 返回:
- The timeCondition.
-
getGtdDate
String getGtdDate()GTD日期
string gtdDate = 13;- 返回:
- The gtdDate.
-
getGtdDateBytes
com.google.protobuf.ByteString getGtdDateBytes()GTD日期
string gtdDate = 13;- 返回:
- The bytes for gtdDate.
-
getVolumeConditionValue
int getVolumeConditionValue()成交量类型
.xyz.redtorch.pb.VolumeConditionEnum volumeCondition = 14;- 返回:
- The enum numeric value on the wire for volumeCondition.
-
getVolumeCondition
CoreEnum.VolumeConditionEnum getVolumeCondition()成交量类型
.xyz.redtorch.pb.VolumeConditionEnum volumeCondition = 14;- 返回:
- The volumeCondition.
-
getMinVolume
int getMinVolume()最小成交量
fixed32 minVolume = 15;- 返回:
- The minVolume.
-
getContingentConditionValue
int getContingentConditionValue()触发条件
.xyz.redtorch.pb.ContingentConditionEnum contingentCondition = 16;- 返回:
- The enum numeric value on the wire for contingentCondition.
-
getContingentCondition
CoreEnum.ContingentConditionEnum getContingentCondition()触发条件
.xyz.redtorch.pb.ContingentConditionEnum contingentCondition = 16;- 返回:
- The contingentCondition.
-
getStopPrice
double getStopPrice()止损价
double stopPrice = 17;- 返回:
- The stopPrice.
-
getForceCloseReasonValue
int getForceCloseReasonValue()强平原因
.xyz.redtorch.pb.ForceCloseReasonEnum forceCloseReason = 18;- 返回:
- The enum numeric value on the wire for forceCloseReason.
-
getForceCloseReason
CoreEnum.ForceCloseReasonEnum getForceCloseReason()强平原因
.xyz.redtorch.pb.ForceCloseReasonEnum forceCloseReason = 18;- 返回:
- The forceCloseReason.
-
getAutoSuspend
int getAutoSuspend()自动挂起标志
fixed32 autoSuspend = 19;- 返回:
- The autoSuspend.
-
getUserForceClose
int getUserForceClose()用户强评标志
fixed32 userForceClose = 20;- 返回:
- The userForceClose.
-
getSwapOrder
int getSwapOrder()互换单标志
fixed32 swapOrder = 21;- 返回:
- The swapOrder.
-
getActionTimestamp
long getActionTimestamp()时间戳
fixed64 actionTimestamp = 22;- 返回:
- The actionTimestamp.
-