bd0605072f49eeba7fcb35215ab68851edcd3d43
Chinese Equity Quant Research Framework
A modular Chinese A-share quant research framework built on backtrader for backtesting, with akshare (primary) and baostock (fallback) for daily bar data.
Install
pip install -r requirements.txt
Quick start
python3 run_example.py # end-to-end smoke test (SMA crossover on 浦发银行)
python3 -m pytest tests/ -v # run tests
Layout
data/— unified downloader (akshare -> baostock fallback) and data schemabacktest/— config, pandas->backtrader feed adapter, andBacktestRunnerstrategies/— exampleSmaCrossstrategyanalysis/— performance reporting (sharpe, drawdown, returns, trades)
Description
Languages
Python
99.4%
Shell
0.6%