Strengthen long-horizon signal coverage #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install package | |
| run: python -m pip install -e '.[test]' | |
| - name: Run tests | |
| run: python -m pytest -q | |
| - name: Validate example signal | |
| run: python scripts/validate_latest_signal.py examples/latest_signal.example.json | |
| - name: Run example overlay replay | |
| run: python scripts/backtest_signal_overlay.py --prices examples/price_history.example.csv --signals examples/signal_history --symbol QQQ | |
| - name: Run example price extraction | |
| run: | | |
| python scripts/extract_price_history.py \ | |
| --source examples/price_history.example.csv \ | |
| --target /tmp/qqq_overlay_prices.csv \ | |
| --symbols QQQ | |
| - name: Build example context bundle | |
| run: | | |
| python scripts/build_context_bundle.py \ | |
| --prices examples/price_history.example.csv \ | |
| --symbols QQQ \ | |
| --output /tmp/context_bundle.json |