@alphafox/cli 0.3.17 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog/allowlist.d.ts +6 -6
- package/dist/catalog/allowlist.js +15 -6
- package/dist/catalog/generated/registry.json +8 -32
- package/dist/catalog/generated/schemas.json +516 -759
- package/dist/commands/run.js +12 -7
- package/dist/skills-manifest.json +41 -41
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/agents/issue-tracker.md +25 -136
- package/docs/agents/triage-labels.md +10 -13
- package/package.json +1 -1
- package/skills/account/SKILL.md +1 -1
- package/skills/admin/SKILL.md +25 -2
- package/skills/alphafox/SKILL.md +1 -1
- package/skills/alphafox-shared/SKILL.md +1 -1
- package/skills/auth/SKILL.md +1 -1
- package/skills/cache/SKILL.md +1 -1
- package/skills/engine-backtest/SKILL.md +1 -1
- package/skills/exchange/SKILL.md +1 -1
- package/skills/market/SKILL.md +1 -1
- package/skills/notification/SKILL.md +1 -1
- package/skills/strategy/SKILL.md +1 -1
- package/skills/trading/SKILL.md +1 -11
package/skills/trading/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: alphafox-trading
|
|
3
3
|
description: Running strategies (traders) — create, list, start, and stop. A trader is a live or paper strategy instance (grid, dca, copy, …), not a person. Default Engine create uses autoStart true (创建即开始). Use autoStart false only when the user asks to create without starting. After create or start, include https://www.alphafox.app/zh/dashboard/traders/{traderId}.
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.19
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Running strategies (traders)
|
|
@@ -19,7 +19,6 @@ Pick the create operation from the definition the operator asked for:
|
|
|
19
19
|
| Engine definitions (grid, dca, …) | `trading.traders.create` |
|
|
20
20
|
| Hyperliquid copy | `trading.hl_copy_traders.create` |
|
|
21
21
|
| Rebate copy | `trading.rebate_copy_traders.create` |
|
|
22
|
-
| Passivbot v8 paper acceptance | `trading.passivbot_paper_acceptance_traders.create` |
|
|
23
22
|
|
|
24
23
|
Copy leads come from `trading.signal_sources.list` when the operator named one. Same trader lifecycle (list / start / stop) after create.
|
|
25
24
|
|
|
@@ -41,14 +40,6 @@ alphafox trading traders create --config @./create-trader.json --yes --format js
|
|
|
41
40
|
|
|
42
41
|
`trading.traders.create` is `high-risk-write` and needs `--yes`. Copy creates follow whatever `risk` the schema reports — `--dry-run` first, then `--yes` when required.
|
|
43
42
|
|
|
44
|
-
Passivbot v8 acceptance uses the dedicated operation below. It fixes the hidden definition server-side, accepts only an internal paper connector, and requires the authenticated user to hold an admin role.
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
alphafox schema trading.passivbot_paper_acceptance_traders.create --format json --no-input
|
|
48
|
-
alphafox trading passivbot_paper_acceptance_traders create --config @./create-passivbot-paper.json --dry-run --format json --no-input
|
|
49
|
-
alphafox trading passivbot_paper_acceptance_traders create --config @./create-passivbot-paper.json --format json --no-input
|
|
50
|
-
```
|
|
51
|
-
|
|
52
43
|
Default Engine create is **创建即开始**: set `autoStart` to `true` in the body. Omitting `autoStart` is not the same — the server treats a missing flag as do-not-start. Use `autoStart: false` only when the operator explicitly asks to create without starting (创建但不启动 / 暂时不开始 / 先创建不要跑). Do not create-then-`byId.start` as the default path.
|
|
53
44
|
|
|
54
45
|
After a successful create (or a later start), include the trader dashboard URL from `alphafox-shared` (`https://www.alphafox.app/zh/dashboard/traders/{traderId}`).
|
|
@@ -89,7 +80,6 @@ alphafox trading traders byId stop --traderId <id> --body '{"closePositions":fal
|
|
|
89
80
|
- `trading.traders.create`
|
|
90
81
|
- `trading.hl_copy_traders.create`
|
|
91
82
|
- `trading.rebate_copy_traders.create`
|
|
92
|
-
- `trading.passivbot_paper_acceptance_traders.create`
|
|
93
83
|
- `trading.signal_sources.list`
|
|
94
84
|
- `trading.traders.byId.start`
|
|
95
85
|
- `trading.traders.byId.stop`
|