All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tigerbrokers.stock.openapi.client.socket.data.pb.PositionDataOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: PositionData.proto

package com.tigerbrokers.stock.openapi.client.socket.data.pb;

public interface PositionDataOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.tigerbrokers.stock.openapi.client.socket.data.pb.PositionData)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * user account
   * 
* * string account = 1; * @return The account. */ java.lang.String getAccount(); /** *
   * user account
   * 
* * string account = 1; * @return The bytes for account. */ com.google.protobuf.ByteString getAccountBytes(); /** * string symbol = 2; * @return The symbol. */ java.lang.String getSymbol(); /** * string symbol = 2; * @return The bytes for symbol. */ com.google.protobuf.ByteString getSymbolBytes(); /** *
   * for options
   * 
* * string expiry = 3; * @return The expiry. */ java.lang.String getExpiry(); /** *
   * for options
   * 
* * string expiry = 3; * @return The bytes for expiry. */ com.google.protobuf.ByteString getExpiryBytes(); /** *
   * for options
   * 
* * string strike = 4; * @return The strike. */ java.lang.String getStrike(); /** *
   * for options
   * 
* * string strike = 4; * @return The bytes for strike. */ com.google.protobuf.ByteString getStrikeBytes(); /** *
   * for options
   * 
* * string right = 5; * @return The right. */ java.lang.String getRight(); /** *
   * for options
   * 
* * string right = 5; * @return The bytes for right. */ com.google.protobuf.ByteString getRightBytes(); /** * string identifier = 6; * @return The identifier. */ java.lang.String getIdentifier(); /** * string identifier = 6; * @return The bytes for identifier. */ com.google.protobuf.ByteString getIdentifierBytes(); /** *
   * multiplier for futures, options, warrants and CBBC
   * 
* * uint32 multiplier = 7; * @return The multiplier. */ int getMultiplier(); /** *
   * market. US, HK, etc.
   * 
* * string market = 8; * @return The market. */ java.lang.String getMarket(); /** *
   * market. US, HK, etc.
   * 
* * string market = 8; * @return The bytes for market. */ com.google.protobuf.ByteString getMarketBytes(); /** *
   * currency. USD, HKD, etc.
   * 
* * string currency = 9; * @return The currency. */ java.lang.String getCurrency(); /** *
   * currency. USD, HKD, etc.
   * 
* * string currency = 9; * @return The bytes for currency. */ com.google.protobuf.ByteString getCurrencyBytes(); /** *
   * Securities Category C: (Commodities Futures), S: (Securities Stocks)
   * 
* * string segType = 10; * @return The segType. */ java.lang.String getSegType(); /** *
   * Securities Category C: (Commodities Futures), S: (Securities Stocks)
   * 
* * string segType = 10; * @return The bytes for segType. */ com.google.protobuf.ByteString getSegTypeBytes(); /** *
   * STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
   * 
* * string secType = 11; * @return The secType. */ java.lang.String getSecType(); /** *
   * STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
   * 
* * string secType = 11; * @return The bytes for secType. */ com.google.protobuf.ByteString getSecTypeBytes(); /** *
   * total position
   * 
* * sint64 position = 12; * @return The position. */ long getPosition(); /** *
   * total position scale
   * 
* * sint32 positionScale = 13; * @return The positionScale. */ int getPositionScale(); /** *
   * average holding cost
   * 
* * double averageCost = 14; * @return The averageCost. */ double getAverageCost(); /** *
   * last price of the asset
   * 
* * double latestPrice = 15; * @return The latestPrice. */ double getLatestPrice(); /** *
   * market value of the asset
   * 
* * double marketValue = 16; * @return The marketValue. */ double getMarketValue(); /** *
   * unrealized profit and loss
   * 
* * double unrealizedPnl = 17; * @return The unrealizedPnl. */ double getUnrealizedPnl(); /** *
   * symbol name
   * 
* * string name = 18; * @return The name. */ java.lang.String getName(); /** *
   * symbol name
   * 
* * string name = 18; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * uint64 timestamp = 19; * @return The timestamp. */ long getTimestamp(); /** *
   * saleable quantity for Chinese A-share market stocks
   * 
* * optional sint64 saleable = 20; * @return Whether the saleable field is set. */ boolean hasSaleable(); /** *
   * saleable quantity for Chinese A-share market stocks
   * 
* * optional sint64 saleable = 20; * @return The saleable. */ long getSaleable(); /** *
   * total position quantity
   * 
* * double positionQty = 21; * @return The positionQty. */ double getPositionQty(); /** *
   * saleable quantity
   * 
* * double salableQty = 22; * @return The salableQty. */ double getSalableQty(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy