@evatick/cli 0.4.2 → 0.4.3

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.
Files changed (3) hide show
  1. package/README.md +5 -5
  2. package/lib/cli.js +6 -2
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -35,7 +35,6 @@ eva stock bars --symbol cn:equity:XSHE:000001 \
35
35
  --interval 1d \
36
36
  --start 2026-08-18 \
37
37
  --end 2026-08-21 \
38
- --adjustment forward \
39
38
  --limit 3
40
39
  ```
41
40
 
@@ -43,7 +42,8 @@ eva stock bars --symbol cn:equity:XSHE:000001 \
43
42
 
44
43
  - `eva instrument search` finds canonical financial instruments by name, code,
45
44
  or alias.
46
- - `eva stock bars` queries normalized OHLCV bars.
45
+ - `eva stock bars` queries normalized OHLCV bars with forward adjustment by
46
+ default; pass `--adjustment none` for raw prices.
47
47
  - `eva index constituents` queries index constituent memberships.
48
48
  - `eva futures bars` queries official mainland China futures daily bars.
49
49
  - `eva crypto quotes` queries one explicitly selected cryptocurrency exchange.
@@ -75,9 +75,9 @@ and `eva config show` masks stored keys.
75
75
 
76
76
  EVA Tick is designed as a provider-independent financial data layer. The
77
77
  current public service covers mainland China A-shares; SSE, SZSE, and CSI
78
- indices; CFFEX, SHFE, INE, and CZCE futures; and exchange-scoped Binance and
79
- Coinbase cryptocurrency markets. Availability varies by deployed service and
80
- enabled providers.
78
+ indices; CFFEX, SHFE, INE, CZCE, DCE, and GFEX futures; and exchange-scoped
79
+ Binance and Coinbase cryptocurrency markets. Availability varies by deployed
80
+ service and enabled providers.
81
81
 
82
82
  ## Output and safety
83
83
 
package/lib/cli.js CHANGED
@@ -59,7 +59,7 @@ const HELP = {
59
59
  "index quotes": "Usage: eva index quotes [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
60
60
  "futures quotes": "Usage: eva futures quotes [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
61
61
  "crypto quotes": "Usage: eva crypto quotes [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --venue [BINANCE|COINBASE] [required]\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
62
- "stock bars": "Usage: eva stock bars [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --interval [1m|5m|15m|30m|60m|1d|1w|1mo] [default: 1d]\n --start TEXT\n --end TEXT\n --adjustment [none|forward|backward] [default: none]\n --as-of TEXT\n --limit INTEGER\n --output PATH\n --format [json|jsonl|csv|parquet]\n --overwrite\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
62
+ "stock bars": "Usage: eva stock bars [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --interval [1m|5m|15m|30m|60m|1d|1w|1mo] [default: 1d]\n --start TEXT\n --end TEXT\n --adjustment [none|forward|backward] [default: forward]\n --as-of TEXT\n --limit INTEGER\n --output PATH\n --format [json|jsonl|csv|parquet]\n --overwrite\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
63
63
  "index bars": "Usage: eva index bars [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --interval [1m|5m|15m|30m|60m|1d|1w|1mo] [default: 1d]\n --start TEXT\n --end TEXT\n --adjustment [none|forward|backward] [default: none]\n --as-of TEXT\n --limit INTEGER\n --output PATH\n --format [json|jsonl|csv|parquet]\n --overwrite\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
64
64
  "futures bars": "Usage: eva futures bars [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --interval [1m|5m|15m|30m|60m|1d|1w|1mo] [default: 1d]\n --start TEXT\n --end TEXT\n --adjustment [none|forward|backward] [default: none]\n --as-of TEXT\n --limit INTEGER\n --output PATH\n --format [json|jsonl|csv|parquet]\n --overwrite\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
65
65
  "crypto bars": "Usage: eva crypto bars [OPTIONS]\n\nOptions:\n --symbol TEXT [required]\n --venue [BINANCE|COINBASE] [required]\n --interval [1m|5m|15m|30m|60m|1d|1w|1mo] [default: 1d]\n --start TEXT\n --end TEXT\n --limit INTEGER\n --output PATH\n --format [json|jsonl|csv|parquet]\n --overwrite\n --timeout FLOAT [default: 120]\n --retries INTEGER [default: 2]\n --help\n",
@@ -348,7 +348,11 @@ async function dispatch(context, command, subcommand, arguments_) {
348
348
  start: { type: "string" },
349
349
  end: { type: "string" },
350
350
  ...(command === "crypto" ? {} : {
351
- adjustment: { type: "choice", choices: ["none", "forward", "backward"], default: "none" },
351
+ adjustment: {
352
+ type: "choice",
353
+ choices: ["none", "forward", "backward"],
354
+ default: command === "stock" ? "forward" : "none",
355
+ },
352
356
  "as-of": { type: "string" },
353
357
  }),
354
358
  ...dataDefinitions,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@evatick/cli",
3
- "version": "0.4.2",
4
- "description": "EVA Tick CLI for deterministic, machine-readable financial data queries by AI agents, LLMs, and automation",
3
+ "version": "0.4.3",
4
+ "description": "EVA Tick CLI for deterministic A-share, Chinese index, mainland futures, and exchange-scoped crypto market data",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",