mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 15:44:18 +08:00
release: v1.8.0 - backtest engine with batch strategy comparison
- 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>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
70c69c8a66
commit
b5b5d0dc5b
@@ -16,7 +16,7 @@ class TurtleStrategy(Strategy):
|
||||
"""海龟交易法(唐安奇通道突破)策略。"""
|
||||
|
||||
def init(self) -> None:
|
||||
self.upper, self.lower = self.I(MyTT.TAQ, self.data.high, self.data.low, 20)
|
||||
self.upper, _, self.lower = self.I(MyTT.TAQ, self.data.high, self.data.low, 20)
|
||||
|
||||
def next(self) -> None:
|
||||
cur = self.data.close[0]
|
||||
|
||||
Reference in New Issue
Block a user