Interface ICreateLimitOrderParams

ICreateLimitOrderParams Interface representing the parameters for creating a limit order.

const createLimitOrderParams: ICreateLimitOrderParams = {
symbol: 'BTC_USDT',
type: OrderType.LIMIT,
side: OrderSide.BUY,
base_amount: 1,
price: 50000,
}
interface ICreateLimitOrderParams {
    base_amount: number;
    price: number;
    side: OrderSide;
    symbol: `${string}_IRT` | `${string}_USDT`;
    type: "limit";
}

Hierarchy (view full)

Properties

base_amount: number

The base amount for the order.

price: number

The price value.

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 (limit).