XAG/USDCPerpetual
- Last trade
- 46.603
- As of 5 Dec 2026, 23:59 UTC
- 24h change
- +1.26%
- 24h to 6 Dec 2026, 23:08:39 UTC
- 24h range
- 45.9076 – 46.607
- 24h volume
- $3.4M5.7K trades
Hourly candles · UTC · through 5 Dec 2026, 23:59 UTC
Live trades
OfflineConnecting to the feedLive trades start in a moment.
Code
import asyncio, json, os, websockets
URL = "wss://api.dune.com/api/feed/perp/trades/lighter/1?api_key=" + os.environ["DUNE_API_KEY"]
async def main():
async with websockets.connect(URL) as ws:
async for frame in ws:
block = json.loads(frame)
for fill in block["trades"]:
if fill.get("instrument_code") == "XAG-USDC.LIGHTER":
print(fill["side"], fill.get("size"), fill["executed_price"])
asyncio.run(main())