Skip to content

Rollers & Quantizers

How Trading Glass groups trades into bars with the roller, groups prices into cluster rows with the tick size, and decides how much history the chart loads.

This guide describes the chart at /chart. Trading Glass is in private beta and reads Binance data only: the chart opens after you sign in with an approved account.

Two settings shape every bar

Every bar on the chart is built from individual Binance trades. Two settings decide how they are grouped: the roller groups trades by time into bars, and the tick size groups prices into the rows of a cluster. Trading Glass calls them the roller and the price quantizer; on the chart they appear as Roller and Tick size.

Both sit under Aggregation in the menu that opens from the button next to the timeframes. The button reads like 1D · 1m × 20: one day loaded, one-minute bars, rows 20 price units tall.

The roller: time per bar

Roller offers time · 1m, 5m, 15m, 30m, 1h, 4h and 1d. Each trade goes into the bar whose time window contains it. Windows are counted in UTC, so a 4h bar starts at 00:00, 04:00, 08:00 UTC and so on, and a 1d bar at 00:00 UTC.

Changing the roller reloads the chart’s data at the new window.

Timeframe buttons and the roller

The buttons in the top bar, 1m, 5m, 30m, 4h and 1d, choose the timeframe you see. How they behave depends on the roller:

  • If the timeframe is a whole multiple of the roller, the chart builds its bars in the browser from the roller’s bars, without reloading. On a 1m roller, every button works this way.
  • If it is not, the button switches the roller to that timeframe and reloads. For example, 5m on a 15m roller, or 30m on a 1h roller.

The 15m and 1h rollers have no button of their own; choose them in Roller. The chart remembers your roller and timeframe in this browser.

The tick size: price per cluster row

Each trade’s price is rounded down to a multiple of the tick size, and trades with the same rounded price share a row. With a tick size of 20, a trade at 72,537.50 counts in the 72,520 row, which covers 72,520 up to just under 72,540. The unit is the quote currency, so USDT on BTCUSDT.

Unless you set it by hand, the chart picks a tick size for each timeframe:

Automatic tick size by timeframe
TimeframeTick size
1m20
5m60
15m60
30m100
1h100
4h200
1d500
  • Type a value into Tick size to set it by hand. The menu then reads, for example, “Manual tick. Automatic for 1m is 20.”, and Use automatic goes back. A manual tick is remembered for that timeframe in this browser.
  • On the roller’s own timeframe, a new tick size rebuilds the data at that tick.
  • On a timeframe built from the roller, rows are merged from the roller’s rows, so the tick size can only be a whole multiple of the roller’s tick, and changing it does not reload.

A smaller tick gives more rows with less volume in each; a larger tick gives fewer, fuller rows. Numbers only print in cells that have room for them, as described in Candlestick & Cluster Charts.

Range: how much history to load

Under Range, the presets 1D, 3D, 7D, 14D, 30D, 90D, 180D and 360D, or Days to load from 1 to 365, set how many days of history the chart loads. The chart starts with one day and remembers your choice in this browser. More days take longer to load, and the chart shows its progress day by day.

The range also changes what some layers mean: CVD starts from zero at the first loaded bar, and the Volume profile overlay covers everything loaded.