Show open-capacity labels, enlarge funds, move rules; WeCom on short funds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-29 17:53:43 +08:00
parent 6081fb7e48
commit 80c561bdce
7 changed files with 399 additions and 31 deletions
+12
View File
@@ -233,6 +233,18 @@ export type PlanState = {
atm_open_offset_enabled?: boolean;
max_atm_open_offset?: number;
can_open: boolean;
open_capacity?: {
leverage?: number;
perp_can_open?: boolean | null;
option_can_open?: boolean | null;
perp_label?: string;
option_label?: string;
funds_ok?: boolean;
perp_need_usdt?: number | null;
option_need_usdc?: number | null;
perp_have_usdt?: number | null;
option_have_usdc?: number | null;
};
last_error: string | null;
show_manual_trade_buttons?: boolean;
position: {