Params: {
deadline?: string;
orders: {
cl_ord_id?: string;
close?: {
ordertype?:
| "limit"
| "stop-loss"
| "take-profit"
| "stop-loss-limit"
| "take-profit-limit"
| "trailing-stop"
| "trailing-stop-limit";
price?: string;
price2?: string;
};
displayvol?: string;
expiretm?: string;
leverage?: string;
oflags?: string;
ordertype:
| "market"
| "limit"
| "stop-loss"
| "take-profit"
| "stop-loss-limit"
| "take-profit-limit"
| "settle-position";
price?: string;
price2?: string;
reduce_only?: boolean;
starttm?: string;
stptype?: "cancel-newest" | "cancel-oldest" | "cancel-both";
timeinforce?: "GTC" | "IOC" | "GTD";
trigger?: "last" | "index";
type: "buy" | "sell";
userref?: number;
volume: string;
}[];
pair: string;
validate?: boolean;
}
Reference: Add Order Batch