Skip to content

Commit a96b147

Browse files
Ben05-sysclaude
andcommitted
Show volume trend in the ticker detail panel
universe.py has computed volume_trend (the last two weeks' average volume against the last quarter's, as a percent — 100 is business as usual) since the sessions/sectors fields landed, but it only ever reached the screener grammar as `voltrend`, filterable but not readable per ticker. It answers a different question than the "Rel volume" line already in the panel: that one is today alone against the average, so it resets every morning; this one says whether an elevation has already become the new normal, which is exactly the distinction the Quiet Accumulation preset trades on. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013XrAv5EkL4VKJK7QFUH9nM
1 parent 5c61d8a commit a96b147

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/web/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2809,6 +2809,12 @@ <h2>KEYS</h2>
28092809
kv("Avg vol 3m", fvol(st.avg_volume_3m));
28102810
kvc("Rel volume", nf(st.rel_volume,2),
28112811
st.rel_volume!=null ? st.rel_volume-1 : null);
2812+
// The last two weeks' average against the last quarter's — distinct from
2813+
// "Rel volume" above, which is only today against the average. 100 is
2814+
// business as usual; this says whether an elevation has already become
2815+
// the new normal rather than still being today's news.
2816+
kvc("Volume trend", st.volume_trend!=null ? nf(st.volume_trend,0)+"%" : "—",
2817+
st.volume_trend!=null ? st.volume_trend-100 : null);
28122818
kv("Day range", (q.day_low!=null? nf(q.day_low,2):"—")+" – "
28132819
+(q.day_high!=null? nf(q.day_high,2):"—"));
28142820
// True range (including the overnight gap) as a percent of price, so a

0 commit comments

Comments
 (0)