Align OO Call/Put position cards with per-leg mark, size, leverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-07 17:25:03 +08:00
parent e7115e396a
commit 0ac03cc726
4 changed files with 417 additions and 211 deletions
+6
View File
@@ -320,10 +320,16 @@ export type PlanState = {
premium_gap?: number;
hedge_mode?: string;
option2_inst_id?: string;
option2_side?: string;
option2_upl?: number;
option2_entry_px?: number;
option2_qty_eth?: number;
option2_qty_contracts?: number;
option2_mark_px?: number | null;
option2_bid_sz?: number | null;
option2_leverage?: number | null;
strike2?: number | null;
initial_premium2?: number;
};
residuals?: {
group_id: string;