Description

Shows the difference between BitMEX perpetual contract’s price of Project Ticker and BitMEX index (spot) price for Project Ticker.

Available as absolute value or ratio. In the last case it is computed using the formula: (contract’s price - index price)/index price


Access

Restricted Access.


Measuring Unit

Dollars/Ratio


Data Type

Timeseries Data


Frequency

Five-Minute Intervals


Latency

Price Latency


Available Assets

Available for these assets


SanAPI

Basis absolute value is available under the bitmex_perpetual_basis name.

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  getMetric(metric: "bitmex_perpetual_basis") {
    timeseriesData(
      slug: "bitcoin"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer

And basis ratio - bitmex_perpetual_basis_ratio.

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  getMetric(metric: "bitmex_perpetual_basis_ratio") {
    timeseriesData(
      slug: "bitcoin"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer

Was this article helpful?