How bhupesh-debug/barclays-markets-quant-intern-ml works
This is a synthetic multi-asset quantitative signal research project, not a live-trading system. The main workflow is to generate synthetic prices, engineer no-lookahead signals, compare models in a cost-aware walk-forward backtest, and produce diagnostics and reports. The run script is the orchestration layer; it also writes metrics and charts. The README documents the broader feature set and results. Source excerpts establish the core calls, but some output and diagnostic details are supported only by README statements.
Main entry points: run_all.py Pipeline runner · backtest.py Walk-forward backtest · models.py Signal models · data_gen.py Synthetic markets
Components 10
Research workflow
- Pipeline runner
run_all.py - Synthetic markets
src/data_gen.py - Synthetic prices
data/synthetic/synthetic_markets.csv
Signals and models
- Feature engineering
src/features.py - Signal models
src/models.py
Evaluation
- Walk-forward backtest
src/backtest.py - Fit and regime diagnostics
src/evaluate.py
Research outputs
- Metrics report
reports/metrics.json - Research charts
Other components
- Researcher
Connections 10
- Researcher → Pipeline runner: runs pipeline
README.md - Pipeline runner → Synthetic markets: calls generator
run_all.py - Pipeline runner → Synthetic prices: writes prices
run_all.py - Pipeline runner → Feature engineering: builds features
run_all.py - Pipeline runner → Walk-forward backtest: runs backtest
run_all.py - Walk-forward backtest → Signal models: fits and predicts
src/backtest.py - Pipeline runner → Signal models: creates models
run_all.py - Pipeline runner → Fit and regime diagnostics: computes diagnostics
run_all.py - Pipeline runner → Metrics report: writes metrics
run_all.py - Pipeline runner → Research charts: writes charts
run_all.py