Interface PlaceOrderParams

Defines the parameters for placing an order on the Wallex.ir exchange.

interface PlaceOrderParams {
    clientID?: string;
    price?: number;
    quantity: number;
    side: OrderSide;
    symbol: string;
    type: OrderType;
}

Properties

clientID?: string

An optional client-generated identifier for the order.

price?: number

The price at which the order should be executed (required for limit orders).

quantity: number

The quantity of the asset to be traded.

side: OrderSide

The side of the order (e.g., "buy", "sell").

symbol: string

The symbol (e.g., BTC/USD) for the trading pair.

type: OrderType

The type of order (e.g., "limit", "market").

Generated using TypeDoc