程序包 xyz.redtorch.pb

接口 CoreField.ContractFieldOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
CoreField.ContractField, CoreField.ContractField.Builder
封闭类:
CoreField

public static interface CoreField.ContractFieldOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • 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.