ML-LLM-Summarization (HandsOn Ex16)
Asset class: US Equities (SPY) Cloud project ID: None (local only)
Description
LLM-based news summarization for sentiment signals. Uses OpenAI API or keyword extraction to score financial news sentiment.
How to Run
Lean CLI: lean backtest "MyIA.AI.Notebooks/QuantConnect/projects/ML-LLM-Summarization" QC Cloud: Not yet deployed. Copy files to a new QC Cloud project to run.
Backtest Metrics
| Metric | Value |
|---|---|
| Sharpe Ratio | 0.686 |
| CAGR | 15.45% |
| Max Drawdown | 22.7% |
| Model | OpenAI API / Keywords |
| Rebalance | Monthly |
Files
main.py - Strategy (v1.0, LLM sentiment)
research.ipynb - Sentiment signal evaluation ## References
Hands-On AI Trading, Section 06, Example 16