Skip to main content

Module market

Module market 

Source
Expand description

Market types: unified market configuration enum.

This module provides a type-safe Market enum that replaces scattered fields (instrument, market_index, is_spot, hip3) with a single source of truth.

Structs§

Hip3MarketConfig
HIP-3 configuration extracted from Market enum.
InstrumentMetaConfig
Configuration for instrument metadata (tick/lot sizes).

Enums§

HyperliquidMarket
Hyperliquid market types — Perp, Spot, HIP-3, or Outcome.
Market
Unified market configuration — replaces scattered config fields.