oi
Open interest: the chart’s venue (oi.close, oi.delta, oi.usd), the coin’s Binance perpetual on any chart (oi.ref) and every perpetual venue summed (oi.agg). ChartDeck data.
#Variables
#oi.aggvariable
Open interest summed over every perpetual venue with OI history, in coins (the Aggregated open interest study). Pro and Elite.
oi.agg: floatType series float.
Example
const v = oi.aggSince ChartScript 1
#oi.agg_usdvariable
Aggregated open interest in USD: oi.agg × close, per coin. Pro and Elite.
oi.agg_usd: floatType series float.
Example
const v = oi.agg_usdSince ChartScript 1
#oi.closevariable
Open interest of the chart’s market, in coins: the last sample in force at each bar’s end (a step series, never interpolated; the Open interest study). na on a spot market or a venue that publishes none.
oi.close: floatType series float.
Example
const v = oi.closeSince ChartScript 1
#oi.deltavariable
Change in open interest on the bars where a new sample landed, in coins (the OI delta study); na on bars between two samples.
oi.delta: floatType series float.
Example
const v = oi.deltaSince ChartScript 1
#oi.refvariable
Open interest of the coin’s Binance perpetual (USDT-margined), on any chart: a MEXC or BloFin chart reads Binance’s figure (the Open interest study run on Binance; the last sample in force at each bar’s end). In the units Binance counts (a 1000PEPE contract is one unit). On a Binance chart it equals oi.close. na when Binance lists no perpetual of the coin.
oi.ref: floatType series float.
Example
const v = oi.refSince ChartScript 1
#oi.ref_usdvariable
oi.ref in USD: the Binance units × the chart’s close, per coin (a 1000PEPE unit counts 1,000 coins).
oi.ref_usd: floatType series float.
Example
const v = oi.ref_usdSince ChartScript 1
#oi.usdvariable
Open interest of the chart’s market in USD: oi.close × close, per coin (a 1000PEPE or kPEPE market counts 1,000 coins per unit).
oi.usd: floatType series float.
Example
const v = oi.usdSince ChartScript 1
#Not available yet
#oi.highvariable
Not available yet.
oi.high (later version: the open-interest routes serve one sample per bar, the last; use oi.close).
Since ChartScript 1
#oi.lowvariable
Not available yet.
oi.low (later version: the open-interest routes serve one sample per bar, the last; use oi.close).
Since ChartScript 1
#oi.openvariable
Not available yet.
oi.open (later version: the open-interest routes serve one sample per bar, the last; use oi.close).
Since ChartScript 1