Rebalance Events API

Stream and query vault rebalances (when exposure is adjusted to hit target ratio). Use this feed for analytics or keeper bots.

Endpoints

  • GET /rebalances/events?symbol=SOL5X&limit=50

  • GET /rebalances/summary/{symbol}

  • WS: wss://stream.plx.fi/rebalance?symbols=SOL5X,PUMP2X

curl

curl -s "https://api.plx.fi/v1/rebalances/events?symbol=SOL5X&limit=3"
[
  {
    "event":"rebalance",
    "symbol":"SOL5X",
    "old_ratio":4.89,
    "new_ratio":5.02,
    "px":"187.92",
    "slippage_bps":3,
    "oracle_variance":0.0021,
    "ts":1735698290,
    "tx":"4zA...cMh"
  }
]

WebSocket (Node)

Last updated