Interface ITrade

ITrade Interface representing a trade.

const trade: ITrade = {
id: "73802972_73807087",
price: "1019000000",
base_amount: "0.01086870",
quote_amount: "11075213",
side: "sell"
};
interface ITrade {
    base_amount: `${number}`;
    id: `${number}_${number}`;
    price: `${number}`;
    quote_amount: `${number}`;
    side: OrderSide;
}

Properties

base_amount: `${number}`

The amount of the base currency traded.

id: `${number}_${number}`

The unique identifier of the trade, formatted as two numbers separated by an underscore.

price: `${number}`

The price at which the trade was executed.

quote_amount: `${number}`

The amount of the quote currency traded.

side: OrderSide

The side of the trade, either 'buy' or 'sell'.