feat: v53fast frontend - orange banner, OBI/accel indicators, distinct from v53
This commit is contained in:
parent
c8416b4916
commit
84d8535066
@ -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 />
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user