src/datapro/data/skills/time-series-analysis/SKILL.md
Comprehensive time-series validation and analysis suite. Handles backtesting of trading and non-trading strategies with support for walk-forward validation (training vs testing windows), performance metric calculation (Sharpe, Drawdown, Win Rate), and event-driven resource allocation simulation. Use for: (1) Validating sequential logic on time-series data, (2) Calculating risk-adjusted performance, (3) Simulating constraints in resource distribution, (4) Detecting look-ahead bias through walk-forward testing.
npx skillsauth add pablodiegoo/data-pro-skill time-series-analysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides a robust framework for validating any logic applied to time-series data (financial, operational, or behavioral). It focuses on avoiding look-ahead bias and ensuring statistical robustness through walk-forward validation.
time_series_backtest_engine)Vectorized engine to simulate decisions over time.
resource_allocation_simulator)Event-driven simulator to test how resources (capital, inventory, etc.) are distributed across multiple signals.
Calculates standard risk-adjusted return metrics:
from scripts.time_series_backtest_engine import run_backtest
from scripts.resource_allocation_simulator import simulate_allocation
# 1. Validate a strategy over historical data
results = run_backtest(
data=df,
entry_threshold=2.0,
exit_threshold=0.0,
stop_loss=3.0
)
# 2. Simulate resource distribution based on signals
sim_report = simulate_allocation(
trades=results,
initial_resource=100000,
max_per_signal=0.1
)
t only use data available at t-1.performance_curve_builder for high-resolution result visualization.pandas, numpy, scipy.
tools
Core statistical analysis and pipeline automation for survey datasets. Use for: (1) Running standard Crosstabs, NPS, Top-Box calculations, (2) Generating complete EDA or Analytics notebooks, (3) Quantitative and qualitative processing of questionnaire data.
development
Business-level frameworks and actionable reporting for executives. Use for: (1) Plotting Priority Matrices, (2) Generating Pain Curves, (3) Conversion Funnels, (4) Removing Halo Effects to uncover true sentiment.
testing
Tactical and highly interpretable Machine Learning. Use for: (1) Extracting Feature Importance via Random Forest, (2) Running Permutation Tests, (3) Handling Imbalanced Data (SMOTE).
testing
Normalization and state-mapping of municipal data and generation of professional choropleth maps of Brazil (UF/State level). Use for: (1) Detecting city/state strings and normalizing names, (2) Attaching regional metadata, (3) Generating professional maps integrating survey data with shapefiles.