diff --git a/frontend/components/dashboard/PanelSections.tsx b/frontend/components/dashboard/PanelSections.tsx index d14e0e52..9ae7a446 100644 --- a/frontend/components/dashboard/PanelSections.tsx +++ b/frontend/components/dashboard/PanelSections.tsx @@ -742,6 +742,12 @@ export function ProbabilityDistribution({ : locale === "en-US" ? "YES" : "YES"; + const yesDisplayPrice = linkedMarketBucket ? linkedMarketAsk : yesPriceView?.ask; + const noDisplayPrice = linkedMarketBucket ? linkedNoAsk : noPriceView?.ask; + const yesDisplayEdge = linkedMarketBucket + ? linkedMarketEdge + : yesPriceView?.edge; + const noDisplayEdge = linkedMarketBucket ? linkedNoEdge : noPriceView?.edge; const hasPriceAnalysis = isToday && (Boolean(priceAnalysis?.available) || @@ -794,11 +800,11 @@ export function ProbabilityDistribution({ const actionNote = actionableEdge != null && actionableEdge >= 0.02 ? locale === "en-US" - ? "model above ask" - : "模型高于买价" + ? `${formatSignedPercent(actionableEdge)} vs ask` + : `相对买价 ${formatSignedPercent(actionableEdge)}` : locale === "en-US" - ? "read-only signal" - : "只读信号"; + ? `${preferredSideLabel} ${formatSignedPercent(actionableEdge)}` + : `${preferredSideLabel} ${formatSignedPercent(actionableEdge)}`; return (
@@ -884,25 +890,21 @@ export function ProbabilityDistribution({ {actionNote}
- {locale === "en-US" ? "Buy price" : "买入价格"} - {toPriceCents(preferredPriceView?.ask) || "--"} + {locale === "en-US" ? "YES price" : "YES 价格"} + {toPriceCents(yesDisplayPrice) || "--"} - {linkedMarketBucket - ? locale === "en-US" - ? "matched bucket" - : "已匹配桶" - : marketScan?.available - ? locale === "en-US" - ? "primary market" - : "主盘口" - : marketScan?.reason || "--"} + {locale === "en-US" + ? `edge ${formatSignedPercent(yesDisplayEdge)}` + : `优势 ${formatSignedPercent(yesDisplayEdge)}`}
- {locale === "en-US" ? "Model edge" : "模型优势"} - {formatSignedPercent(preferredPriceView?.edge)} + {locale === "en-US" ? "NO price" : "NO 价格"} + {toPriceCents(noDisplayPrice) || "--"} - {quoteSourceLabel} + {locale === "en-US" + ? `edge ${formatSignedPercent(noDisplayEdge)}` + : `优势 ${formatSignedPercent(noDisplayEdge)}`}