Market Data
useIndexPrice
Receive index price for given symbol and auto update via Websockets.
Example
const indexPrice: number = useIndexPrice("PERP_ETH_USDC");
Receive index price for given symbol and auto update via Websockets.
const indexPrice: number = useIndexPrice("PERP_ETH_USDC");