mirror of
https://ghfast.top/https://github.com/aeroxw/easy-tdx.git
synced 2026-09-12 14:34:15 +08:00
- Add backtest section to README with CLI usage and run_all_strategies.py demo - Update all version numbers to 1.8.0 (pyproject.toml, __init__.py, cli/__init__.py, docs/conf.py) - Fix turtle_breakout strategy: TAQ returns 3 values (UP, MID, DOWN) - Add run_all_strategies.py batch comparison script - Update README intro to highlight backtest feature - Add backtest to CLI command table and architecture tree Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
32 lines
752 B
TOML
32 lines
752 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "easy-tdx"
|
|
version = "1.8.0"
|
|
description = "通达信 TCP 协议行情数据客户端,支持在线行情、离线数据读取与写入同步"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = ["pandas>=2.0", "tzdata>=2024.1", "click>=8.0"]
|
|
|
|
[project.scripts]
|
|
easy-tdx = "easy_tdx.cli:cli" # cli/__init__.py exposes the click group
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0", "pytest-cov", "mypy>=1.9", "ruff>=0.4"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/easy_tdx"]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
python_version = "3.10"
|
|
|
|
[tool.ruff]
|
|
target-version = "py310"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP"]
|