Nansen Polymarket Deep Dive
Researchnansen-polymarket-deep-diveNansen Polymarket Deep Dive is an Agent Skill for research published in the nansen-ai/nansen-cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Deep dive on a Polymarket market — OHLCV, orderbook, top holders, positions, trades, and PnL leaderboard. Use when analysing a specific prediction market.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nansen-ai/nansen-cli/blob/HEAD/skills/nansen-polymarket-deep-dive/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nansen-polymarket-deep-dive, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Prediction Market Deep Dive
Answers: "What's happening in this specific market? Who holds it, who's trading it?"
Use market_id from the screener (nansen-prediction-market skill).
MID=<market_id>
nansen research pm ohlcv --market-id $MID --sort period_start:desc --limit 50
# → period_start, open, high, low, close, volume
nansen research pm orderbook --market-id $MID
# → bids[], asks[] with price and size
nansen research pm top-holders --market-id $MID --limit 20
# → address, side, position_size, avg_entry_price, current_price, unrealized_pnl_usd
nansen research pm position-detail --market-id $MID --limit 20
# → address, side, size, avg_entry_price, current_price, pnl
nansen research pm trades-by-market --market-id $MID --limit 20
# → timestamp, buyer, seller, taker_action, side, size, price, usdc_value
nansen research pm pnl-by-market --market-id $MID --limit 20
# → address, side_held, net_buy_cost_usd, unrealized_value_usd, total_pnl_usd
Notes:
--market-idis a numeric ID from the screener, not a slug.- Works with any market ID regardless of status (active or closed/resolved).
- All addresses are Polygon (EVM).