Treat option-option amplitude as a maximum cap.

Reject opens when range exceeds the setting; update UI and docs labels.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-07 16:35:39 +08:00
parent 7d21bc26c7
commit eaf94448a2
9 changed files with 78 additions and 20 deletions
+2
View File
@@ -211,6 +211,8 @@ export type MarketSnapshot = {
mid?: number;
range_pct?: number;
hours?: number;
max_pct?: number;
/** @deprecated 兼容旧字段,等同 max_pct */
min_pct?: number;
ok?: boolean;
} | null;