Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

quant-statistics

Skill by charliedream1

Provides Python code and decision rules for statistical methods used in quantitative investing, including ADF, cointegration, GARCH and bootstrap. Aimed at quant investors and analysts doing strategy and factor research.

  • Score 91
  • 6.8k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install quant-statistics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/charliedream1/ai_quant_trade /tmp/ai_quant_trade && mkdir -p ~/.claude/skills && cp -r /tmp/ai_quant_trade/egs_skill/vibe_trading_skills/quant-statistics ~/.claude/skills/quant-statistics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install quant-statistics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a reference of statistical methods for quantitative investing. It gives Python functions for ADF unit-root tests, Engle-Granger cointegration tests with hedge ratio and half-life estimates, and Granger causality tests. It also covers GARCH(1,1) volatility modeling with a 5-day forecast, regression diagnostics, bootstrap confidence intervals, and a hypothesis-testing table.

The code uses statsmodels and arch, with pandas and numpy. Each test lists its null hypothesis and a decision rule, such as p-value thresholds for stationarity and VIF cutoffs for collinearity. The source presents these methods as a foundation for strategy development and factor research, so it suits quant investors and analysts.

Written from the project's SKILL.md and checked against it.

What it can do

  • ADF unit-root testTests whether a series is stationary and gives a decision rule based on the p-value.
  • Cointegration testRuns an Engle-Granger test on two price series to check for a long-run relationship.
  • Pair-trading hedge ratioEstimates a hedge ratio, spread and half-life, with z-score signal levels.
  • Granger causality testChecks whether past values of one series help predict another across lags.
  • GARCH(1,1) modelFits a volatility model and returns parameters, persistence and a 5-day volatility forecast.
  • Regression diagnosticsCovers heteroskedasticity, autocorrelation, multicollinearity and outlier checks.
  • Bootstrap confidence intervalsEstimates confidence intervals for a statistic, including the Sharpe ratio.

What you need

  • Python
  • statsmodels library
  • arch library

Try asking

  • Run an ADF test on my price series and tell me if it is stationary
  • Fit a GARCH(1,1) model to my daily returns and forecast 5-day volatility
  • Bootstrap a 95% confidence interval for my strategy's Sharpe ratio

Good to know

  • Granger causality shows predictive causality only, not true causality.
  • The GARCH parameter ranges for China A-shares and BTC are typical values given in the source.
  • The hypothesis-testing table in the source is incomplete.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: egs_skill/vibe_trading_skills/quant-statistics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB

Alternatives to quant-statistics

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

quant-statistics: common questions

What statistical tests does quant-statistics cover?

It covers ADF unit-root and Engle-Granger cointegration tests, Granger causality, GARCH volatility modeling, regression diagnostics, bootstrap methods, and hypothesis testing.

Which Python libraries does it use?

The examples import statsmodels and arch, along with pandas and numpy.

Does Granger causality prove real cause and effect?

No. The source says Granger causality is only predictive causality, not true causality.

How do I install quant-statistics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is quant-statistics free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is quant-statistics safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to quant-statistics?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

quant-statistics Install

Add to stack

Loading.