CCXT.OpenInterest (ccxt_client v0.6.1)

Copy Markdown View Source

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

Summary

Functions

JSON Schema for the OpenInterest unified type.

Types

t()

@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
}

Functions

schema()

@spec schema() :: map()

JSON Schema for the OpenInterest unified type.