outcometick

v3.0.0
io.github.outcometick/outcometick Checked 1 day ago Published 1 month ago

Polymarket and Predict.fun historical tick data, plus backtest quotes and status, over MCP

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

coverage

What the archive holds, per venue: assets, datasets and the day range. Public, no key.

plans

Data subscription plans and their live prices. Public, no key.

meta

The date window the configured data key (OT_KEY) can download, and every venue, asset, interval and dataset value inside it. Call this before list_files: it names the real filter values.

list_files

Search archive files the data key can download. Every filter is optional; without a date it lists the newest day in reach. asset is the BASE symbol (BTC, not BTCUSD). interval "5m" EXCLUDES the period-less settlement streams (prices, twap30s, twap60s); pass ["5m","none"] to get both. Ranges are capped at 92 days.

ParameterTypeDescription
assetBase symbol, e.g. BTC. A list means "any of these".
datasete.g. prices, twap60s, book, markets, last_trade_price, klines, orderbook. A list means "any of these".
datestringYYYY-MM-DD (UTC)
formatstringparquet lists the Parquet copy of each file (same rows, already typed); default gz, the archive files
fromstringYYYY-MM-DD (UTC)
intervale.g. 5m, 15m, 1m, or "none" for period-less files. A list means "any of these".
limitintegerRows to return (default 200); count and bytes always cover everything matched.
tostringYYYY-MM-DD (UTC)
venuepolymarket | predict. A list means "any of these".

download_file

Download one archive file into a local directory and verify its sha256. Never overwrites: if the file is already there, delete it first. Files are gzipped CSV or JSONL; take date and name from list_files.

ParameterTypeDescription
date *stringYYYY-MM-DD (UTC)
name *stringFile name exactly as list_files reports it
dirstringDirectory to save into (created if missing). Defaults to the current directory.

backtest_capacity

Which days can be backtested on a venue right now (only the most recent window is sold), and how busy the queue is. Public.

ParameterTypeDescription
venue *string

backtest_quote

Price a backtest scope in credits (1 credit = 1 market-day) without submitting anything. Public. Give either from/to or days (the most recent n archived days).

ParameterTypeDescription
assets *arrayBase symbols, e.g. ["BTC","ETH"]
venue *string
daysinteger
fromstringYYYY-MM-DD (UTC)
intervalsarray
languagestringRuntime from the manifest, e.g. "python@3.14" or "nodejs@24"; changes how many market-days one run may hold
tostringYYYY-MM-DD (UTC)

check_strategy

Validate a strategy directory (manifest.json plus source) with the exact validator the backtest queue runs. Local, free, no network, no key.

ParameterTypeDescription
dirstringThe strategy directory. Defaults to the current directory.

backtest_runs

Recent backtest runs under the configured backtest key (OT_BACKTEST_KEY), and the credit balance.

backtest_status

One backtest run under the configured backtest key: status, scope, credits held and spent, and the report summary once done.

ParameterTypeDescription
run_id *string

smart_plans

Smart-money plans (daily Polymarket wallet lists) and their live prices, and whether they are on sale. Public, no key.

smart_coverage

How many smart-money days are published: the first and newest day, and the count. Public, no key.

smart_days

The days the configured smart-money key (OT_SMART_KEY) can download, newest first, with each list's status, rows, bytes and sha256. Call this before smart_download.

smart_download

Download one day's smart-money list (zstd-compressed CSV) into a local directory and verify its sha256. Never overwrites. Take day and list from smart_days.

ParameterTypeDescription
day *stringYYYY-MM-DD (UTC)
list *stringtop1000 needs the Top 1000 plan
dirstringDirectory to save into (created if missing). Defaults to the current directory.