Interface ICreateStopLimitOrderParams

ICreateStopLimitOrderParams Interface representing the parameters for creating a stop limit order.

const createStopLimitOrderParams: ICreateStopLimitOrderParams = {
symbol: 'BTC_USDT',
type: OrderType.STOP_LIMIT,
side: OrderSide.BUY,
base_amount: 1,
price: 50000,
stop_price: 49000,
}
interface ICreateStopLimitOrderParams {
    base_amount: number;
    price: number;
    side: OrderSide;
    stop_price: number;
    symbol: `${string}_IRT` | `${string}_USDT`;
    type: "stop_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).

stop_price: number

The stop price value.

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

The symbol for the order.

type

The type of the order (stop limit).