From dbe3eec697dc7101e18640874db39cbe2be755fd Mon Sep 17 00:00:00 2001 From: David Lau Date: Wed, 8 Apr 2026 15:03:22 +0800 Subject: [PATCH] docs(swap): require group_tag in order strategy list; add list examples - Mark --group-tag as required (LimitOrder or STMix) - Add usage examples: STMix for condition orders, LimitOrder for limit orders Co-Authored-By: Claude Sonnet 4.6 --- skills/gmgn-swap/SKILL.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/skills/gmgn-swap/SKILL.md b/skills/gmgn-swap/SKILL.md index 4e2720d..865146d 100644 --- a/skills/gmgn-swap/SKILL.md +++ b/skills/gmgn-swap/SKILL.md @@ -380,7 +380,7 @@ Convert `filled_input_amount` and `filled_output_amount` from smallest unit usin | `--chain` | Yes | `sol` / `bsc` / `base` | | `--type` | No | `open` (default) / `history` | | `--from` | No | Filter by wallet address | -| `--group-tag` | No | Filter by order group: `LimitOrder` (limit orders only) / `STMix` (mixed strategy orders: take-profit, stop-loss, trailing take-profit, trailing stop-loss) | +| `--group-tag` | Yes | Filter by order group: `LimitOrder` (limit orders only) / `STMix` (mixed strategy orders: take-profit, stop-loss, trailing take-profit, trailing stop-loss) | | `--base-token` | No | Filter by token address | | `--page-token` | No | Pagination cursor from previous response | | `--limit` | No | Results per page (default 10 for history) | @@ -430,11 +430,17 @@ gmgn-cli order strategy create \ --amount-in-percent 100 \ --slippage 0.01 -# List open strategy orders -gmgn-cli order strategy list --chain sol +# List open condition orders (profit_stop / loss_stop / trace types) — use STMix +gmgn-cli order strategy list --chain sol --group-tag STMix -# List history orders with pagination -gmgn-cli order strategy list --chain sol --type history --limit 20 +# List open limit orders (buy_low / buy_high / stop_loss / take_profit) — use LimitOrder +gmgn-cli order strategy list --chain sol --group-tag LimitOrder + +# List condition order history with pagination +gmgn-cli order strategy list --chain sol --group-tag STMix --type history --limit 20 + +# Filter by token +gmgn-cli order strategy list --chain sol --group-tag STMix --base-token # Cancel a strategy order gmgn-cli order strategy cancel \