程序包 xyz.redtorch.pb
接口 CoreField.ContractFieldOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
CoreField
public static interface CoreField.ContractFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明渠道来源com.google.protobuf.ByteString渠道来源组合类型int组合类型double手续费double手续费率ID,通常是 <合约代码@交易所代码@产品类型@网关ID>com.google.protobuf.ByteStringID,通常是 <合约代码@交易所代码@产品类型@网关ID>币种int币种交易所int交易所全称com.google.protobuf.ByteString全称网关com.google.protobuf.ByteString网关最后交易日或合约月com.google.protobuf.ByteString最后交易日或合约月double多头保证金率int限价单最大下单量boolean最大单边保证金算法int市价单最大下单量int限价单最小下单量int市价单最小下单量double合约乘数getName()简称com.google.protobuf.ByteString简称期权类型int期权类型int价格精度double最小变动价位产品类型int产品类型int成交量精度double空头保证金率double执行价代码com.google.protobuf.ByteString代码第三方IDcom.google.protobuf.ByteString第三方IDdouble合约基础商品乘数基础商品代码com.google.protobuf.ByteString基础商品代码统一ID,通常是 <合约代码@交易所代码@产品类型>com.google.protobuf.ByteString统一ID,通常是 <合约代码@交易所代码@产品类型>从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getContractId
String getContractId()ID,通常是 <合约代码@交易所代码@产品类型@网关ID>
string contractId = 1;- 返回:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()ID,通常是 <合约代码@交易所代码@产品类型@网关ID>
string contractId = 1;- 返回:
- The bytes for contractId.
-
getName
String getName()简称
string name = 2;- 返回:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()简称
string name = 2;- 返回:
- The bytes for name.
-
getFullName
String getFullName()全称
string fullName = 3;- 返回:
- The fullName.
-
getFullNameBytes
com.google.protobuf.ByteString getFullNameBytes()全称
string fullName = 3;- 返回:
- The bytes for fullName.
-
getThirdPartyId
String getThirdPartyId()第三方ID
string thirdPartyId = 4;- 返回:
- The thirdPartyId.
-
getThirdPartyIdBytes
com.google.protobuf.ByteString getThirdPartyIdBytes()第三方ID
string thirdPartyId = 4;- 返回:
- The bytes for thirdPartyId.
-
getUnifiedSymbol
String getUnifiedSymbol()统一ID,通常是 <合约代码@交易所代码@产品类型>
string unifiedSymbol = 7;- 返回:
- The unifiedSymbol.
-
getUnifiedSymbolBytes
com.google.protobuf.ByteString getUnifiedSymbolBytes()统一ID,通常是 <合约代码@交易所代码@产品类型>
string unifiedSymbol = 7;- 返回:
- The bytes for unifiedSymbol.
-
getSymbol
String getSymbol()代码
string symbol = 8;- 返回:
- The symbol.
-
getSymbolBytes
com.google.protobuf.ByteString getSymbolBytes()代码
string symbol = 8;- 返回:
- The bytes for symbol.
-
getExchangeValue
int getExchangeValue()交易所
.xyz.redtorch.pb.ExchangeEnum exchange = 9;- 返回:
- The enum numeric value on the wire for exchange.
-
getExchange
CoreEnum.ExchangeEnum getExchange()交易所
.xyz.redtorch.pb.ExchangeEnum exchange = 9;- 返回:
- The exchange.
-
getProductClassValue
int getProductClassValue()产品类型
.xyz.redtorch.pb.ProductClassEnum productClass = 10;- 返回:
- The enum numeric value on the wire for productClass.
-
getProductClass
CoreEnum.ProductClassEnum getProductClass()产品类型
.xyz.redtorch.pb.ProductClassEnum productClass = 10;- 返回:
- The productClass.
-
getCurrencyValue
int getCurrencyValue()币种
.xyz.redtorch.pb.CurrencyEnum currency = 11;- 返回:
- The enum numeric value on the wire for currency.
-
getCurrency
CoreEnum.CurrencyEnum getCurrency()币种
.xyz.redtorch.pb.CurrencyEnum currency = 11;- 返回:
- The currency.
-
getMultiplier
double getMultiplier()合约乘数
double multiplier = 12;- 返回:
- The multiplier.
-
getPriceTick
double getPriceTick()最小变动价位
double priceTick = 13;- 返回:
- The priceTick.
-
getLongMarginRatio
double getLongMarginRatio()多头保证金率
double longMarginRatio = 14;- 返回:
- The longMarginRatio.
-
getShortMarginRatio
double getShortMarginRatio()空头保证金率
double shortMarginRatio = 15;- 返回:
- The shortMarginRatio.
-
getMaxMarginSideAlgorithm
boolean getMaxMarginSideAlgorithm()最大单边保证金算法
bool maxMarginSideAlgorithm = 16;- 返回:
- The maxMarginSideAlgorithm.
-
getUnderlyingSymbol
String getUnderlyingSymbol()基础商品代码
string underlyingSymbol = 17;- 返回:
- The underlyingSymbol.
-
getUnderlyingSymbolBytes
com.google.protobuf.ByteString getUnderlyingSymbolBytes()基础商品代码
string underlyingSymbol = 17;- 返回:
- The bytes for underlyingSymbol.
-
getStrikePrice
double getStrikePrice()执行价
double strikePrice = 18;- 返回:
- The strikePrice.
-
getOptionsTypeValue
int getOptionsTypeValue()期权类型
.xyz.redtorch.pb.OptionsTypeEnum optionsType = 19;- 返回:
- The enum numeric value on the wire for optionsType.
-
getOptionsType
CoreEnum.OptionsTypeEnum getOptionsType()期权类型
.xyz.redtorch.pb.OptionsTypeEnum optionsType = 19;- 返回:
- The optionsType.
-
getUnderlyingMultiplier
double getUnderlyingMultiplier()合约基础商品乘数
double underlyingMultiplier = 20;- 返回:
- The underlyingMultiplier.
-
getLastTradeDateOrContractMonth
String getLastTradeDateOrContractMonth()最后交易日或合约月
string lastTradeDateOrContractMonth = 21;- 返回:
- The lastTradeDateOrContractMonth.
-
getLastTradeDateOrContractMonthBytes
com.google.protobuf.ByteString getLastTradeDateOrContractMonthBytes()最后交易日或合约月
string lastTradeDateOrContractMonth = 21;- 返回:
- The bytes for lastTradeDateOrContractMonth.
-
getMaxMarketOrderVolume
int getMaxMarketOrderVolume()市价单最大下单量
fixed32 maxMarketOrderVolume = 22;- 返回:
- The maxMarketOrderVolume.
-
getMinMarketOrderVolume
int getMinMarketOrderVolume()市价单最小下单量
fixed32 minMarketOrderVolume = 23;- 返回:
- The minMarketOrderVolume.
-
getMaxLimitOrderVolume
int getMaxLimitOrderVolume()限价单最大下单量
fixed32 maxLimitOrderVolume = 24;- 返回:
- The maxLimitOrderVolume.
-
getMinLimitOrderVolume
int getMinLimitOrderVolume()限价单最小下单量
fixed32 minLimitOrderVolume = 25;- 返回:
- The minLimitOrderVolume.
-
getCombinationTypeValue
int getCombinationTypeValue()组合类型
.xyz.redtorch.pb.CombinationTypeEnum combinationType = 26;- 返回:
- The enum numeric value on the wire for combinationType.
-
getCombinationType
CoreEnum.CombinationTypeEnum getCombinationType()组合类型
.xyz.redtorch.pb.CombinationTypeEnum combinationType = 26;- 返回:
- The combinationType.
-
getGatewayId
String getGatewayId()网关
string gatewayId = 27;- 返回:
- The gatewayId.
-
getGatewayIdBytes
com.google.protobuf.ByteString getGatewayIdBytes()网关
string gatewayId = 27;- 返回:
- The bytes for gatewayId.
-
getCommissionFee
double getCommissionFee()手续费
double commissionFee = 28;- 返回:
- The commissionFee.
-
getCommissionRate
double getCommissionRate()手续费率
double commissionRate = 29;- 返回:
- The commissionRate.
-
getChannelType
String getChannelType()渠道来源
string channelType = 30;- 返回:
- The channelType.
-
getChannelTypeBytes
com.google.protobuf.ByteString getChannelTypeBytes()渠道来源
string channelType = 30;- 返回:
- The bytes for channelType.
-
getPricePrecision
int getPricePrecision()价格精度
sint32 pricePrecision = 31;- 返回:
- The pricePrecision.
-
getQuantityPrecision
int getQuantityPrecision()成交量精度
sint32 quantityPrecision = 32;- 返回:
- The quantityPrecision.
-