Interface IGetOpenOrdersParams

IGetOpenOrdersParams Interface representing the parameters for querying open orders.

const getOpenOrdersParams: IGetOpenOrdersParams = {
symbol: "PIXFI_IRT",
side: "buy",
state: "active",
type: "limit",
identifier: "order123",
start: new Date("2024-01-01"),
end: new Date("2024-12-31"),
ids_in: ["id1", "id2"],
identifiers_in: ["identifier1", "identifier2"],
offset: 0,
limit: 10
};
interface IGetOpenOrdersParams {
    end?: Date;
    identifier?: string;
    identifiers_in?: string[];
    ids_in?: string[];
    limit?: number;
    offset?: number;
    side?: OrderSide;
    start?: Date;
    state?: OrderState;
    symbol?: `${string}_IRT` | `${string}_USDT`;
    type?: OrderType;
}

Hierarchy (view full)

Properties

end?: Date

Optional end date to filter the orders.

identifier?: string

Optional identifier for the order to filter the orders.

identifiers_in?: string[]

Optional array of order identifiers to filter the orders.

ids_in?: string[]

Optional array of order IDs to filter the orders.

limit?: number

The number of items to return.

offset?: number

The number of items to skip before starting to collect the result set.

side?: OrderSide

Optional side of the order (buy or sell) to filter the orders.

start?: Date

Optional start date to filter the orders.

state?: OrderState

Optional state of the order to filter the orders.

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

Optional symbol of the market to filter the orders.

type?: OrderType

Optional type of the order (e.g., limit, market) to filter the orders.