risk-analyst

Evaluate strategy risk and anti-overfitting validation for production readiness.

Updated Jun 24, 2025
One-click install
npx skills add https://github.com/gtnix/quant_b3_backtest --skill risk-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: risk-analyst
Source: https://github.com/gtnix/quant_b3_backtest/tree/main/.cursor/skills/risk-analyst
Command: npx skills add https://github.com/gtnix/quant_b3_backtest --skill risk-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validate and gate strategy performance to prevent overfitting and ensure robust risk controls across intraday and position trading.

Core Features & Use Cases

  • Walk-forward validation (WFA) and CPCV-based gating to provide credible OOS performance and guard against leakage.
  • PBO and DSR metrics to quantify selection bias and ensure results generalize beyond in-sample data.
  • Comprehensive stress testing (S1-S5) for execution realism, costs, latency, and turnover under adverse conditions.
  • Reproducibility and audit trails with run_id, config snapshots, and Git commits to support regulatory-grade validation.

Quick Start

Run a full risk-validated evaluation on a target strategy and generate a promotion-ready report.

Frequently Asked Questions about risk-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent backtest overfitting during out-of-sample validation?

Prevent backtest overfitting during out-of-sample validation by applying PBO and DSR metrics to quantify selection bias, ensuring strategy results generalize beyond in-sample data before production deployment.

What is walk-forward analysis and CPCV gating in risk validation?

Walk-forward analysis (WFA) and CPCV gating validate risk by testing strategy performance across sequential data segments, providing credible out-of-sample performance and guarding against data leakage.

How do I run S1-S5 stress tests for execution realism and latency?

Run S1-S5 stress tests for execution realism by evaluating strategy performance under adverse conditions, measuring impacts of costs, latency, and turnover to determine production readiness.

Can I use reproducibility checks with git metadata for regulatory-grade validation?

Use reproducibility checks with run_id, config snapshots, and git commits to support regulatory-grade validation, enforcing deterministic results and maintaining audit trails for strategy evaluation.

Does walk-forward testing work for both intraday and position trading scenarios?

Walk-forward testing works for both intraday and position trading scenarios, applying comprehensive risk validation and anti-overfitting gates across different trading frequencies to ensure robust risk controls.