@ariestools/cli 0.1.18 → 0.1.20

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/README.md CHANGED
@@ -17,6 +17,7 @@ aries --help
17
17
  aries info
18
18
  aries hash --algorithm pdq ./photo.jpg
19
19
  ariesi plex libraries
20
+ ariesi gate pair ticker BTC_USDT
20
21
  aries wallet create
21
22
  aries witness url --url https://example.com
22
23
  aries datalake list
@@ -62,6 +63,7 @@ aries bank Manage bank witness settings
62
63
  aries chain Run a local published-chain S3/REST server
63
64
  aries clamp Run commands inside a permission-controlled sandbox
64
65
  aries datalake Provision and manage on-demand XL1 datalakes
66
+ ariesi gate Query the Gate exchange API (internal build)
65
67
  aries hash [file] Generate a hash (sha256, xyo, fuzzy, perceptual)
66
68
  aries info Display version and environment info
67
69
  aries npmjs Inspect and lint npmjs org packages
@@ -283,6 +285,62 @@ List items currently in Plex's optimizer queue. When `--library` is omitted, Ari
283
285
 
284
286
  ---
285
287
 
288
+ ## `ariesi gate` — Gate exchange API
289
+
290
+ The Gate command is available from the internal `ariesi` build with
291
+ `license.tier=internal`.
292
+
293
+ A read-only client for the [Gate](https://www.gate.com) exchange REST API (v4). It calls only
294
+ unauthenticated public spot endpoints — no API key is read, and nothing is ever traded.
295
+
296
+ These options are available on every `gate` subcommand:
297
+
298
+ | Option | Default | Description |
299
+ |---|---|---|
300
+ | `--base-url <url>` | `ARIES_GATE_API_URL`, `GATE_API_URL`, or `https://api.gateio.ws/api/v4` | Gate API v4 base URL |
301
+ | `--json` | `false` | Output as JSON |
302
+
303
+ ### `ariesi gate pair list <symbol>`
304
+
305
+ List every Gate spot pair that trades `<symbol>`. The symbol matches on either side of the pair by default, so `BTC` returns both `BTC_USDT` (where it is the base) and `ETH_BTC` (where it is the quote). Pairs that are not currently tradable are hidden unless `--all` is passed.
306
+
307
+ | Option | Default | Description |
308
+ |---|---|---|
309
+ | `--side any\|base\|quote` | `any` | Match the symbol only as the base or only as the quote currency |
310
+ | `--all` | `false` | Include pairs whose trade status is not `tradable` |
311
+
312
+ ```sh
313
+ ariesi gate pair list XYO
314
+ ```
315
+
316
+ ```text
317
+ XYO_ETH XYO Network / Ethereum fee 0.2%
318
+ XYO_USDT XYO Network / Tether fee 0.2%
319
+ 2 pair(s) for XYO
320
+ ```
321
+
322
+ ### `ariesi gate pair ticker <pair>`
323
+
324
+ Show the 24-hour spot ticker for a single pair — last price, change, bid/ask, high/low, and base + quote volume.
325
+
326
+ The pair can be written as one argument (`BTC_USDT`, `BTC/USDT`, `BTC-USDT`, or a **quoted** `"BTC|USDT"` — an unquoted pipe is consumed by the shell before Aries sees it), or as its two halves in separate arguments (`BTC USDT`).
327
+
328
+ ```sh
329
+ ariesi gate pair ticker BTC_USDT
330
+ ```
331
+
332
+ ```text
333
+ BTC_USDT
334
+ last 78862
335
+ change 24h +0.04%
336
+ bid / ask 78861.9 / 78862
337
+ high / low 79235.9 / 77638.6
338
+ base volume 4902.5960069814 BTC
339
+ quote volume 384979909.02896446684 USDT
340
+ ```
341
+
342
+ ---
343
+
286
344
  ## `aries ai` — AI client tools
287
345
 
288
346
  ### `aries ai detect`