Youssef Aitousarrah
136fa47645
fix(options_flow): scan full universe before applying limit, rank by signal strength
...
Previously the scanner stopped as soon as self.limit candidates were found
from as_completed() futures. Since futures complete in non-deterministic
network-latency order, this was equivalent to random sampling — fast-to-
respond tickers won regardless of how strong their options signal was.
Fix: collect all candidates from the full universe, then sort by options_score
(unusual strike count weighted 1.5x for calls to favor bullish flow) before
applying the limit. The top-N strongest signals are now always returned.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 13:46:21 -07:00
Youssef Aitousarrah
61b731ac28
fix(filter): replace tqdm with logger in batch news functions to fix I/O error
...
tqdm writes to stderr immediately on __enter__, before any loop iteration.
In Streamlit's thread/subprocess context stderr can be a closed pipe, causing
'I/O operation on closed file' which _run_call catches and returns {} — so
the entire news enrichment step was silently skipped every run.
Replaced tqdm progress bars with logger.info() calls in:
- get_batch_stock_news_google() in openai.py
- get_batch_stock_news_openai() in openai.py
- Reddit DD parallel evaluation in reddit_api.py
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 13:46:21 -07:00
github-actions[bot]
21b33c6709
chore: update performance tracking 2026-04-06
2026-04-06 13:57:37 +00:00
github-actions[bot]
76b91fbccb
chore: daily discovery 2026-04-06
2026-04-06 13:57:19 +00:00
github-actions[bot]
5749c8e33e
chore: update performance tracking 2026-04-05
2026-04-05 13:39:10 +00:00
github-actions[bot]
7b2b4f7052
chore: daily discovery 2026-04-05
2026-04-05 13:38:54 +00:00
github-actions[bot]
42999857af
chore: update performance tracking 2026-04-04
2026-04-04 13:37:06 +00:00
github-actions[bot]
1e06895946
chore: daily discovery 2026-04-04
2026-04-04 13:36:51 +00:00
github-actions[bot]
a8ccb0e396
chore: update performance tracking 2026-04-03
2026-04-03 13:46:52 +00:00
github-actions[bot]
d5cebd9dff
chore: daily discovery 2026-04-03
2026-04-03 13:46:37 +00:00
github-actions[bot]
fba5b91242
chore: update performance tracking 2026-04-02
2026-04-02 14:04:43 +00:00
github-actions[bot]
a82199be5c
chore: daily discovery 2026-04-02
2026-04-02 14:04:29 +00:00
github-actions[bot]
9edee768e9
chore: update performance tracking 2026-04-01
2026-04-01 14:13:16 +00:00
github-actions[bot]
28c5392fa3
chore: daily discovery 2026-04-01
2026-04-01 14:13:10 +00:00
github-actions[bot]
f9ad043be0
chore: update performance tracking 2026-03-31
2026-03-31 14:10:53 +00:00
github-actions[bot]
23d1f3db99
chore: daily discovery 2026-03-31
2026-03-31 14:10:48 +00:00
github-actions[bot]
d764cee16d
chore: update performance tracking 2026-03-30
2026-03-30 14:08:52 +00:00
github-actions[bot]
33ab46f302
chore: daily discovery 2026-03-30
2026-03-30 14:08:46 +00:00
github-actions[bot]
e737204ef8
chore: update performance tracking 2026-03-29
2026-03-29 13:37:26 +00:00
github-actions[bot]
3e02014c6c
chore: daily discovery 2026-03-29
2026-03-29 13:37:08 +00:00
github-actions[bot]
85a5cf9e46
chore: update performance tracking 2026-03-28
2026-03-28 13:35:54 +00:00
github-actions[bot]
2f794608b1
chore: daily discovery 2026-03-28
2026-03-28 13:35:35 +00:00
github-actions[bot]
01019b3533
chore: update performance tracking 2026-03-27
2026-03-27 13:51:12 +00:00
github-actions[bot]
e662a1f4dc
chore: daily discovery 2026-03-27
2026-03-27 13:51:04 +00:00
github-actions[bot]
6328458f90
chore: update performance tracking 2026-03-26
2026-03-26 14:07:03 +00:00
github-actions[bot]
88efff970e
chore: daily discovery 2026-03-26
2026-03-26 14:06:58 +00:00
github-actions[bot]
0a60b5d66c
chore: update performance tracking 2026-03-25
2026-03-25 13:57:05 +00:00
github-actions[bot]
dd982b91d2
chore: daily discovery 2026-03-25
2026-03-25 13:56:57 +00:00
github-actions[bot]
bfd171e063
chore: update performance tracking 2026-03-24
2026-03-24 13:57:58 +00:00
github-actions[bot]
5d37c89eea
chore: daily discovery 2026-03-24
2026-03-24 13:57:52 +00:00
github-actions[bot]
91a628c9d3
chore: update performance tracking 2026-03-23
2026-03-23 13:58:13 +00:00
github-actions[bot]
4399485ec7
chore: daily discovery 2026-03-23
2026-03-23 13:57:49 +00:00
github-actions[bot]
eea54221ee
chore: update performance tracking 2026-03-22
2026-03-22 13:31:32 +00:00
github-actions[bot]
218ac20f59
chore: daily discovery 2026-03-22
2026-03-22 13:31:12 +00:00
github-actions[bot]
3e96b58b0b
chore: update performance tracking 2026-03-21
2026-03-21 13:30:20 +00:00
github-actions[bot]
06ff0b4d19
chore: daily discovery 2026-03-21
2026-03-21 13:29:50 +00:00
github-actions[bot]
4512a70339
chore: update performance tracking 2026-03-20
2026-03-20 13:48:18 +00:00
github-actions[bot]
fbd8bbbd1a
chore: daily discovery 2026-03-20
2026-03-20 13:47:43 +00:00
github-actions[bot]
c8890761d2
chore: update performance tracking 2026-03-19
2026-03-19 13:57:11 +00:00
github-actions[bot]
9cc33256bc
chore: daily discovery 2026-03-19
2026-03-19 13:56:36 +00:00
github-actions[bot]
39fdc47e2b
chore: update performance tracking 2026-03-18
2026-03-18 14:01:39 +00:00
github-actions[bot]
52c4a519ac
chore: daily discovery 2026-03-18
2026-03-18 14:01:31 +00:00
github-actions[bot]
3aca3174ab
chore: update performance tracking 2026-03-17
2026-03-17 14:07:05 +00:00
github-actions[bot]
571a026146
chore: daily discovery 2026-03-17
2026-03-17 14:06:26 +00:00
github-actions[bot]
edf23fa557
chore: update performance tracking 2026-03-16
2026-03-16 14:07:23 +00:00
github-actions[bot]
2a17d04686
chore: daily discovery 2026-03-16
2026-03-16 14:06:48 +00:00
github-actions[bot]
6c52fbef59
chore: update performance tracking 2026-03-15
2026-03-15 13:34:08 +00:00
github-actions[bot]
75c604a98c
chore: daily discovery 2026-03-15
2026-03-15 13:33:46 +00:00
github-actions[bot]
1465fa1d1d
chore: update performance tracking 2026-03-14
2026-03-14 13:34:23 +00:00
github-actions[bot]
85814a72fe
chore: daily discovery 2026-03-14
2026-03-14 13:33:46 +00:00