quant-math-verification
Institutional quantitative mathematics, formula verification, and statistical edge calculation standards.
Skill by alakbarr
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alakbarr-quant-math-verification
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/quant-math-verification
What's inside
- Skill name
quant-math-verification- Description
- Institutional quantitative mathematics, formula verification, and statistical edge calculation standards.
- License
- MIT
- Instructions
- 44 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Quantitative Math & Statistical Verification Playbook
> **Standard**: Every quantitative metric, simulation, or sizing formula reported by Monika must be mathematically rigorous, verifiable, and free of heuristic hand-waving or hallucination.
---
## 1. Core Quantitative Formulas Reference
### A. Kelly Criterion (Optimal Growth Sizing)
For a trading strategy with win rate $W$ and win/loss payoff ratio $R = \frac{\text{Average Win}}{\text{Average Loss}}$:
$$f^* = W - \frac{1 - W}{R} = \frac{W \cdot (R + 1) - 1}{R}$$
- **Institutional Practice (Half-Kelly / Quarter-Kelly)**:
$$f_{\text{safe}} = 0.5 \times f^* \quad \text{or} \quad 0.25 \times f^*$$
*Full Kelly introduces catastrophic drawdown volatility. Monika recommends Quarter-Kelly for forex trading.*
### B. Expected Value & Trade Expectancy ($E$)
$$\text{Expectancy} = (W \times \text{Avg Win}) - ((1 - W) \times \text{Avg Loss})$$
$$\text{Expectancy Ratio (in R)} = (W \times R) - (1 - W)$$
- A system has a positive statistical edge if and only if $\text{Expectancy} > 0$.
### C. Annualized Sharpe & Sortino Ratios
$$\text{Sharpe} = \frac{\mu_r - r_f}{\sigma_r} \times \sqrt{252}$$
$$\text{Sortino} = \frac{\mu_r - r_f}{\sigma_{\text{downside}}} \times \sqrt{252}$$
where $\sigma_{\text{downside}} = \sqrt{\frac{1}{N} \sum_{r_t < 0} r_t^2}$.
### D. Walk-Forward Efficiency (WFE)
$$\text{WFE} = \frac{\text{Annualized Out-of-Sample (OOS) Return}}{\text{Annualized In-Sample (IS) Return}} \times 100\%$$
- $\text{WFE} \ge 60\%$: Robust strategy with durable edge.
- $\text{WFE} < 50\%$: Overfitted curve-fitting bias; reject parameters.
---
## 2. Verification Protocol
When asked quantitative questions:
1. Call the corresponding registered tool:
- `calculate_kelly_criterion(win_rate, win_loss_ratio)`
- `simulate_portfolio_drawdown(num_simulations, win_rate, ...)`
- `run_walk_forward_optimization(symbol, strategy_name, ...)`
- `optimize_strategy_parameters(...)`
2. Never approximate or guess simulation figures—quote the exact output from the tool execution.
3. Always accompany raw percentages with risk-adjusted interpretations (e.g. explain why Full Kelly is hazardous and recommend Fractional Kelly).From alakbarr/Monika, MIT.
More from alakbarr/Monika
- 0.561score
os-terminal-automation
alakbarr
Universal Terminal & Process Execution Playbook: Controlled shell execution, process monitoring, background task supervision, and operator safety gating.
SkillAFreshness: AClaude Code +9 - 0.561score
database-analytics-and-reporting
alakbarr
Direct SQL & Analytical Query Playbook: Schema inspection, safe read-only SQL queries, performance joins, debate transcript exports, and custom metric…
SkillAFreshness: AClaude Code +9 - 0.561score
desktop-gui-computer-use
alakbarr
Desktop GUI Interaction & Computer Use Playbook: Screen inspection, MetaTrader 5 window snapping, mouse click automation, and keystroke dispatching.
SkillAFreshness: AClaude Code +9 - 0.558score
academic-literature
alakbarr
Synthesize mathematical formulations and alpha mechanics from quantitative papers.
SkillAFreshness: AClaude Code +9 - 0.558score
code-optimization
alakbarr
Minimal, dependency-light, async-first software architecture and code optimization.
SkillAFreshness: AClaude Code +9 - 0.558score
codebase-inspection
alakbarr
Monika codebase structure auditing, module navigation, and invariant verification.
SkillAFreshness: AClaude Code +9 - 0.558score
data-science-modeling
alakbarr
Vectorized data processing, TimesFM time-series forecasting, and statistical modeling.
SkillAFreshness: AClaude Code +9 - 0.558score
devops-automation
alakbarr
Monika daemon supervision, Docker VPS deployment, and graceful process management.
SkillAFreshness: AClaude Code +9 - 0.558score
financial-research
alakbarr
Cross-asset research, prediction market analysis, derivatives positioning, and sentiment distillation.
SkillAFreshness: AClaude Code +9 - 0.558score
institutional-document-reporting
alakbarr
Institutional document and pitch deck generation (Word .docx, PowerPoint .pptx, Excel .xlsx, PDF tearsheets).
SkillAFreshness: AClaude Code +9 - 0.558score
adjudication-framework
alakbarr
Stage 2 synthesis adjudication rules for specialist conflict resolution.
SkillAFreshness: AClaude Code +9 - 0.558score
systematic-debugging
alakbarr
Scientific root-cause analysis, log inspection, and defect remediation for Monika.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 12, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/alakbarr/Monika
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from alakbarr
- 0.561score
os-terminal-automation
alakbarr
Universal Terminal & Process Execution Playbook: Controlled shell execution, process monitoring, background task supervision, and operator safety gating.
SkillAFreshness: AClaude Code +9 - 0.561score
desktop-gui-computer-use
alakbarr
Desktop GUI Interaction & Computer Use Playbook: Screen inspection, MetaTrader 5 window snapping, mouse click automation, and keystroke dispatching.
SkillAFreshness: AClaude Code +9 - 0.561score
database-analytics-and-reporting
alakbarr
Direct SQL & Analytical Query Playbook: Schema inspection, safe read-only SQL queries, performance joins, debate transcript exports, and custom metric…
SkillAFreshness: AClaude Code +9 - 0.558score
web-research-fallback
alakbarr
Web research cascade: API, RSS, WebSearch, DrissionPage browser, and PDF parsing.
SkillAFreshness: AClaude Code +9 - 0.558score
code-optimization
alakbarr
Minimal, dependency-light, async-first software architecture and code optimization.
SkillAFreshness: AClaude Code +9 - 0.558score
academic-literature
alakbarr
Synthesize mathematical formulations and alpha mechanics from quantitative papers.
SkillAFreshness: AClaude Code +9
Cite this page
quant-math-verification skill. Agent Mart. https://agentmart.dev/skills/alakbarr-quant-math-verification (last updated 2026-10-24)