# `CCXT.OpenInterest`
[🔗](https://github.com/ZenHive/ccxt_client/blob/main/lib/ccxt/open_interest.ex#L1)

Unified open interest data.

Represents the total open interest for a derivatives contract.

## Fields

  * `symbol` - Unified symbol (e.g., "BTC/USDT:USDT")
  * `open_interest_amount` - Open interest in contracts
  * `open_interest_value` - Open interest in quote currency
  * `base_volume` - Base currency volume
  * `quote_volume` - Quote currency volume
  * `timestamp` - Data timestamp in milliseconds
  * `datetime` - ISO 8601 datetime string
  * `info` - Raw exchange response

# `t`

```elixir
@type t() :: %CCXT.OpenInterest{
  base_volume: number() | nil,
  datetime: String.t() | nil,
  info: map() | nil,
  open_interest_amount: number() | nil,
  open_interest_value: number() | nil,
  quote_volume: number() | nil,
  symbol: String.t() | nil,
  timestamp: integer() | nil
}
```

# `schema`

```elixir
@spec schema() :: map()
```

JSON Schema for the OpenInterest unified type.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
