TradeOrderOrBuilder

Functions

Link copied to clipboard
abstract fun getId(): String
order id, optional
string id = 2;
Link copied to clipboard
abstract fun getIdBytes(): ByteString
order id, optional
string id = 2;
Link copied to clipboard
abstract fun getOrdertype(): Long
only accept 2 for now, meaning limit order
int64 ordertype = 4;
Link copied to clipboard
abstract fun getPrice(): Long
price of the order, which is the real price multiplied by 1e8 (10^8) and rounded to integer
int64 price = 6;
Link copied to clipboard
abstract fun getQuantity(): Long
quantity of the order, which is the real price multiplied by 1e8 (10^8) and rounded to integer
int64 quantity = 7;
Link copied to clipboard
abstract fun getSender(): ByteString
originating address
bytes sender = 1;
Link copied to clipboard
abstract fun getSide(): Long
1 for buy and 2 for sell
int64 side = 5;
Link copied to clipboard
abstract fun getSymbol(): String
symbol for trading pair in full name of the tokens
string symbol = 3;
Link copied to clipboard
abstract fun getSymbolBytes(): ByteString
symbol for trading pair in full name of the tokens
string symbol = 3;
Link copied to clipboard
abstract fun getTimeinforce(): Long
1 for Good Till Expire(GTE) order and 3 for Immediate Or Cancel (IOC)
int64 timeinforce = 8;

Inheritors

Link copied to clipboard