public interface OrderStatusDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAccount()
user account
string account = 2; |
com.google.protobuf.ByteString |
getAccountBytes()
user account
string account = 2; |
String |
getAction()
BUY or SELL
string action = 9; |
com.google.protobuf.ByteString |
getActionBytes()
BUY or SELL
string action = 9; |
String |
getAttrDesc()
order description
string attrDesc = 34; |
com.google.protobuf.ByteString |
getAttrDescBytes()
order description
string attrDesc = 34; |
double |
getAvgFillPrice()
average price at which the orders got filled
double avgFillPrice = 20; |
boolean |
getCanCancel()
bool canCancel = 29; |
String |
getCancelStatus()
order cancel status
string cancelStatus = 26; |
com.google.protobuf.ByteString |
getCancelStatusBytes()
order cancel status
string cancelStatus = 26; |
boolean |
getCanModify()
bool canModify = 28; |
float |
getCommissionAndFee()
commission and fee
float commissionAndFee = 35; |
String |
getCurrency()
currency.
|
com.google.protobuf.ByteString |
getCurrencyBytes()
currency.
|
String |
getErrorMsg()
error message
string errorMsg = 33; |
com.google.protobuf.ByteString |
getErrorMsgBytes()
error message
string errorMsg = 33; |
String |
getExpiry()
for options, formate:yyyyMMdd
string expiry = 4; |
com.google.protobuf.ByteString |
getExpiryBytes()
for options, formate:yyyyMMdd
string expiry = 4; |
double |
getFilledCashAmount()
double filledCashAmount = 40; |
long |
getFilledQuantity()
filled quantity
sint64 filledQuantity = 18; |
int |
getFilledQuantityScale()
filled quantity scale
sint32 filledQuantityScale = 19; |
long |
getId()
unique order id
sint64 id = 1; |
String |
getIdentifier()
string identifier = 7; |
com.google.protobuf.ByteString |
getIdentifierBytes()
string identifier = 7; |
boolean |
getIsLong()
bool isLong = 15; |
double |
getLimitPrice()
limit price(required when orderType is 'LMT')
double limitPrice = 21; |
boolean |
getLiquidation()
bool liquidation = 30; |
String |
getMarket()
market.
|
com.google.protobuf.ByteString |
getMarketBytes()
market.
|
int |
getMultiplier()
multiplier for futures, options, warrants and CBBC
uint32 multiplier = 8; |
String |
getName()
symbol name
string name = 31; |
com.google.protobuf.ByteString |
getNameBytes()
symbol name
string name = 31; |
long |
getOpenTime()
timestamp when the order is placed
uint64 openTime = 36; |
String |
getOrderType()
order type
string orderType = 14; |
com.google.protobuf.ByteString |
getOrderTypeBytes()
order type
string orderType = 14; |
boolean |
getOutsideRth()
if trade outside regular trading hours (only applicable to U.S. market)
bool outsideRth = 27; |
double |
getRealizedPnl()
realized profit and loss
double realizedPnl = 23; |
String |
getReplaceStatus()
order replace status
string replaceStatus = 25; |
com.google.protobuf.ByteString |
getReplaceStatusBytes()
order replace status
string replaceStatus = 25; |
String |
getRight()
for options
string right = 6; |
com.google.protobuf.ByteString |
getRightBytes()
for options
string right = 6; |
String |
getSecType()
STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
string secType = 13; |
com.google.protobuf.ByteString |
getSecTypeBytes()
STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
string secType = 13; |
String |
getSegType()
Securities Category C: (Commodities Futures), S: (Securities Stocks)
string segType = 12; |
com.google.protobuf.ByteString |
getSegTypeBytes()
Securities Category C: (Commodities Futures), S: (Securities Stocks)
string segType = 12; |
String |
getSource()
order source(from 'OpenApi', or not)
string source = 32; |
com.google.protobuf.ByteString |
getSourceBytes()
order source(from 'OpenApi', or not)
string source = 32; |
String |
getStatus()
order status
string status = 24; |
com.google.protobuf.ByteString |
getStatusBytes()
order status
string status = 24; |
double |
getStopPrice()
stop price(required when orderType is 'STP')
double stopPrice = 22; |
String |
getStrike()
for options
string strike = 5; |
com.google.protobuf.ByteString |
getStrikeBytes()
for options
string strike = 5; |
String |
getSymbol()
string symbol = 3; |
com.google.protobuf.ByteString |
getSymbolBytes()
string symbol = 3; |
long |
getTimestamp()
uint64 timestamp = 37; |
double |
getTotalCashAmount()
double totalCashAmount = 39; |
long |
getTotalQuantity()
total quantity
sint64 totalQuantity = 16; |
int |
getTotalQuantityScale()
total quantity scale
sint32 totalQuantityScale = 17; |
String |
getUserMark()
string userMark = 38; |
com.google.protobuf.ByteString |
getUserMarkBytes()
string userMark = 38; |
long getId()
unique order id
sint64 id = 1;String getAccount()
user account
string account = 2;com.google.protobuf.ByteString getAccountBytes()
user account
string account = 2;String getSymbol()
string symbol = 3;com.google.protobuf.ByteString getSymbolBytes()
string symbol = 3;String getExpiry()
for options, formate:yyyyMMdd
string expiry = 4;com.google.protobuf.ByteString getExpiryBytes()
for options, formate:yyyyMMdd
string expiry = 4;String getStrike()
for options
string strike = 5;com.google.protobuf.ByteString getStrikeBytes()
for options
string strike = 5;String getRight()
for options
string right = 6;com.google.protobuf.ByteString getRightBytes()
for options
string right = 6;String getIdentifier()
string identifier = 7;com.google.protobuf.ByteString getIdentifierBytes()
string identifier = 7;int getMultiplier()
multiplier for futures, options, warrants and CBBC
uint32 multiplier = 8;String getAction()
BUY or SELL
string action = 9;com.google.protobuf.ByteString getActionBytes()
BUY or SELL
string action = 9;String getMarket()
market. US, HK, etc.
string market = 10;com.google.protobuf.ByteString getMarketBytes()
market. US, HK, etc.
string market = 10;String getCurrency()
currency. USD, HKD, etc.
string currency = 11;com.google.protobuf.ByteString getCurrencyBytes()
currency. USD, HKD, etc.
string currency = 11;String getSegType()
Securities Category C: (Commodities Futures), S: (Securities Stocks)
string segType = 12;com.google.protobuf.ByteString getSegTypeBytes()
Securities Category C: (Commodities Futures), S: (Securities Stocks)
string segType = 12;String getSecType()
STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
string secType = 13;com.google.protobuf.ByteString getSecTypeBytes()
STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
string secType = 13;String getOrderType()
order type
string orderType = 14;com.google.protobuf.ByteString getOrderTypeBytes()
order type
string orderType = 14;boolean getIsLong()
bool isLong = 15;long getTotalQuantity()
total quantity
sint64 totalQuantity = 16;int getTotalQuantityScale()
total quantity scale
sint32 totalQuantityScale = 17;long getFilledQuantity()
filled quantity
sint64 filledQuantity = 18;int getFilledQuantityScale()
filled quantity scale
sint32 filledQuantityScale = 19;double getAvgFillPrice()
average price at which the orders got filled
double avgFillPrice = 20;double getLimitPrice()
limit price(required when orderType is 'LMT')
double limitPrice = 21;double getStopPrice()
stop price(required when orderType is 'STP')
double stopPrice = 22;double getRealizedPnl()
realized profit and loss
double realizedPnl = 23;String getStatus()
order status
string status = 24;com.google.protobuf.ByteString getStatusBytes()
order status
string status = 24;String getReplaceStatus()
order replace status
string replaceStatus = 25;com.google.protobuf.ByteString getReplaceStatusBytes()
order replace status
string replaceStatus = 25;String getCancelStatus()
order cancel status
string cancelStatus = 26;com.google.protobuf.ByteString getCancelStatusBytes()
order cancel status
string cancelStatus = 26;boolean getOutsideRth()
if trade outside regular trading hours (only applicable to U.S. market)
bool outsideRth = 27;boolean getCanModify()
bool canModify = 28;boolean getCanCancel()
bool canCancel = 29;boolean getLiquidation()
bool liquidation = 30;String getName()
symbol name
string name = 31;com.google.protobuf.ByteString getNameBytes()
symbol name
string name = 31;String getSource()
order source(from 'OpenApi', or not)
string source = 32;com.google.protobuf.ByteString getSourceBytes()
order source(from 'OpenApi', or not)
string source = 32;String getErrorMsg()
error message
string errorMsg = 33;com.google.protobuf.ByteString getErrorMsgBytes()
error message
string errorMsg = 33;String getAttrDesc()
order description
string attrDesc = 34;com.google.protobuf.ByteString getAttrDescBytes()
order description
string attrDesc = 34;float getCommissionAndFee()
commission and fee
float commissionAndFee = 35;long getOpenTime()
timestamp when the order is placed
uint64 openTime = 36;long getTimestamp()
uint64 timestamp = 37;String getUserMark()
string userMark = 38;com.google.protobuf.ByteString getUserMarkBytes()
string userMark = 38;double getTotalCashAmount()
double totalCashAmount = 39;double getFilledCashAmount()
double filledCashAmount = 40;Copyright © 2024. All rights reserved.