1246b3868b
fix: use current_price not avg_entry_price for invested calc — prevents margin-inflated numbers showing $0 available
Celes Renata
2026-04-17 00:04:12 +00:00
f57167ce4d
fix: only poll recommendations from last 2 hours (not 24h), persist snapshots during market hours for performance tab
Celes Renata
2026-04-16 23:53:54 +00:00
18eb150c75
fix: confidence formula now uses unique doc count + signal agreement instead of raw signal count — prevents 99.9% inflation
Celes Renata
2026-04-16 23:48:05 +00:00
1a5fb2e36a
fix: recovery sweep touches updated_at after re-enqueue to prevent duplicate flooding every 5 min
Celes Renata
2026-04-16 19:13:10 +00:00
3a856cf6ff
fix: reduce Ollama timeout from 300s to 240s (4 min)
Celes Renata
2026-04-16 18:43:50 +00:00
60cfb7618e
fix: recovery sweep skips docs that already have global_events — prevents re-enqueue loop
Celes Renata
2026-04-16 18:27:21 +00:00
1043710b6d
fix: track last_published_at per source to avoid re-fetching same articles — applies to both news_api and macro_news
Celes Renata
2026-04-16 18:12:12 +00:00
513310abba
fix: stop tagging all macro_news articles as macro_event — default to article, let extractor reclassify. Also reduced fetch limit to 20 and cadence to 30min
Celes Renata
2026-04-16 18:09:50 +00:00
f83577480f
fix: alternate extractor between macro and extraction queues (1:2 ratio) to prevent starvation
Celes Renata
2026-04-16 17:45:25 +00:00
2440cddd37
feat: add comprehensive table retention cleanup to scheduler — 10 tables with per-table retention windows
Celes Renata
2026-04-16 15:56:50 +00:00
63287903d0
feat: wire up stop levels, circuit breaker daily loss, profit-taking, real portfolio/decisions/history endpoints
Celes Renata
2026-04-16 15:52:46 +00:00
1329df0bbf
feat: sell execution, correlation matrix from market data, US market holiday awareness
Celes Renata
2026-04-16 15:36:49 +00:00
2e77cf32fd
fix: critical — track capital properly: load invested positions on startup, deduct on act, sync every 5min
Celes Renata
2026-04-16 15:29:28 +00:00
9a8d36068a
fix: convert Decimal to float in API responses instead of string — fixes positions page crash
Celes Renata
2026-04-16 15:25:40 +00:00
354c3d484a
fix: fetch current prices from market_snapshots before evaluating recommendations — fixes 'Invalid current price' skip
Celes Renata
2026-04-16 15:17:49 +00:00
2a6aac47a6
fix: add decision logging to trading engine, flushed 103k stale dedup keys
Celes Renata
2026-04-16 15:12:58 +00:00
c114e77b1c
fix: limit recommendation poll to 50 per cycle to prevent 85k-rec processing stall, add poll logging
Celes Renata
2026-04-16 15:05:26 +00:00
6bab199159
fix: trend_windows now upserts instead of accumulating (7.5GB→4MB), add competitive signal retention cleanup
Celes Renata
2026-04-16 14:32:24 +00:00
58a8726306
feat: add paper trading capital controls — API endpoint + UI with presets, fix status/metrics to read real state, fix migration duplicates
Celes Renata
2026-04-16 14:06:30 +00:00
14e411daf9
fix: trading status and metrics endpoints now read real portfolio state instead of hardcoded zeros
Celes Renata
2026-04-16 14:02:38 +00:00
5cc64498c0
fix: skip already-propagated docs in aggregation, limit to last hour + 10 docs instead of 50
Celes Renata
2026-04-16 09:35:11 +00:00
540d54c3f7
feat: scale aggregation to 4 replicas across cluster nodes
Celes Renata
2026-04-16 09:26:22 +00:00
f0887afd9b
fix: cap competitive signals to 500 most recent per window to prevent 67k row aggregation bottleneck
Celes Renata
2026-04-16 09:24:31 +00:00
c5e9644f6f
fix: guard EventSource for jsdom test env, add rate-limits MSW handler
Celes Renata
2026-04-16 08:19:53 +00:00
58a05ca322
feat: add SSE stream for live pipeline status, add all 10 queues + DLQs, configure nginx for SSE
Celes Renata
2026-04-16 08:15:44 +00:00
0b1640abb9
feat: add status colors for document pipeline stages, add status filter to documents page
Celes Renata
2026-04-16 08:06:12 +00:00
87579d68da
fix: add stale document recovery sweep to scheduler, re-enqueues orphaned parsed docs every 5 min
Celes Renata
2026-04-16 07:59:30 +00:00
cdc825619e
feat: add live queue depths to pipeline health API and dashboard
Celes Renata
2026-04-16 07:49:07 +00:00
8050f4a03b
chore: mark all Phase 2 tasks (27-37) as complete
Celes Renata
2026-04-16 07:27:35 +00:00
0ee7f26633
feat: raise market_api rate to 20/min, add global Polygon cap at 45/min, add rate-limit API + watchlist warning
Celes Renata
2026-04-16 07:26:10 +00:00
0b3ab4ed90
feat: add 11 new saved queries, fix window quoting and cross-table join in samples
Celes Renata
2026-04-16 07:14:44 +00:00
f1e32e9186
fix: add round(double precision, integer) overload so ad-hoc queries work without ::numeric casts
Celes Renata
2026-04-16 07:10:23 +00:00
981e16a27f
fix: quote reserved keyword 'window' in trend query, add Top Movers sample, make seed upsert
Celes Renata
2026-04-16 06:25:38 +00:00
1ccea17600
fix: tooltip type inference for Recharts strict mode
Celes Renata
2026-04-16 06:01:29 +00:00
79a85723b6
feat: rich tooltips in SQL Explorer charts show all row values
Celes Renata
2026-04-16 05:57:06 +00:00
b43ad88f5d
feat: auto-chart detection in SQL Explorer
Celes Renata
2026-04-16 05:52:41 +00:00
7fefc65692
chore: remove runmefirst.sh from repo, add to gitignore
Celes Renata
2026-04-16 05:39:56 +00:00
328cb0de28
fix: SQL Explorer chart parses string values as floats
Celes Renata
2026-04-16 05:33:53 +00:00
1107d34027
fix: SQL Explorer handles comments and shows descriptive errors
Celes Renata
2026-04-16 05:25:45 +00:00
d28787a8ee
fix: add unique constraint on saved_queries.name to prevent duplicates
Celes Renata
2026-04-16 05:16:18 +00:00
a3b2e97c2c
fix: allow SMTP port 587 egress for Gmail notifications
Celes Renata
2026-04-16 05:04:08 +00:00