617c8b9d56
fix: prevent scroll reset by stabilizing useEffect dependencies with refs
master
henry2026-05-16 22:37:11 +02:00
b5b5207756
feat: always enqueue analyze jobs as background, save jobId to DB, reuse active jobs, cleanup stale jobs
henry2026-05-16 22:31:19 +02:00
ff798abf04
chore: remove verbose console.log output from analyze API, keep only error/warn logs
henry2026-05-16 22:24:22 +02:00
1eddb9173e
fix: update admin token check logic and improve comments for clarity feat: add condition to only delete manually added stocks from DB docs: clarify stock notes saving method and Alpaca mode indicator fetching chore: update binary database file
henry2026-05-16 22:20:29 +02:00
17ba788419
fix: delete button - add error handling and fix variable shadowing in filter callback
henry2026-05-16 22:16:42 +02:00
f8a3b7840f
fix: consolidate 3 fetchBars calls into 1 per stock and add 500ms delay between sequential loads to avoid rate limiting
henry2026-05-16 22:14:21 +02:00
5e865b9c26
feat: auto-load technical indicators on page load and show loading states in all cells
henry2026-05-16 22:09:03 +02:00
046e81ffc1
feat: rewrite analyze page with technical indicators column and signal summary
henry2026-05-16 22:05:01 +02:00
898f4f48dc
fix: show running job status when viewing in-progress jobs and auto-poll for completion
henry2026-05-16 21:54:54 +02:00
115363baad
refactor: rewrite analyze.ticker page with compact job history, live results, position and orders display
henry2026-05-16 21:48:58 +02:00
2ab55060f3
feat: wire TradingGraph to use settings for model, temperature, and risk config
henry2026-05-16 21:37:27 +02:00
5358ee6f97
Fix: use ReadableStream cancel() to cleanup interval (avoid controller.signal TS error)
henry2026-05-16 17:44:03 +02:00
93056b7ecd
Fix JSX syntax: close conditional expression in analyze.ticker.tsx (add missing })
henry2026-05-16 15:31:00 +02:00
0e8339d614
UI: surface buying/selling suggestion and execution plan in portfolio and stock detail (show last saved suggestion)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
henry2026-05-16 15:27:41 +02:00
669b792045
Jobs API: expose getJob and listRecentJobs; use unified queue module for job status and history; UI can query /api/jobs?ticker=...\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
henry2026-05-16 14:47:23 +02:00
9771f48028
Queue: unify exports; support BullMQ when REDIS_URL set, otherwise in-process fallback
henry2026-05-16 14:43:52 +02:00
9167bd8912
Queue: support REDIS_URL BullMQ mode; fallback to in-process queue for dev/tests
henry2026-05-16 14:42:33 +02:00
f2b7fad379
Add prisma migration folder for lastJobId
henry2026-05-16 14:31:30 +02:00
a835986842
StockDetail: include stockRecord in loader return for job status link
henry2026-05-16 14:30:47 +02:00
3234a09096
Add job status endpoint, persist lastJobId; replace in-process queue with BullMQ-based queue and worker; link job status in UI
henry2026-05-16 14:28:34 +02:00
d9f9150d68
Add job queue for background analyze, enqueue from API, update MostActiveStocks form POST, add Playwright E2E for Save button
henry2026-05-16 14:22:13 +02:00
538b4b62d2
MostActiveStocks: add Save button to upsert ticker and trigger background trading graph; show saving/saved state
henry2026-05-16 14:16:37 +02:00
24c7ee2bf1
Save ticker and last decision to DB; add order suggestion UI; upsert stocks with execution details; ensure analysis saves ticker
henry2026-05-16 14:06:45 +02:00
3a681fa309
Make Trader parsing of executionPlan more robust (extract maxLossPercent/method fallbacks); ensure TradingViewChart test mock includes timeScale
henry2026-05-16 14:02:29 +02:00
c9f83b834e
Return agentSignals and debateRounds in mocked /api/analyze response to match component expectations
henry2026-05-16 14:01:53 +02:00
f3effebff6
Fix test syntax: remove extra closing braces in trader.test.ts
henry2026-05-16 14:01:29 +02:00
ac175c8d42
Mock lightweight-charts in StockDetail UI test to avoid canvas requirement
henry2026-05-16 14:01:01 +02:00
ea2836bd2e
Wrap StockDetail test in MemoryRouter to provide Link context; mock useLoaderData remains
henry2026-05-16 13:57:30 +02:00
6ef87ba79f
Relax TradingViewChart candlestick series test to accept any series identifier; keep color assertions
henry2026-05-16 13:56:11 +02:00
5bb41a50dc
Fix TradingViewChart test mocks (timeScale) and add UI test for executionPlan rendering in StockDetail
henry2026-05-16 13:55:06 +02:00
b9711f2517
Display executionPlan in UI; add tests for Trader executionPlan parsing and TradingGraph execution step
henry2026-05-16 13:53:04 +02:00
98c1e366a5
Add execution plan for sell decisions: amount, risk management, take-profit; include execution step in TradingGraph workflow
henry2026-05-16 13:50:28 +02:00
17c9ee27c0
Show full company name in most-actives API; ensure name column displays canonical company name
henry2026-05-16 13:41:44 +02:00
b6510de7cb
fix: add empty state for no data available
henry2026-05-16 12:50:34 +02:00
56ad0593ad
feat: replace StockViewer with MostActiveStocks on stocks page
henry2026-05-16 12:47:44 +02:00