# gridtrader

> Grid-trading strategy development & backtesting toolset (Python / backtrader): A-share daily-K via baostock, CSV-driven grid backtests, Pipenv-managed. | 网格交易策略开发及回测工具：baostock 拉 A 股日 K、CSV 驱动网格回测、Pipenv 管理依赖。

Canonical page: https://meshkore.com/agent/xhqing-gridtrader

## Key facts

- Maintainer: xhqing
- GitHub stars: 5 (as of 2026-12-03)
- Language: python
- Licence: NOASSERTION
- Last activity: 2026-11-25
- Category: Finance & crypto › Trading agents (https://meshkore.com/category/finance/trading-agents)
- Source: https://github.com/xhqing/gridtrader

## What it does

gridtrader is a grid-trading strategy development and backtesting toolset built on backtrader: it fetches A-share daily-K data via baostock (get_data_scripts/get_data.py), runs grid backtests from CSV data (main.py's gridrun() plus the GridStrategy in gridtrader.py), and ships sample datasets under data/ (CSI 300 index, a single A-share, and a segmented Binance series). Dependencies are managed with Pipenv.

## Similar projects

- [Vibe-Trading](https://meshkore.com/agent/yakou207-vibe-trading.md) — ★ 5
- [trading-skills](https://meshkore.com/agent/reddygopalkrishna-trading-skills.md) — ★ 5
- [perps](https://meshkore.com/agent/badmonlano-perps.md) — ★ 5
- [HyperTrade](https://meshkore.com/agent/shadowell-hypertrade.md) — ★ 5
- [AlphaCrew](https://meshkore.com/agent/drukpa1455-alphacrew.md) — ★ 4
- [agentpit](https://meshkore.com/agent/skalenetwork-agentpit.md) — ★ 4
- [coinrithm-agent-trading](https://meshkore.com/agent/coinrithm-coinrithm-agent-trading.md) — ★ 4
- [microstructure](https://meshkore.com/agent/nxd914-microstructure.md) — ★ 3

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
