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