Skip to main content
Use this page when you want a fast notebook setup and then a curated runnable polaris-data example. The full notebook sources live in the polaris-data/notebooks repository. Keep this docs page as the map, and use the repository when you want the full runnable analysis.

Start a notebook quickly

If you do not already have Jupyter running, start in a terminal:
If you already have a notebook open, install the basics in a cell:
Most Polaris notebooks follow the same first pattern:
  1. Confirm the exact source and market with catalog(...).
  2. Fetch ohlcv(...) or trades(...).
  3. Load the response into pandas.
  4. Plot or summarize the result.
Use Market Coverage first when you need a high-level view of supported venues, then confirm the exact identifier in Catalog before you fetch data.

Repository overview

The current example repo is intentionally small and curated:

Hyperliquid BTC trade analysis

Open hyperliquid_btc_trade_analysis.ipynb when you want the most direct end-to-end SDK example. This notebook shows how to:
  • confirm the exact market with catalog(...)
  • fetch a bounded OHLCV window and the matching raw trades
  • normalize both responses into pandas DataFrames
  • summarize buy and sell flow
  • overlay trade points on the close series and chart signed flow per minute
Short excerpt:
Use this notebook when you want to understand the core polaris-data workflow quickly without adding multi-market logic.

Choosing the right notebook

  • Start with the Hyperliquid example if you want the fastest path to understanding catalog(...), ohlcv(...), and trades(...).
  • Stay in the docs and read Python SDK if you want method signatures and usage patterns before opening a notebook.

Next steps