@vike-io/cli 0.17.0 → 0.17.2
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/CHANGELOG.md +12 -0
- package/README.md +13 -5
- package/package.json +2 -2
- package/skills/vike-pm-l2-archive/SKILL.md +2 -2
- package/src/commands/hl.js +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.17.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 217b4e6: Licence text corrected: the Polymarket archive is CC BY-NC 4.0 (since 2026-11-05; earlier downloads stay CC BY 4.0), and API/MCP responses fall under the Vike Terms of Service. README, package description, the archive skill and the example now say so.
|
|
8
|
+
|
|
9
|
+
## 0.17.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 35213ce: `hl market --view funding_rates`: every perp's latest funding rate, or with `--symbol` one perp's hourly history, HIP-3 markets such as `xyz:CL` included. The view is now listed in the help, `--order desc|asc` is new, and `--sort` takes `oi`, `rate` or `abs_rate` on this view.
|
|
14
|
+
|
|
3
15
|
## 0.17.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
positions, fills, funding, liquidations, candles, and hourly long/short positioning by wallet
|
|
13
13
|
cohort), **Polymarket** (markets, the trade and event tape, order-book snapshots, candles and
|
|
14
14
|
on-chain settlements, plus a daily Parquet archive of the full L2 order book since 2026-07-25,
|
|
15
|
-
licensed CC BY 4.0), and **labelled EVM wallets** on Ethereum and BNB Chain, with Base and HyperEVM
|
|
15
|
+
licensed CC BY-NC 4.0), and **labelled EVM wallets** on Ethereum and BNB Chain, with Base and HyperEVM
|
|
16
16
|
for the wallet and token tools. The same data is served three ways: an **MCP server** at `https://data.vike.io/mcp` (the one
|
|
17
17
|
this CLI calls), a **REST API** at `https://data.vike.io/v1/`, and the **Parquet archive** at
|
|
18
18
|
`https://data.vike.io/archive/`. A key allows 20,000 requests an hour, and an account can hold up
|
|
@@ -51,7 +51,7 @@ The key is read from `VIKE_API_KEY` first, then from `~/.vike/config.json`
|
|
|
51
51
|
|
|
52
52
|
| Dataset | What is in it | Access | Page |
|
|
53
53
|
|---|---|---|---|
|
|
54
|
-
| **Polymarket historical order book** (archive) | `book_events` (full L2: snapshots, `price_change` deltas, trades, tick-size and status markers), `trades` (taker tape), `l1_quotes` (derived top of book). One Parquet file per stream per UTC day since 2026-07-25, every recorded market (crypto up/down, sports, politics). CC BY 4.0. | Manifest + sample: no key. Full days: free key. | [polymarket-historical-data](https://vike.io/data/polymarket-historical-data) |
|
|
54
|
+
| **Polymarket historical order book** (archive) | `book_events` (full L2: snapshots, `price_change` deltas, trades, tick-size and status markers), `trades` (taker tape), `l1_quotes` (derived top of book). One Parquet file per stream per UTC day since 2026-07-25, every recorded market (crypto up/down, sports, politics). CC BY-NC 4.0. | Manifest + sample: no key. Full days: free key. | [polymarket-historical-data](https://vike.io/data/polymarket-historical-data) |
|
|
55
55
|
| **Polymarket up/down families** (archive) | The same archive cut per market family, `asset=btc/tenor=5m` and so on, with an `asset=other/tenor=other` catch-all | free key | [polymarket-updown-markets](https://vike.io/data/polymarket-updown-markets) |
|
|
56
56
|
| **Polymarket API** `/v1/polymarket` | Markets, the raw event and trade tape (about 30 days back), order-book snapshots, candles, on-chain settlements | free key | [polymarket](https://vike.io/data/polymarket) |
|
|
57
57
|
| **Hyperliquid cohorts** `/v1/hyperliquid/coins/{coin}/cohort-metrics` | Long vs short per cohort, hourly, up to 8,760 hours in one request. Axes: `size` (account value, shrimp to 4x whale), `tier` (position notional), `pnl` (realized-PnL percentile), `pnl_abs` (PnL in dollars). `labelBasis=point_in_time` grades each hour with the label it had then (from 2026-04-07). | free key | [hl-cohorts](https://vike.io/data/hl-cohorts) |
|
|
@@ -228,9 +228,17 @@ and a random device id. It never sends what you queried, and it is off when `CI`
|
|
|
228
228
|
|
|
229
229
|
## License
|
|
230
230
|
|
|
231
|
-
The CLI is MIT, see [LICENSE](LICENSE). Archive data files are CC BY 4.0: use them for
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
The CLI is MIT, see [LICENSE](LICENSE). Archive data files are CC BY-NC 4.0: use them for
|
|
232
|
+
non-commercial purposes (research, personal projects, education, trading your own capital) and credit
|
|
233
|
+
Vike ("Polymarket L2 archive (c) Vike (vike.io/data), CC BY-NC 4.0"). Commercial use needs a separate
|
|
234
|
+
licence: info@vike.io. Files downloaded before 2026-11-05 stay under CC BY 4.0, the licence they came with.
|
|
235
|
+
|
|
236
|
+
API and MCP responses are covered by the [Terms of Service](https://vike.io/terms) (section 7), not by the
|
|
237
|
+
archive licence: personal, non-commercial use; commercial use, on any plan, needs a written agreement
|
|
238
|
+
(info@vike.io). You may publish charts, tables, screenshots, backtest and research results, and other aggregated results from on-chain, Hyperliquid and
|
|
239
|
+
Polymarket data, and short excerpts of rows (up to 100 per publication), credited "© Vike (vike.io)";
|
|
240
|
+
bulk data and full datasets stay out.
|
|
241
|
+
Details: [vike.io/data/licensing](https://vike.io/data/licensing).
|
|
234
242
|
|
|
235
243
|
## Links
|
|
236
244
|
|
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.17.
|
|
7
|
-
"description": "CLI, agent skills and MCP client for the free Vike Data API: a Polymarket full-L2 order-book archive in Parquet (CC BY 4.0), Hyperliquid positions, fills and cohorts, and labelled Ethereum/BNB wallets",
|
|
6
|
+
"version": "0.17.2",
|
|
7
|
+
"description": "CLI, agent skills and MCP client for the free Vike Data API: a Polymarket full-L2 order-book archive in Parquet (CC BY-NC 4.0), Hyperliquid positions, fills and cohorts, and labelled Ethereum/BNB wallets",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "src/index.js",
|
|
10
10
|
"bin": {
|
|
@@ -6,7 +6,7 @@ allowed-tools: Bash(vike-data:*)
|
|
|
6
6
|
|
|
7
7
|
# vike-pm-l2-archive
|
|
8
8
|
|
|
9
|
-
The archive is one Parquet file per UTC day and stream, recorded since 2026-07-25, free under CC BY 4.0 (credit "Polymarket L2 archive (c) Vike (vike.io/data), CC BY 4.0"). `vike-data` lists files and resolves links; **it never downloads.** 1 credit per call.
|
|
9
|
+
The archive is one Parquet file per UTC day and stream, recorded since 2026-07-25, free for non-commercial use under CC BY-NC 4.0 (credit "Polymarket L2 archive (c) Vike (vike.io/data), CC BY-NC 4.0"; commercial use needs a licence from info@vike.io). `vike-data` lists files and resolves links; **it never downloads.** 1 credit per call.
|
|
10
10
|
|
|
11
11
|
## Chain
|
|
12
12
|
|
|
@@ -42,7 +42,7 @@ The link needs no API key and is valid for 7 days (`expires_at`): treat it as a
|
|
|
42
42
|
## Anti-patterns
|
|
43
43
|
|
|
44
44
|
- Don't promise a download from the CLI, and don't fetch `book_events` days to answer a question the API tape can.
|
|
45
|
-
- Don't redistribute without the attribution above.
|
|
45
|
+
- Don't redistribute without the attribution above, and don't use the files commercially without a licence.
|
|
46
46
|
|
|
47
47
|
## Pairs well with
|
|
48
48
|
|
package/src/commands/hl.js
CHANGED
|
@@ -108,15 +108,16 @@ export function registerHl(program) {
|
|
|
108
108
|
|
|
109
109
|
addTool(hl, 'market', {
|
|
110
110
|
tool: 'hl_market',
|
|
111
|
-
desc: 'Open interest per symbol, one symbol\'s hourly series, size breakdown, positions, indices or
|
|
111
|
+
desc: 'Open interest per symbol, one symbol\'s hourly series, size breakdown, positions, indices, large fills or funding rates',
|
|
112
112
|
options: [
|
|
113
|
-
view(['open_interest', 'symbol_metrics', 'size_breakdown', 'positions', 'indices', 'large_fills', 'hourly']),
|
|
114
|
-
['--symbol <s>', 'One symbol (required by every view but open_interest, positions and hourly)'],
|
|
113
|
+
view(['open_interest', 'symbol_metrics', 'size_breakdown', 'positions', 'indices', 'large_fills', 'hourly', 'funding_rates']),
|
|
114
|
+
['--symbol <s>', 'One symbol (required by every view but open_interest, positions, hourly and funding_rates; on funding_rates it switches the board of every perp to that perp\'s hourly history)'],
|
|
115
115
|
['--symbols <list>', 'hourly: comma-separated perps, at most 64 (close, open interest, funding, premium)'],
|
|
116
116
|
['--days <n>', 'hourly: days back from --end, 1-400 (default 120)'],
|
|
117
117
|
WALLET, AXIS, COHORT, OPENED, START, END,
|
|
118
118
|
['--open-only <bool>', 'positions: true (default) = latest open; false needs --start'],
|
|
119
|
-
['--sort <s>', 'positions: size = biggest positions of one --symbol first'],
|
|
119
|
+
['--sort <s>', 'positions: size = biggest positions of one --symbol first; funding_rates (the board): oi (default) | rate | abs_rate'],
|
|
120
|
+
['--order <o>', 'funding_rates: desc (default: the board largest first, a history newest hour first) | asc'],
|
|
120
121
|
['--resolution <r>', 'positions history: 5m | 1h'],
|
|
121
122
|
['--label-basis <b>', 'symbol_metrics: current'],
|
|
122
123
|
['--hours <n>', 'indices: window in hours; large_fills: look-back, max 24'],
|