程序包 xyz.redtorch.pb

接口 CoreField.AccountFieldOrBuilder

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

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

    • getAccountId

      String getAccountId()
       ID,通常是 <账户代码@网关>
       
      string accountId = 1;
      返回:
      The accountId.
    • getAccountIdBytes

      com.google.protobuf.ByteString getAccountIdBytes()
       ID,通常是 <账户代码@网关>
       
      string accountId = 1;
      返回:
      The bytes for accountId.
    • getCode

      String getCode()
       代码
       
      string code = 2;
      返回:
      The code.
    • getCodeBytes

      com.google.protobuf.ByteString getCodeBytes()
       代码
       
      string code = 2;
      返回:
      The bytes for code.
    • getName

      String getName()
       名称
       
      string name = 3;
      返回:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       名称
       
      string name = 3;
      返回:
      The bytes for name.
    • getHolder

      String getHolder()
       持有人
       
      string holder = 4;
      返回:
      The holder.
    • getHolderBytes

      com.google.protobuf.ByteString getHolderBytes()
       持有人
       
      string holder = 4;
      返回:
      The bytes for holder.
    • getCurrencyValue

      int getCurrencyValue()
       币种
       
      .xyz.redtorch.pb.CurrencyEnum currency = 5;
      返回:
      The enum numeric value on the wire for currency.
    • getCurrency

      CoreEnum.CurrencyEnum getCurrency()
       币种
       
      .xyz.redtorch.pb.CurrencyEnum currency = 5;
      返回:
      The currency.
    • getPreBalance

      double getPreBalance()
       昨日权益
       
      double preBalance = 6;
      返回:
      The preBalance.
    • getBalance

      double getBalance()
       权益
       
      double balance = 7;
      返回:
      The balance.
    • getAvailable

      double getAvailable()
       可用资金
       
      double available = 8;
      返回:
      The available.
    • getCommission

      double getCommission()
       手续费
       
      double commission = 9;
      返回:
      The commission.
    • getMargin

      double getMargin()
       保证金占用
       
      double margin = 10;
      返回:
      The margin.
    • getCloseProfit

      double getCloseProfit()
       平仓盈亏
       
      double closeProfit = 11;
      返回:
      The closeProfit.
    • getPositionProfit

      double getPositionProfit()
       持仓盈亏
       
      double positionProfit = 12;
      返回:
      The positionProfit.
    • getDeposit

      double getDeposit()
       入金
       
      double deposit = 13;
      返回:
      The deposit.
    • getWithdraw

      double getWithdraw()
       出金
       
      double withdraw = 14;
      返回:
      The withdraw.
    • getGatewayId

      String getGatewayId()
       网关ID
       
      string gatewayId = 15;
      返回:
      The gatewayId.
    • getGatewayIdBytes

      com.google.protobuf.ByteString getGatewayIdBytes()
       网关ID
       
      string gatewayId = 15;
      返回:
      The bytes for gatewayId.