Renko

Renko Study: Trade Ticks vs. One-Second Prices

Process the same Kraken BTC/USD trade sequence twice. Compare bricks, reversals and EMA crosses at six brick sizes.

BTC/USD: metrics from the same trades
Brick size (USD)Bricks tick / 1 sReversals tick / 1 sEMA crosses tick / 1 sEMA matchesEMA delay (median, ms)Reversal matchesReversal delay (median, ms)
1485 / 47334 / 3213 / 1312383.532711.2
2212 / 20420 / 205 / 44421.818474.8
564 / 6012 / 82 / 21806.18774.1
1024 / 245 / 51 / 119865293.1
208 / 82 / 20 / 00โ€”2429.5
601 / 10 / 00 / 00โ€”0โ€”

What changed at 5 USD?

Tick data produced 64 bricks and 12 reversals. The one-second closes produced 60 bricks and 8 reversals. Both produced two EMA crosses. One cross matched in the same second and direction. In the one-second version it was detectable 806.1 ms later.

Method and reproduction

The sample contains 992 Kraken BTC/USD spot trades across 313 occupied seconds. The window runs from 2 December 2026 at 07:22:49 UTC to 07:39:20 UTC, end exclusive. Potentially incomplete boundary seconds were trimmed from the original response. Exchange trade IDs break timestamp ties.

Both versions use the first trade as their price anchor and the same two-brick reversal rule. The tick version processes every trade. The one-second version uses the last trade of each occupied UTC second, available at the start of the following second at the earliest. Empty seconds do not generate observations.

EMA periods are 5 and 15 on confirmed bricks. The warm-up requires 15 bricks. Each version processes every brick from an observation before comparing the EMA spread before and after that observation. A match means the same type and direction in the same second. When there are multiple events, they are paired in order. Delay is the elapsed time for matched events only. A dash means no match. Events in different seconds can be displaced and are treated as unmatched by this table.

The metrics describe this sample and count signals. They do not measure returns. The delay covers aggregation only and excludes network and execution latency.

Compare your own trades and share the chart

Run the Python script with the sample or your own CSV

python renko_resolution.py
python renko_resolution.py --csv trades.csv --size 1 5 60

Keep the two files in the same folder. The first command retrieves the pinned window. Local CSV: Unix seconds (fractional seconds allowed), trade ID and price. Columns: timestamp,trade_id,price.

Kraken API ยท Pinned source request