Spaces:
Runtime error
Runtime error
Upload 33 files
Browse files
ui_kits/chan-compass/views.jsx
CHANGED
|
@@ -149,8 +149,8 @@ function SignalsView() {
|
|
| 149 |
<Kpi label="WAIT" value={counts.WAIT||0}/>
|
| 150 |
</div>
|
| 151 |
<Card title="Tomorrow's plan" subtitle="Long-hold mode - the unchanged Chan engine runs over each ticker">
|
| 152 |
-
<div style={{display:"flex", gap:"var(--space-200)", alignItems:"flex-end", marginBottom:"
|
| 153 |
-
<Field label="Ticker pool" mono value={pool} onChange={e=>setPool(e.target.value)} className="grow"
|
| 154 |
<Checkbox checked={force} onChange={e=>setForce(e.target.checked)}>Force fresh download</Checkbox>
|
| 155 |
<Button variant="accent" onClick={run} disabled={running}>
|
| 156 |
{running ? <><Icon name="loader" size={15}/> Running...</> : <><Icon name="play" size={15}/> Run analysis</>}
|
|
@@ -247,10 +247,10 @@ function RotationView() {
|
|
| 247 |
</Button>
|
| 248 |
{asof && <span style={{marginLeft:"auto"}}><StatusLight variant="neutral">{asof}</StatusLight></span>}
|
| 249 |
</div>
|
|
|
|
| 250 |
{d1.length>0 && <Card title="Sector rotation · 1-day flow" subtitle="change % × dollar volume · sorted">{Table(d1)}</Card>}
|
| 251 |
{d5.length>0 && <Card title="Sector rotation · 5-day flow" subtitle="medium-term trend">{Table(d5)}</Card>}
|
| 252 |
{d20.length>0 && <Card title="Sector rotation · 20-day flow" subtitle="longer-term trend + RS vs SPY">{Table(d20)}</Card>}
|
| 253 |
-
{ai && <InlineAlert variant="ai" title="Narrator sub-agent - Qwen3-1.7B">{ai}</InlineAlert>}
|
| 254 |
<Card title="Email" subtitle="Send the current rotation narrative">
|
| 255 |
<EmailRow getContent={()=>ai} tag="Sector rotation"/>
|
| 256 |
</Card>
|
|
|
|
| 149 |
<Kpi label="WAIT" value={counts.WAIT||0}/>
|
| 150 |
</div>
|
| 151 |
<Card title="Tomorrow's plan" subtitle="Long-hold mode - the unchanged Chan engine runs over each ticker">
|
| 152 |
+
<div style={{display:"flex", gap:"var(--space-200)", alignItems:"flex-end", marginBottom:"6px"}}>
|
| 153 |
+
<Field label="Ticker pool" mono value={pool} onChange={e=>setPool(e.target.value)} className="grow"/>
|
| 154 |
<Checkbox checked={force} onChange={e=>setForce(e.target.checked)}>Force fresh download</Checkbox>
|
| 155 |
<Button variant="accent" onClick={run} disabled={running}>
|
| 156 |
{running ? <><Icon name="loader" size={15}/> Running...</> : <><Icon name="play" size={15}/> Run analysis</>}
|
|
|
|
| 247 |
</Button>
|
| 248 |
{asof && <span style={{marginLeft:"auto"}}><StatusLight variant="neutral">{asof}</StatusLight></span>}
|
| 249 |
</div>
|
| 250 |
+
{ai && <InlineAlert variant="ai" title="Narrator sub-agent - Qwen3-1.7B">{ai}</InlineAlert>}
|
| 251 |
{d1.length>0 && <Card title="Sector rotation · 1-day flow" subtitle="change % × dollar volume · sorted">{Table(d1)}</Card>}
|
| 252 |
{d5.length>0 && <Card title="Sector rotation · 5-day flow" subtitle="medium-term trend">{Table(d5)}</Card>}
|
| 253 |
{d20.length>0 && <Card title="Sector rotation · 20-day flow" subtitle="longer-term trend + RS vs SPY">{Table(d20)}</Card>}
|
|
|
|
| 254 |
<Card title="Email" subtitle="Send the current rotation narrative">
|
| 255 |
<EmailRow getContent={()=>ai} tag="Sector rotation"/>
|
| 256 |
</Card>
|