25f771cc77
[WBS-4.4] 일별 성과 모니터링 대시보드 구현
- updateEvaluationDashboard_(): gdf_04_execution_quality.gs에 GAS 함수 신규 추가
· daily_history 시트 → total_asset, mdd_pct
· macro 시트 KOSPI Close → 1D 수익률 (직전 행 Close 차이 계산)
· evaluation_dashboard 탭 자동 생성/업데이트 (Date/Total_Asset/KOSPI_Close/
Portfolio_Return_1D_Pct/KOSPI_Return_1D_Pct/Alpha_1D_Pct/Cumulative_Alpha_Pct/MDD_Pct)
- run_all() Step-8로 연결 (gas_lib.gs), runRebalanceSheet_ 이후 실행
[CI/CD] validate_formula_registry.py 수정 (WBS-5.1 완성)
- spec/formulas/manifest.yaml 신규 생성 (domains/manifest.yaml 동일 내용)
- RetirementAssetPortfolio.yaml에 formula_registry_manifest 등록
- validate_specs.py PASS 복원 → run_release_dag_v3 gate=PASS step_count=55
[CI/CD] Synology Gitea act_runner 환경 최적화
- runs-on: ubuntu-latest → self-hosted (NAS host-based runner)
- actions/setup-python / actions/setup-node 제거 (NAS에 직접 설치)
- python → python3 명시
- actions/checkout@v3 → v4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
name: Quant Engine CI/CD Pipeline
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
validate-and-build:
|
|
# Synology NAS act_runner: host-based 실행 (Docker 불필요)
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Python Dependencies
|
|
run: |
|
|
python3 -m pip install --upgrade pip --quiet
|
|
if [ -f requirements.txt ]; then pip3 install -r requirements.txt --quiet; fi
|
|
pip3 install yfinance pandas pyyaml openpyxl --quiet
|
|
|
|
- name: Install Node Dependencies
|
|
run: npm install --quiet
|
|
|
|
- name: Validate Specs
|
|
run: python3 tools/validate_specs.py
|
|
|
|
- name: Validate Formula Registry
|
|
run: python3 tools/validate_formula_registry.py
|
|
|
|
- name: Validate Golden Case Coverage
|
|
run: python3 tools/validate_golden_coverage_100.py
|
|
|
|
- name: Build Rebalance Engine V2
|
|
run: python3 tools/build_rebalance_engine_v2.py
|
|
|
|
- name: Ingest Fundamentals V2 (Dry Run)
|
|
run: python3 tools/ingest_fundamental_raw.py --no-naver
|
|
env:
|
|
DART_API_KEY: ${{ secrets.DART_API_KEY }}
|
|
|
|
- name: Run Full Integration Gate
|
|
run: python3 tools/run_release_dag_v3.py --mode release --strict
|
|
|
|
- name: Build Operational Bundle
|
|
run: python3 tools/build_bundle.py
|