Fix semi open stalls: one-leg asks, OTM realign, clearer pick errors.
Monitor no longer shows ATM Put bias while semi-auto is authorized for Call. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -489,6 +489,14 @@ export default function PlanPage() {
|
||||
// 持仓中展示本组成交方向,勿用监控 ATM 的实时盘口信号(会漂)
|
||||
const heldOpt = String(pos?.option_side || "").toLowerCase();
|
||||
const heldPerp = String(pos?.perp_side || "").toLowerCase();
|
||||
|
||||
const isOo =
|
||||
plan?.hedge_mode === "option_option" ||
|
||||
snap?.hedge_mode === "option_option" ||
|
||||
pos?.hedge_mode === "option_option" ||
|
||||
!!pos?.option2_inst_id;
|
||||
const semiOn = !!plan?.semi_auto_enabled && !isOo;
|
||||
// 半自动:信号=人工看法,勿展示 ATM 盘口比价(会显示成 Put 造成误会)
|
||||
const biasTag = open ? (
|
||||
heldOpt === "call" || heldPerp === "short" ? (
|
||||
<span className="tag up">买 Call + 永续空</span>
|
||||
@@ -497,6 +505,13 @@ export default function PlanPage() {
|
||||
) : (
|
||||
<span className="tag">持仓中</span>
|
||||
)
|
||||
) : semiOn ? (
|
||||
(semiDirty ? semiView : plan?.semi_view_side === "short" ? "short" : "long") ===
|
||||
"short" ? (
|
||||
<span className="tag down">半自动空 · Put + 永续多</span>
|
||||
) : (
|
||||
<span className="tag up">半自动多 · Call + 永续空</span>
|
||||
)
|
||||
) : bias === "strike_below_spot" ||
|
||||
bias === "call_ask_gt_put" ||
|
||||
bias === "fixed_short_call" ? (
|
||||
@@ -508,13 +523,6 @@ export default function PlanPage() {
|
||||
) : (
|
||||
<span className="tag">等待 / 相等</span>
|
||||
);
|
||||
|
||||
const isOo =
|
||||
plan?.hedge_mode === "option_option" ||
|
||||
snap?.hedge_mode === "option_option" ||
|
||||
pos?.hedge_mode === "option_option" ||
|
||||
!!pos?.option2_inst_id;
|
||||
const semiOn = !!plan?.semi_auto_enabled && !isOo;
|
||||
const showAmpCard = plan?.oo_amplitude_filter_enabled === true;
|
||||
|
||||
// 看法 / 最短小时变化时立刻刷新报价链(小时输入防抖)
|
||||
|
||||
Reference in New Issue
Block a user