Skip to content
ChartDeck ChartScript docs Account Open the terminal

lsr

Long/short ratios of the chart’s venue (Pro and Elite). ChartDeck data.

#Variables

#lsr.accountsvariable

Long/short ratio of all accounts on the chart’s venue (1 = balanced; the Long/short ratio study, All accounts). Binance, Bybit, OKX perpetuals. Pro and Elite.

lsr.accounts: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = lsr.accounts

Since ChartScript 1

#lsr.marginvariable

Bitfinex margin positions, long ÷ short, on the coin’s USD pair (the Long/short ratio study on a Bitfinex chart); na on other venues. Pro and Elite.

lsr.margin: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = lsr.margin

Since ChartScript 1

#lsr.topvariable

Long/short ratio of the top traders’ positions on the chart’s venue (the Long/short ratio study, Top traders). Pro and Elite.

lsr.top: float

Type series float.

Example

ChartScriptFragmentOpen in editor
const v = lsr.top

Since ChartScript 1

The ChartScript documentation is in English for now; translations will follow.