feat: v53fast frontend - orange banner, OBI/accel indicators, distinct from v53

This commit is contained in:
root 2026-03-04 01:53:36 +00:00
parent c8416b4916
commit 84d8535066
2 changed files with 30 additions and 6 deletions

View File

@ -375,9 +375,18 @@ export default function PaperTradingV53Page() {
);
return (
<div className="space-y-3">
{/* Fast 实验版标识条 */}
<div className="rounded-lg bg-gradient-to-r from-orange-500 to-amber-400 px-3 py-1.5 flex items-center justify-between">
<span className="text-white text-xs font-bold">🚀 V5.3 Fast A/B对照</span>
<div className="flex gap-2 text-white text-[10px] font-medium">
<span className="bg-white/20 px-2 py-0.5 rounded">CVD 5m/30m</span>
<span className="bg-white/20 px-2 py-0.5 rounded">OBI+</span>
<span className="bg-white/20 px-2 py-0.5 rounded">accel独立触发</span>
</div>
</div>
<div>
<h1 className="text-lg font-bold text-slate-900">📈 V5.3 Fast</h1>
<p className="text-[10px] text-slate-500"> v53_fast · BTC/ETH/XRP/SOL · 55/25/15/5 + per-symbol </p>
<h1 className="text-lg font-bold text-slate-900">🚀 V5.3 Fast</h1>
<p className="text-[10px] text-slate-500"> v53_fast · BTC/ETH/XRP/SOL · CVD 5m/30m · OBI正向加分 · V5.3 </p>
</div>
<ControlPanel />
<SummaryCards />

View File

@ -42,9 +42,9 @@ interface LatestIndicator {
tier?: "light" | "standard" | "heavy" | null;
factors?: {
track?: string;
direction?: { score?: number; max?: number; cvd_resonance?: number; p99_flow?: number; accel_bonus?: number };
direction?: { score?: number; max?: number; cvd_resonance?: number; p99_flow?: number; accel_bonus?: number; accel_independent_score?: number };
crowding?: { score?: number; max?: number; lsr_contrarian?: number; top_trader_position?: number };
environment?: { score?: number; max?: number };
environment?: { score?: number; max?: number; obi_bonus?: number; oi_base?: number };
auxiliary?: { score?: number; max?: number; coinbase_premium?: number };
// BTC gate fields
gate_passed?: boolean;
@ -328,8 +328,14 @@ function IndicatorCards({ symbol }: { symbol: Symbol }) {
{/* 四层分数 — ALT和BTC都显示 */}
<div className="mt-2 space-y-1">
<LayerScore label="方向" score={data.factors?.direction?.score ?? 0} max={55} colorClass="bg-blue-600" />
{data.factors?.direction?.accel_independent_score != null && data.factors.direction.accel_independent_score > 0 && (
<p className="text-[9px] text-orange-600 pl-1"> accel独立触发 +{data.factors.direction.accel_independent_score}</p>
)}
<LayerScore label="拥挤" score={data.factors?.crowding?.score ?? 0} max={25} colorClass="bg-violet-600" />
<LayerScore label="环境" score={data.factors?.environment?.score ?? 0} max={15} colorClass="bg-emerald-600" />
{(data.factors?.environment?.obi_bonus ?? 0) > 0 && (
<p className="text-[9px] text-cyan-600 pl-1">📊 OBI正向 +{data.factors?.environment?.obi_bonus}</p>
)}
<LayerScore label="辅助" score={data.factors?.auxiliary?.score ?? 0} max={5} colorClass="bg-slate-500" />
</div>
</div>
@ -491,11 +497,20 @@ export default function SignalsV53Page() {
return (
<div className="space-y-3">
{/* Fast 实验版标识条 */}
<div className="rounded-lg bg-gradient-to-r from-orange-500 to-amber-400 px-3 py-1.5 flex items-center justify-between">
<span className="text-white text-xs font-bold">🚀 V5.3 Fast A/B对照</span>
<div className="flex gap-2 text-white text-[10px] font-medium">
<span className="bg-white/20 px-2 py-0.5 rounded">CVD 5m/30m</span>
<span className="bg-white/20 px-2 py-0.5 rounded">OBI+</span>
<span className="bg-white/20 px-2 py-0.5 rounded">accel独立触发</span>
</div>
</div>
<div className="flex items-center justify-between flex-wrap gap-2">
<div>
<h1 className="text-lg font-bold text-slate-900"> V5.3</h1>
<h1 className="text-lg font-bold text-slate-900">🚀 V5.3 Fast</h1>
<p className="text-slate-500 text-[10px]">
55/25/15/5 · ALT双轨 + BTC gate-control ·
CVD 5m/30m · OBI正向加分 · accel独立触发 · ·
{symbol === "BTC" ? " 🔵 BTC轨gate-control" : " 🟣 ALT轨ETH/XRP/SOL"}
</p>
</div>