trading-strategy-backtest

Convert natural-language trading strategies into Python pandas backtests and dashboards.

12|2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/haomingz/kimi-skills --skill trading-strategy-backtest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trading-strategy-backtest
Source: https://github.com/haomingz/kimi-skills/tree/main/skills/trading-strategy-backtest
Command: npx skills add https://github.com/haomingz/kimi-skills --skill trading-strategy-backtest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translate a plain-language description of trading strategies (including event-driven logic, stock screening, and portfolio construction) into a runnable backtest script and a comprehensive performance dashboard.

Core Features & Use Cases

  • Converts natural-language strategy descriptions into deterministic Python + pandas backtests with next-day-open execution to avoid look-ahead.
  • Outputs standard backtest artifacts: equity curve, trades, and a summary, plus an HTML dashboard for insights.
  • Supports event-driven signals, multi-symbol portfolios, warmup handling, and market-specific rules (A/HK/U.S. as described in the referenced rules).
  • Provides an auditable narrative of methods, limitations, and potential biases for responsible interpretation.

Quick Start

Describe your trading idea in natural language and the Skill will output a runnable backtest plus a dashboard ready for review.

Frequently Asked Questions about trading-strategy-backtest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I backtest a trading strategy described in natural language?

To backtest a trading strategy from natural language, this Skill converts plain-text descriptions into a runnable Python and pandas script, generating an equity curve, trades, and a summary for an HTML dashboard.

How does event-driven backtesting handle look-ahead bias?

Event-driven backtesting here prevents look-ahead bias by enforcing next-day-open execution, ensuring trades only act on information available after the signal triggers without using future data.

Can I run portfolio backtests across multiple symbols with pandas?

Yes, you can run portfolio backtests across multiple symbols and date ranges with pandas, handling stock screening and portfolio construction logic directly from natural-language inputs.

What is the best way to generate a performance dashboard from an equity curve?

The best way to generate a performance dashboard is producing standard backtest artifacts like equity curves, trades, and summary JSON, which render into a shareable HTML dashboard for insights.

Does this backtesting approach support warmup handling for stock screening?

Yes, this backtesting approach supports warmup handling and stock screening, accommodating event-driven signals and market-specific rules across A/HK/U.S. markets as described in the referenced rules.

What are the limitations of using natural language for trading strategy backtests?

Limitations of natural-language backtests include potential interpretation biases, which the Skill mitigates by providing an auditable narrative of methods and limitations for responsible analysis.