Exchange insurance funds: size, 24h and 7d change, fund against open interest, daily history
get_insurance_fundsRetrieve insurance fund size per venue, 24h/7d change, and fund-to-open-interest ratio to assess liquidation coverage.
Instructions
Call this when the user asks how big an exchange's insurance fund is, whether a fund is shrinking or was used after a crash, how much exchanges hold to absorb bankrupt liquidations, or how a fund compares with the venue's open interest. Returns the latest hourly reading per covered venue (every exchange the insurance fund board lists): the fund in USD (OKX's own published total, the sum of priced pools elsewhere), per asset, 24h and 7d change, the fund as a percent of the venue's perpetual open interest on the coins ByKaranteli tracks, and daily closes per venue. Set pools to include every pool row (the contracts it covers, asset, balance, USD). A fund is a balance the venue reports, not an audit of its reserves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pools | No | Include every pool row (large for Binance and Bybit). Default false. | |
| venue | No | One venue; omit for every covered venue. | |
| history_days | No | Days of daily closes (default 30, max 366). |