mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
feat: add 'canceled-reduce-only' status to TERMINAL_ORDER_STATUSES in LighterGateway for comprehensive order status management
This commit is contained in:
@@ -133,7 +133,14 @@ const RESOLUTION_MS: Record<string, number> = {
|
||||
"1d": 86_400_000,
|
||||
};
|
||||
|
||||
const TERMINAL_ORDER_STATUSES = new Set(["filled", "canceled", "cancelled", "expired", "canceled-post-only"]);
|
||||
const TERMINAL_ORDER_STATUSES = new Set([
|
||||
"filled",
|
||||
"canceled",
|
||||
"cancelled",
|
||||
"expired",
|
||||
"canceled-post-only",
|
||||
"canceled-reduce-only",
|
||||
]);
|
||||
|
||||
export interface LighterGatewayOptions {
|
||||
symbol: string; // display symbol used by strategy logging
|
||||
|
||||
Reference in New Issue
Block a user