Repository navigation
Commit 696644d
authored
Variable 1-10 splits, any-symbol support, MCP server, tests + Python CI (#2)
tp_levels accepts 1-10 levels with optional validated volume_split (legacy 5-level behavior preserved via the default 60/10/10/10/10). Any-symbol support: volumes snap to broker lot step, prices normalize to symbol digits. New MCP server (FastMCP stdio) wrapping the REST bridge with trading tools gated behind MT5_MCP_ENABLE_TRADING. 12 pytest cases + ci-python.yml workflow. Fixes a latent liveness bug where pending orders were treated as closed positions, self-destructing group tracking one tick after placement (trailing/safe-shutdown silently dead for unfilled groups). Adds docs/ROADMAP.md. Verified: MetaEditor 0/0, 12/12 tests, MCP imports both modes.1 parent 4576a8d commit 696644d
11 files changed
Lines changed: 1247 additions & 106 deletions
File tree
- .github/workflows
- docs
- superpowers/specs
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
Large diffs are not rendered by default.
0 commit comments