vike-pm-l2-archive
Find and fetch the Polymarket L2 archive - daily Parquet files of the full order-book events, the trade tape and top-of-book quotes, whole, or by Polymarket…
от vikeio171 установка в других каталогах
Установить vike-pm-l2-archive в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
vike-pm-l2-archive
The archive is one Parquet file per UTC day and stream, recorded since 2026-07-25, for personal use under the Vike Terms of Service (credit "Polymarket L2 archive (c) Vike (vike.io/data)"; commercial use needs a written agreement: [email protected]). vike-data lists files and resolves links; it never downloads. 1 credit per call.
Chain
vike-data polymarket archive --view datasets --asset btc --tenor 5m --stream trades --date-from 2026-10-15 --date-to 2026-10-17 --json
vike-data polymarket archive --view url --stream trades --date 2026-10-16 --json > link.json # multi-asset file, one day
vike-data polymarket archive --view url --stream trades --asset btc --tenor 5m --date 2026-10-16 --json > link.json # family file
vike-data polymarket archive --view url --stream trades --category sports --date 2026-11-29 --json > link.json # category file
vike-data polymarket settlements --slug-prefix btc-updown-5m- --from-ms <start> --to-ms <end> --limit 1000 --json # how each market resolved
Streams: book_events (full L2: snapshots, price_change deltas, trades, tick-size and status markers), trades (taker tape), l1_quotes (derived top of book). A row carries date, stream, layout (flat = every market; family = one up/down series, one asset and interval, with its category: crypto series under crypto, stocks, indices, FX and commodities under finance; category = one Polymarket category's markets outside the up/down series: sports, crypto, weather, elections, politics, finance, ... and unknown), bytes, rows, url. datasets pages with --limit (max 1000) and --offset against total.
Pick the right file
--assetwith--tenorfor one series (as before),--categoryalone for a category's markets outside the series, or none of them for the whole-day file. Indatasets,--category cryptolists the crypto file and every crypto series;--asset/--tenorlist series only. Without any filterdatasetsmixes the layouts: filter onlayout, or the same market appears in more than one file.- Up/down slugs changed on 2026-11-18 for the hourly and daily series: before,
bitcoin-up-or-down-november-17-2026-5pm-etandbitcoin-up-or-down-on-november-18-2026; since,btc-updown-1h-<start>andbtc-updown-1d-<start>(<start>= the window start in epoch seconds), like the 5m, 15m and 4h series. Asettlements --slug-prefixover that date needs both spellings. - Check
bytesfirst. Measured 2026-10-19: one day oftradesabout 12 MB; a BTC 5m familytradesday 3-5 MB; one day ofbook_events8.5 GB (532 million rows). Tell the user before anybook_eventsdownload, and prefer the family or category file for one asset or one kind of market (sports, elections, ...). - A few hours or one token: use the API, not a bulk file:
vike-data polymarket tape --token-id <id> --from-ms ... --to-ms ... --event-type trade(at most 24 h a call, no wallets),vike-data polymarket market-trades <condition_id>(with wallets) orvike-data candles polymarket <token_id>.
Fetch (outside this skill's tool grant; hand the user the command)
The --view url answer goes to a file, never into the conversation: its url opens the file with no API key until expires_at (1 day), so it is a secret: don't print, quote or paste it. Read the other fields from the same file (node -p "require('./link.json').bytes"; a refusal is its error: show it and stop) and let curl take the link from it:
curl -C - -o trades-2026-10-16.parquet "$(node -p "require('./link.json').url")"
Download the file whole and read the local copy with DuckDB, polars or pyarrow: pointing a reader at the URL turns one file into thousands of range requests. The manifest and a small sample need no key at all: https://data.vike.io/archive/manifest.json, https://data.vike.io/archive/samples/.
Reading the files
- The L2 tape carries no wallet addresses, only size and time. Prices are probabilities, sizes are shares.
- On the API tape a
0inbest_bid,best_ask,priceorsizeon a row type that does not populate it means absent, not zero; check the schema in the manifest before assuming the same of a Parquet column. - Join across files on the outcome token id;
settlementsrows carrytoken_idsandwinning_token_idfor the join to outcomes.
Anti-patterns
- Don't promise a download from the CLI, and don't fetch
book_eventsdays to answer a question the API tape can. - Don't pass the files on, and don't use them commercially without a written agreement.
Pairs well with
vike-pm-market-diligence(ids and one market live),vike-candles(probability bars),vike-polymarket-markets- The Hyperliquid twin:
vike-data hl archive --view url --dataset fills --date 2026-10-16(dailyfills,positions,positions_hourly,cohorts_hourlyandwallets_hourlyfiles)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(vike-data:*)
FAQ
Что делает скилл vike-pm-l2-archive?
Find and fetch the Polymarket L2 archive - daily Parquet files of the full order-book events, the trade tape and top-of-book quotes, whole, or by Polymarket category (sports, crypto, finance, ...) with each up/down series such as BTC 5-minute in its own file inside its category - with their sizes, a 1-day download link, and the on-chain outcomes to join them to. Says when the API tape is enough instead. Use when the user asks "get me Polymarket order book history" / "BTC 5m up/down L2 data for last week" / "download the Polymarket trades for a day" / "Polymarket sports order books" / "data to backtest a Polymarket strategy".
Как установить скилл vike-pm-l2-archive?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vike-pm-l2-archive запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…