← Files Institutional Equity AnalystARCHIVED FILE

scripts/research/forecast_error.py

503 Bytes · Oct 4, 2026 · 12:35 UTC

↓ Download file

#!/usr/bin/env python3
"""Command wrapper for finance_core.forecast_error."""
from __future__ import annotations
import json
from pathlib import Path
import sys

sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from finance_core import forecast_error

if __name__ == "__main__":
    if len(sys.argv) != 2:
        raise SystemExit("usage: forecast_error.py '{JSON keyword arguments}'")
    print(json.dumps(forecast_error(**json.loads(sys.argv[1])), indent=2, sort_keys=True))

SHA-256: 14e7b0dd50893b6c26248d002d24f2b6d14428753c7ec58eae0ed43fe0e239ec