diff --git a/docs/cli-usage.md b/docs/cli-usage.md index 97bf273..667e97c 100644 --- a/docs/cli-usage.md +++ b/docs/cli-usage.md @@ -101,7 +101,7 @@ npx gmgn-cli market kline \ |--------|----------|-------------| | `--chain` | Yes | `sol` / `bsc` / `base` | | `--address` | Yes | Token contract address | -| `--resolution` | Yes | Candlestick resolution: `1m` / `5m` / `15m` / `1h` / `4h` / `1d` | +| `--resolution` | Yes | Candlestick resolution: `30s` / `1m` / `5m` / `15m` / `1h` / `4h` / `1d` | | `--from` | No | Start time (Unix seconds) | | `--to` | No | End time (Unix seconds) | diff --git a/skills/gmgn-market/SKILL.md b/skills/gmgn-market/SKILL.md index d5a81a4..a76259b 100644 --- a/skills/gmgn-market/SKILL.md +++ b/skills/gmgn-market/SKILL.md @@ -1,7 +1,7 @@ --- name: gmgn-market description: Get crypto and meme token price charts (K-line, candlestick, OHLCV), trending meme coin rankings by volume, and newly launched tokens on launchpads (pump.fun, fourmeme, letsbonk, Raydium, etc.) via GMGN API on Solana, BSC, Base, or Ethereum. Use when user asks for price chart, trending tokens, what's pumping, hot coins, new launches, token signals, or wants to discover early-stage opportunities. -argument-hint: "kline --chain --address --resolution <1m|5m|15m|1h|4h|1d> [--from ] [--to ] | trending --chain --interval <1m|5m|1h|6h|24h> | trenches --chain | signal --chain " +argument-hint: "kline --chain --address --resolution <30s|1m|5m|15m|1h|4h|1d> [--from ] [--to ] | trending --chain --interval <1m|5m|1h|6h|24h> | trenches --chain | signal --chain " metadata: cliHelp: "gmgn-cli market --help" --- @@ -97,7 +97,7 @@ When a request returns `429`: |-----------|----------|-------------| | `--chain` | Yes | `sol` / `bsc` / `base` / `eth` | | `--address` | Yes | Token contract address | -| `--resolution` | Yes | Candlestick resolution: `1m` / `5m` / `15m` / `1h` / `4h` / `1d` | +| `--resolution` | Yes | Candlestick resolution: `30s` / `1m` / `5m` / `15m` / `1h` / `4h` / `1d` | | `--from` | No | Start time (Unix seconds) | | `--to` | No | End time (Unix seconds) | diff --git a/src/commands/market.ts b/src/commands/market.ts index f7af209..912d632 100644 --- a/src/commands/market.ts +++ b/src/commands/market.ts @@ -28,7 +28,7 @@ export function registerMarketCommands(program: Command): void { .description("Get token K-line (candlestick) data") .requiredOption("--chain ", "Chain: sol / bsc / base / eth") .requiredOption("--address
", "Token contract address") - .requiredOption("--resolution ", "Candlestick resolution: 1m / 5m / 15m / 1h / 4h / 1d") + .requiredOption("--resolution ", "Candlestick resolution: 30s / 1m / 5m / 15m / 1h / 4h / 1d") .option("--from ", "Start time (Unix seconds)", parseInt) .option("--to ", "End time (Unix seconds)", parseInt) .option("--raw", "Output raw JSON")