> For the complete documentation index, see [llms.txt](https://docs.hydromancer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context.md).

# Prices data and asset context

- [activeAssetCtx](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/activeassetctx.md): Real-time stream of oracle-, mid- and mark prices for an asset. Sends updates every second.
- [allActiveAssetCtx](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/allactiveassetctx.md): Stream all asset contexts in a single batch message. Requires add-on permission.
- [allMids](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/allmids.md): Stream mid prices for every market, updated every block. Requires add-on permission.
- [perpPrices](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/perpprices.md): Stream the accepted oracle and mark prices of perps, one message per block.
- [setOracleUpdates](https://docs.hydromancer.xyz/readme/websocket/prices-data-and-asset-context/setoracleupdates.md): Real-time stream of oracle, mark and external perp prices for a DEX, including failed updates
