candle-annotator/services/ml
Marko Djordjevic f850728d44 fix(api): add GET /api/charts/[id] and fix batch prediction
- Add GET handler to /api/charts/[id] route to fetch chart metadata
- Fix batch prediction to use regular /predict endpoint with database candles
- Remove /predict/batch usage (was designed for file-based predictions)
- Make volume field optional in CandleData model (database candles don't have volume)
- Convert timestamps to ISO dates for batch requests

Known issue: TA-Lib indicators failing with 'input array type is not double'
- May need to ensure candle data is float64/double type before processing
2026-02-15 21:49:22 +01:00
..
.dvc feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
app fix(api): add GET /api/charts/[id] and fix batch prediction 2026-02-15 21:49:22 +01:00
candle_ml.egg-info feat(ml): add TA-Lib annotation generation and import workflow 2026-02-15 19:18:28 +01:00
config fix(ml): complete ML pipeline fixes and setup 2026-02-15 21:29:54 +01:00
features fix(ml): correct CCI indicator signature to use HLC prices 2026-02-15 21:09:47 +01:00
migrations feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
mlruns fix(frontend): update ModelInfoResponse types to match backend structure 2026-02-15 21:39:38 +01:00
models fix(ml): complete ML pipeline fixes and setup 2026-02-15 21:29:54 +01:00
training fix(ml): complete ML pipeline fixes and setup 2026-02-15 21:29:54 +01:00
.dvcignore feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
Dockerfile feat: add ML service scaffolding with Python FastAPI, Docker, and MLflow setup 2026-02-15 11:58:31 +01:00
generate_talib_annotations.py fix(ml): handle date strings in TA-Lib annotation generator 2026-02-15 19:30:38 +01:00
pipeline.py feat(ml): implement training stage with MLflow tracking and model wrappers 2026-02-15 14:22:19 +01:00
pyproject.toml feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
talib_annotations.json fix(scripts): add created_at timestamps to annotation import 2026-02-15 19:36:55 +01:00
uv.lock feat(ml): add TA-Lib annotation generation and import workflow 2026-02-15 19:18:28 +01:00