Options Trading Backtester
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_15292d5a/yjkj-options-trading-backtester.
About this skill
Problem
Before deploying an options strategy, the hard part is not finding an idea but checking implied volatility, expiration, leg count, and commissions together. This skill is an event-driven backtester designed to test strategy behavior against synthetic data or real historical data, reducing reliance on intuition alone.
Core workflow
- Covers common option structures such as
Iron Condor,Strangle,Calendar Spread, andVertical Credit Spread. - Uses the default strategy configuration in
config/strategies.jsonas the starting point for backtests. - Applies trade filters when events trigger: the source material mentions rejecting trades that do not meet the
IVthreshold, with an example value of0.50, and skipping trades whendays to expiration < 14to avoid gamma-crush risk near expiry. - Models commission at
$0.65/contract, with a four-leg round trip costing about$2.60.
Boundaries
It is better used for strategy screening and parameter checks: input data quality, configuration items, and threshold rules directly affect results. The source material does not cover live execution, slippage, liquidity, or order matching, so backtest scores should not be treated as expected live returns.
Use Cases
- Use synthetic option data to backtest Iron Condors and check rejection rates when IV falls below the threshold.
- Adjust Strangle leg spacing from config/strategies.json and compare post-commission returns across expirations.
- Simulate Calendar Spread triggers to inspect time-decay behavior and pre-expiration filtering.
- Estimate four-leg commissions and max loss for Vertical Credit Spreads on real historical data.
Best For
- Options quant researchers who need to validate multi-leg strategy behavior under IV and DTE filters.
- Strategy config maintainers who need to review leg spacing, commissions, and rejection rules in strategies.json.
- Risk engineers who need to assess how skipping near-expiration trades reduces gamma-crush exposure.
- Trading team developers who need to connect backtest event logs into strategy review for costs and rejections.
Related Skills
Generate Markdown public opinion reports by calling an internal service with MIDU_API_KEY.
Extracts Google AI Mode answers, standard SERP, AI Overviews, and citations via Pangolin APIs, with multi-turn follow-ups and region support.
Provides break-even analysis frameworks and templates without code execution, outputting structured recommendations.
Generate web reports from existing analysis data with classic or PPT-style layouts, Chart.js charts, and keyboard/touch navigation.