Builder

class Builder
Message for Trade order
Protobuf type TW.Binance.Proto.TradeOrder

Functions

Link copied to clipboard
order id, optional
string id = 2;
Link copied to clipboard
only accept 2 for now, meaning limit order
int64 ordertype = 4;
Link copied to clipboard
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
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
originating address
bytes sender = 1;
Link copied to clipboard
1 for buy and 2 for sell
int64 side = 5;
Link copied to clipboard
symbol for trading pair in full name of the tokens
string symbol = 3;
Link copied to clipboard
1 for Good Till Expire(GTE) order and 3 for Immediate Or Cancel (IOC)
int64 timeinforce = 8;
Link copied to clipboard
open fun getId(): String
order id, optional
string id = 2;
Link copied to clipboard
open fun getIdBytes(): ByteString
order id, optional
string id = 2;
Link copied to clipboard
open fun getOrdertype(): Long
only accept 2 for now, meaning limit order
int64 ordertype = 4;
Link copied to clipboard
open 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
open 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
open fun getSender(): ByteString
originating address
bytes sender = 1;
Link copied to clipboard
open fun getSide(): Long
1 for buy and 2 for sell
int64 side = 5;
Link copied to clipboard
open fun getSymbol(): String
symbol for trading pair in full name of the tokens
string symbol = 3;
Link copied to clipboard
open fun getSymbolBytes(): ByteString
symbol for trading pair in full name of the tokens
string symbol = 3;
Link copied to clipboard
open fun getTimeinforce(): Long
1 for Good Till Expire(GTE) order and 3 for Immediate Or Cancel (IOC)
int64 timeinforce = 8;
Link copied to clipboard
order id, optional
string id = 2;
Link copied to clipboard
open fun setIdBytes(value: ByteString): Binance.TradeOrder.Builder
order id, optional
string id = 2;
Link copied to clipboard
only accept 2 for now, meaning limit order
int64 ordertype = 4;
Link copied to clipboard
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
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
open fun setSender(value: ByteString): Binance.TradeOrder.Builder
originating address
bytes sender = 1;
Link copied to clipboard
1 for buy and 2 for sell
int64 side = 5;
Link copied to clipboard
symbol for trading pair in full name of the tokens
string symbol = 3;
Link copied to clipboard
open fun setSymbolBytes(value: ByteString): Binance.TradeOrder.Builder
symbol for trading pair in full name of the tokens
string symbol = 3;
Link copied to clipboard
1 for Good Till Expire(GTE) order and 3 for Immediate Or Cancel (IOC)
int64 timeinforce = 8;