Harmonic Patterns signal engine. Identifies XABCD five-point structures such as Gartley/Bat/Butterfly/Crab based on Fibonacci geometry, and generates trading si
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-harmonic-95be62437432 ,按照其中的说明把「harmonic」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
The Fibonacci geometry school uses precise ratio relationships to identify price patterns:
| Pattern | B-Point Retracement | D-Point Retracement | Direction |
|---|---|---|---|
| Gartley | 0.618 XA | 0.786 XA | Reversal |
| Bat | 0.382-0.5 XA | 0.886 XA | Reversal |
| Butterfly | 0.786 XA | 1.27 XA | Reversal |
| Crab | 0.382-0.618 XA | 1.618 XA | Reversal |
pip install "vibe-trading-ai[harmonic]"
pyharmonics is optional. If the extra is not installed, the example signal
engine falls back to the bundled detector.
| Parameter | Default | Description |
|---|---|---|
| is_stock | False | Whether the instrument is a stock (affects analysis parameters) |
1 = long, -1 = short, 0 = stand aside