Open Interest

    Definition

    Open interest represents the total number of outstanding contracts that have not been settled by an offsetting trade. For example, if trader A buys a futures contract from trader B, and neither has closed out their position, the open interest is one. Traders can close out their positions by taking an opposing position (sell if they were long or buy if they were short). Changes in open interest can reflect whether traders are initiating new positions or closing existing ones. There are three types of open interest metrics:

    • Open interest per exchange - represents the sum of open interests of all contracts on given exchange for a given asset
    • Open interest per settlement currency - represents the sum of open interests of all contracts for given settlement currency and asset
    • Total open interest - represents the sum of open interests of all contracts for a given asset

    Access

    Restricted Access


    Measuring Unit

    Dollars


    Data Type

    Timeseries Data


    Frequency

    Five-minute Intervals


    Latency

    On-Chain Latency


    Available Assets


    SanAPI

    • Open interest per exchange is available under the exchange_open_interest name.
    • Open interest per settlement currency is available under the open_interest_per_settlement_currency name.
    • Total open interest is available under the total_open_interest name.
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    {
      getMetric(metric: "exchange_open_interest") {
        timeseriesData(
          selector: {
            slug: "ethereum"
            owner: "binance"
          }
          from: "2023-11-27T00:00:00Z"
          to: "2023-11-28T00:00:00Z"
          interval: "5m"
        ) {
          datetime
          value
        }
      }
    }

    Run in explorer


    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    {
      getMetric(metric: "open_interest_per_settlement_currency") {
        timeseriesData(
          selector: {
            slug: "ethereum"
            owner: "USDT"
          }
          from: "2023-11-27T00:00:00Z"
          to: "2023-11-28T00:00:00Z"
          interval: "5m"
        ) {
          datetime
          value
        }
      }
    }

    Run in explorer


    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    {
      getMetric(metric: "total_open_interest") {
        timeseriesData(
          selector: {
            slug: "ethereum"
          }
          from: "2023-11-27T00:00:00Z"
          to: "2023-11-28T00:00:00Z"
          interval: "5m"
        ) {
          datetime
          value
        }
      }
    }

    Run in explorer