Data Flow

Hyperliquid CORE Data

  • Utilizes Hyperliquid's WebSocket API for real-time data.

  • Key Streams: [Placeholder: List specific streams like l2Book, trades, webData, etc. used for Order Book, OI, Funding, Liquidations].

  • Data is parsed from JSON format.

Hyperliquid EVM Data

  • Interacts with Hyperliquid EVM RPC endpoints.

  • Monitors specific DEX contract events (e.g., Swaps, Add/Remove Liquidity).

  • Queries LP token contracts and relevant DeFi protocols for yield, pool composition, etc.

  • Requires relevant contract ABIs.

Data Handling & Processing

  • Raw data is ingested and potentially pre-processed/structured.

  • Structured data is published to specific channels/topics on the Redis message queue.

  • Initial state for time-series analysis (e.g., previous OI) is managed by agents.