ワンクリックで
quant-trading
Quantitative trading strategy development, backtesting, and risk management
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Quantitative trading strategy development, backtesting, and risk management
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | quant-trading |
| description | Quantitative trading strategy development, backtesting, and risk management |
| schema | 1.0 |
| version | 1.1.0 |
| triggers | {"keywords":{"primary":["quant","trading","quantitative","trade","backtest","backtesting","algo-trading","algorithmic trading"],"secondary":["strategy","strategy design","factor","factor model","arbitrage","arbitrage trading","hedge","hedging"]},"context_boost":["python","pandas","numpy","finance","investment","stock","futures"],"context_penalty":["design","marketing","frontend"],"priority":"high"} |
| keywords | ["finance","trading","quantitative","investment"] |
| dependencies | {"software-skills":["python","database","data-analysis"]} |
| author | claude-domain-skills |
| metadata | {"mcpmarket-version":"1.0.0"} |
Systematic, data-driven trading strategy development
Hypothesis → Data prep → Strategy coding → Backtest validation → Risk control → Live monitoring
| Type | Description | Risk |
|---|---|---|
| Trend following | Go with the trend, buy strength / sell weakness | Loses in choppy markets |
| Mean reversion | Revert after price deviates | Loses in trending markets |
| Statistical arbitrage | Pairs trading, spread convergence | Correlation breakdown |
| High-frequency trading | Capturing spreads at microsecond scale | High technical risk |
| Metric | Formula | Healthy Standard |
|---|---|---|
| Sharpe ratio | (Return - risk-free) / std dev | > 1.5 |
| Maximum drawdown | Largest peak-to-trough decline | < 20% |
| Calmar ratio | Annualized return / max drawdown | > 1.0 |
| Win rate | Winning trades / total trades | > 50% |
| Factor | Description | Rationale |
|---|---|---|
| Value | Low P/E, P/B | Cheap stocks outperform long term |
| Momentum | Past winners keep winning | Trend persistence |
| Quality | High ROE, low debt | Premium for good companies |
| Size | Small-cap premium | Liquidity compensation |
| Volatility | Low-volatility anomaly | Low risk, high return |
| Mistake | Correct Approach |
|---|---|
| Going live because backtest returns look amazing | Check for overfitting |
| Ignoring trading costs | Add realistic commissions and slippage |
| Training on all the data | Split into train/validation/test sets |
| All-in on a single strategy | Diversify with a multi-strategy portfolio |
sharpe.*[3-9]\.|sharpe.*\d{2,}shift\(-|iloc\[-1\].*todaysignal = prices.shift(1) > ma.shift(1)Layer 1 – Trade level: 2% per-trade stop-loss, set take-profit based on volatility, trailing stop to protect profit Layer 2 – Strategy level: No single strategy over 20% of total capital, halve position when drawdown exceeds 15% Layer 3 – Portfolio level: Daily VaR no more than 2%, stress testing, keep 20% cash
f* = (p × b - q) / b
f* = optimal bet fraction, p = win rate, q = loss rate, b = odds
Example: win rate 55%, odds 1.5 → f* = 25% (in practice use Half-Kelly, 12.5%)
| Risk | Description | Countermeasure |
|---|---|---|
| Slippage | Fill price differs from expected | Limit orders, split execution |
| Liquidity | Can't fill enough size | Avoid small caps, set size caps |
| System failure | Program/network outage | Backup systems, manual monitoring |
| Black swan | Extreme events | Position caps, stop-loss mechanisms |
Quantitative trading involves high risk; past performance does not indicate future results. This content is for educational reference only and does not constitute investment advice.