TGViewer
Lighter API/MM Updates Lighter API/MM Updates @lighter_api_updates · 1.02K subscribers
Post #96 761
Recent updates:

- You can now retrieve realized PnL for both perps and spot positions using the trades endpoint, via bid_account_pnl (only perps) and ask_account_pnl. Only the PnL for the queried account index will be displayed.

- You can now track the average entry price for spot assets using the account_spot_avg_entry_prices WebSocket channel: https://apidocs.lighter.xyz/docs/websocket-reference#average-entry-prices
  • 👍 4
More from @lighter_api_updates
  1. Sep 18, 2026gm We will be performing a network upgrade on Sunday, September 20 at 11:00 AM UTC. Expect…
  2. Sep 16, 2026- The fun.xyz deposit flow now allows to generate a quote to estimate fees, received amoun…
  3. Sep 13, 2026- Starting tomorrow, the following changes to partner attribution will be deployed: https:…
  4. Sep 11, 2026gm We will be performing a network upgrade on Sunday, September 13 at 11:00 AM UTC. Expect…
  5. Sep 11, 2026Legacy market IDs were bounded to [0, 255) for perp markets, and [2048, 4096) for spot mar…
  6. Sep 9, 2026- Rate limits for L1Withdrawal have been increased to 10 per hour, per user - Fees for fas…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →