Prefer open direction from ATM vs spot (below=Call/short, above=Put/long).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-25 12:39:23 +08:00
parent ee0ec57f89
commit 79c074ec6c
6 changed files with 110 additions and 25 deletions
+2 -2
View File
@@ -94,9 +94,9 @@ export default function PlanPage() {
const bias = snap?.ask_compare?.bias;
const biasTag =
bias === "call_ask_gt_put" ? (
bias === "strike_below_spot" || bias === "call_ask_gt_put" ? (
<span className="tag up"> Call + </span>
) : bias === "put_ask_gt_call" ? (
) : bias === "strike_above_spot" || bias === "put_ask_gt_call" ? (
<span className="tag down"> Put + </span>
) : (
<span className="tag"> / </span>