feat: new cockpit
This commit is contained in:
@@ -897,9 +897,6 @@ export default function Dashboard() {
|
|||||||
const rank = h.iv_rank
|
const rank = h.iv_rank
|
||||||
const skewPct = h.skew?.skew_pct
|
const skewPct = h.skew?.skew_pct
|
||||||
const ivCur = h.iv_current_pct
|
const ivCur = h.iv_current_pct
|
||||||
const ivPctl = h.iv_percentile
|
|
||||||
const flow: string | null = h.options_flow?.flow_bias ?? null
|
|
||||||
const pcRatio = h.options_flow?.pc_oi_ratio
|
|
||||||
return (
|
return (
|
||||||
<div key={h.ticker} className="pb-1 border-b border-slate-700/20 last:border-0">
|
<div key={h.ticker} className="pb-1 border-b border-slate-700/20 last:border-0">
|
||||||
<div className="flex items-center gap-1.5 text-[10px]">
|
<div className="flex items-center gap-1.5 text-[10px]">
|
||||||
@@ -913,15 +910,6 @@ export default function Dashboard() {
|
|||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{(ivPctl != null || flow != null || pcRatio != null) && (
|
|
||||||
<div className="text-[8px] text-slate-700 mt-0.5 ml-5 truncate">
|
|
||||||
{ivPctl != null && <span>Pctl {ivPctl.toFixed(0)}</span>}
|
|
||||||
{ivPctl != null && pcRatio != null && ' · '}
|
|
||||||
{pcRatio != null && <span>P/C {pcRatio.toFixed(2)}</span>}
|
|
||||||
{(ivPctl != null || pcRatio != null) && flow && ' · '}
|
|
||||||
{flow && <span className="italic">{flow}</span>}
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user