TradeOrder

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

Types

Link copied to clipboard
class Builder
Message for Trade order
Protobuf type TW.Binance.Proto.TradeOrder

Functions

Link copied to clipboard
open fun getDefaultInstance(): TradeOrder
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
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): TradeOrder
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TradeOrder
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): TradeOrder
open fun parseFrom(data: ByteString): TradeOrder
open fun parseFrom(input: CodedInputStream): TradeOrder
open fun parseFrom(input: InputStream): TradeOrder
open fun parseFrom(data: ByteBuffer): TradeOrder
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): TradeOrder
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): TradeOrder
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): TradeOrder
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TradeOrder
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): TradeOrder
Link copied to clipboard
open fun parser(): Parser<TradeOrder>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard