Interface ICreateMarketOrderParams

ICreateMarketOrderParams Interface representing the parameters for creating a market order.

const createMarketOrderParams: ICreateMarketOrderParams = {
symbol: 'BTC_USDT',
type: OrderType.MARKET,
side: OrderSide.BUY,
base_amount: 1,
}
interface ICreateMarketOrderParams {
    base_amount: number;
    side: OrderSide;
    symbol: `${string}_IRT` | `${string}_USDT`;
    type: "market";
}

Hierarchy (view full)

Properties

base_amount: number

The base amount for the order.

side: OrderSide

The side of the order (buy/sell).

symbol: `${string}_IRT` | `${string}_USDT`

The symbol for the order.

type

The type of the order (market).