Commit Graph

6 Commits

Author SHA1 Message Date
rob 2dccabfac3 Add chart analysis feature with candlestick pattern detection
- Add /api/detect_patterns endpoint to detect CDL_* patterns in time range
- Add ChartAnalysis class with hover-based pattern detection mode
- Add Analyze dropdown button in header with pattern detection option
- Style dropdown and pattern detection UI with gradient theme
- Add AGENTS.md with repository guidelines for AI agents
- Update gitignore to exclude test screenshots and artifacts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-11 15:26:49 -03:00
rob 3644c219d4 Fix int64 JSON serialization error in SocketIO responses
- Add utils.py with sanitize_for_json() function to convert numpy types
  (int64, float64, bool_, ndarray) to native Python types
- Handle inf/nan values by converting to None
- Update backtesting.py to use shared sanitize_for_json utility
- Update app.py strategy_events emit to sanitize data before sending
- Remove empty root BrighterTrading.db and add *.db to gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-01 17:58:24 -04:00
rob f1a184b131 Fix chart loading and stabilize local runtime 2026-02-28 15:15:56 -04:00
Rob 8361efd965 Refactored DataCache, Database and Users. All db interactions are now all inside Database. All data request from Users now go through DataCache. Expanded DataCache test to include all methods. All DataCache tests pass. 2024-08-19 23:10:13 -03:00
Rob 49c908357f Update .gitignore to exclude unnecessary files and directories 2024-07-25 10:09:27 -03:00
Rob 42da478944 Working and relatively glitch free. Work has been done on uml diagram for the javascript client. No classes implemented in javascript files yet. Python is basically one big class with no separation. 2022-05-05 22:22:50 -03:00