mcpField
N
nansen-pm-deep-dive

nansen-pm-deep-dive

github.com/nansen-aiData & databases14462 installsUpdated today
Repository

About nansen-pm-deep-dive

A skill for researching a specific prediction market using its numeric ID from the nansen-prediction-market screener. It retrieves price and volume history plus order-book data, and supports markets regardless of status.

Key features

  1. 01OHLCV history by market ID
  2. 02Order book bids and asks
  3. 03Supports active and resolved markets
  4. 04Uses Polygon addresses

Use cases

  1. 01Review a market’s price and volume history
  2. 02Inspect current bid and ask levels

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nansen-ai/nansen-cli --skill nansen-pm-deep-dive

After installing, type/nansen-pm-deep-divein Claude Code to confirm it loaded.

Details

From the project README

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-id is 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).

Comments

Markdown supported