Commit 3be7ccd
Stop prefiltering avg_dollar_volume on a stale price
avg_dollar_volume was marked STATIC_SAFE, meaning a screen like
`avgdvol > 20m` narrowed the universe against the snapshot before any
quote came back. But the field is price times avg_volume_3m, and price
is the one live input in that product — a stock trading through the
threshold since the snapshot was taken would get dropped before it
ever had a chance to be repriced. That's the two-clocks-in-one-number
mistake pct_52w_range already avoids by staying off STATIC_SAFE; this
field was doing the same math and hadn't gotten the same treatment.
It was already in LIVE_COLUMNS, so no repricing logic changes, only
which bucket a screen condition on it lands in.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JRdJUc8CJPpH9hHjJQ6S7m1 parent 953e498 commit 3be7ccd
2 files changed
Lines changed: 16 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
763 | | - | |
764 | | - | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
765 | 766 | | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
770 | 771 | | |
771 | 772 | | |
772 | 773 | | |
773 | 774 | | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
774 | 778 | | |
775 | 779 | | |
776 | 780 | | |
| |||
0 commit comments