QTrader
Menu

Liquidations

Series details

The USD value of long and of short positions the exchange liquidated each hour.

Source: The exchange you trade on

Markets: perp

Exchanges: Binance, Bybit, OKX, Gate

Min tf: 1h

Use in workbench

Coverage

First stored dates describe the database, not a guarantee of complete history for every market.

  • Binance · Perpetual futures · 2026-10-14 · 1h and above · Hourly
  • Bybit · Perpetual futures · 2026-10-14 · 1h and above · Hourly
  • OKX · Perpetual futures · 2026-10-14 · 1h and above · Hourly
  • Gate · Perpetual futures · 2026-10-14 · 1h and above · Hourly

Candle alignment

Code sums long and short liquidation amounts over the hours inside each candle. Every hour must have confirmed complete coverage; an incomplete hour makes that candle unavailable. An hour confirmed complete with no events contributes zero.

Python example

strategy(stop_loss_percent=3)

liq_long, liq_short = market_data.liquidations
long_average = indicator.sma(liq_long, 24)
short_average = indicator.sma(liq_short, 24)


# Forced selling of longs often marks a local low.
def enter_long():
    return liq_long > long_average * 3


def exit_long():
    return liq_short > short_average * 3
Open in workbench

Pine example

//@version=6
strategy("Buy the long flush", initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)
[liqLong, liqShort] = market_data.liquidations
longAverage = ta.sma(liqLong, 24)
shortAverage = ta.sma(liqShort, 24)
// Forced selling of longs often marks a local low.
if liqLong > longAverage * 3
    strategy.entry("Long", strategy.long)
if liqShort > shortAverage * 3
    strategy.close("Long")
strategy.exit("Stop", "Long", stop=strategy.position_avg_price * 0.97)
Open in workbench

LLM prompt example

Long liquidations: {market_data.liquidations.long.full}. Short liquidations: {market_data.liquidations.short.full}. A spike of long liquidations at the low of {candles} often ends a sell-off; a spike of short liquidations, a squeeze.
Open in workbench

Check market support, historical coverage and timeframe alignment before comparing a backtest with current robot inputs. Missing data is not a zero observation.

Data coverage and backtest windows

Reload this page if interactive controls could not load.