a-stock-backtest

Community

Backtest A-share strategies from 60-minute data.

AuthorKeynesZZZ
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This tool provides an end-to-end backtesting workflow for A-share strategies by converting local 60-minute bar data into daily bars, storing results in SQLite, and enabling full-market testing, parameter configuration, visualization, and strategy comparison.

Core Features & Use Cases

  • Full-market backtesting across all A-shares with user-defined date ranges.
  • Automatic 60-minute data aggregation into daily bars with efficient storage in SQLite.
  • Configurable backtest parameters (holding periods, risk controls, costs) and flexible stock pools.
  • Visualizations and reports for performance, drawdown, and strategy comparison to support optimization and decision making.
  • Support for multiple strategies and side-by-side comparison to identify best-performing configurations.

Quick Start

Run a default backtest with your local 60-minute A-share data and review the output.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: a-stock-backtest
Download link: https://github.com/KeynesZZZ/Common/archive/main.zip#a-stock-backtest

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.