Emergence of Randomness in Temporally Aggregated Financial Tick Sequences
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Quantitative Finance. The day in quantitative finance: models of markets, risk and prices.
Ruth: We're looking at the paper: "Emergence of Randomness in Temporally Aggregated Financial Tick Sequences".
Paper summary: Ruth: So, wrapping up the discussion on "Emergence of Randomness in Temporally Aggregated Financial Tick Sequences," the main point is that randomness in financial data isn't a fixed property; it changes depending on the temporal resolution you choose for your analysis.
Warren: They systematically investigated this by applying various tests, and they showed that as you aggregate the data, like moving from tick-by-tick to longer intervals, these sequences tend to become more random through a whitening effect.
Iris: But they also found exceptions; some stocks still show predictable patterns even at high aggregation levels, which requires looking closely at specific tests like the Fourier three test.
Ruth: What this means for us in the real world is that we can't treat all financial data as having the same level of randomness. You need to consider your aggregation scale when you’re trying to model anything from trading strategies to cryptography applications.
Warren: And because they developed a model-free way to generate pseudo-random sequences from this aggregated data, it opens up a new avenue for creating synthetic random sequences based on real market behavior.
Iris: The authors' work on "Emergence of Randomness in Temporally Aggregated Financial Tick Sequences" provides a detailed methodology for checking randomness that goes beyond just looking at simple correlations or entropy measures.
Ruth: It’s about being rigorous in our statistical tests and acknowledging that the structure of the data dictates how random it appears across different scales.
Conclusion: Ruth: So we're wrapping up on "Emergence of Randomness in Temporally Aggregated Financial Tick Sequences." Essentially, this paper looks at how randomness in stock prices changes depending on how you group those tiny trades together over time.
Warren: It’s about seeing if those sequences get more random when you aggregate them, which is what they test using a bunch of rigorous statistical methods.
Iris: The core finding is that yes, for most stocks, as the aggregation level goes up, the randomness tends to increase. They use tests from the NIST Statistical Test Suite and TestU01 to measure this randomness.
Ruth: But there are still exceptions; they found specific stocks where predictability stays high even when you look at much longer time frames. That’s a key observation about market structure itself.
Warren: And they showed that their method isn't just about measuring randomness, it’s also a way to actually generate sequences that *look* random from financial data using a model-free approach.
Iris: The methodology allows them to create multiple sub-sequences at different aggregation levels and prove those sequences pass the standard tests. It’s a practical way to get something pseudo-random for applications.
Ruth: So, the big picture here is that randomness in finance isn't a fixed thing; it depends on your perspective—your time scale of observation.
Warren: It means if you're building trading strategies or cryptographic tools, you have to be aware of that aggregation effect when you're designing your system.
Iris: And the authors did a sanity check using completely unrelated sources like quantum physics just to make sure their tests were actually working correctly on real data.
Ruth: It opens up the idea of using aggregated prices as a source for randomness beacons, which is something we can explore next.
Scuola Normale Superiore · Uppsala University
q-fin.ST, q-fin.TR
Submitted: 2025-11-21
Updated: 2026-11-28
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 77/100
The gist: Markets efficiency implies that the stock returns are intrinsically unpredictable, a property that makes markets comparable to random number generators.<ref:2511.17479#pg1…
Key concepts
- Temporal Aggregation
- This refers to grouping financial price data from very short intervals (tick data) into longer time frames. The study tests how this grouping affects the randomness of the resulting sequence. Increasing aggregation generally makes the sequence appear more random, suggesting that short-term noise averages out.
- Binary String Encoding
- Financial prices are converted into binary sequences (strings of 0s and 1s) by comparing adjacent prices. This process transforms raw price movements into a format suitable for randomness testing. The specific method involves calculating ratios between consecutive prices to generate these strings.
- Randomness Tests
- The researchers use several rigorous statistical tests, including those from the NIST Statistical Test Suite and TestU01 batteries (like Rabbit and Alphabit). These tests measure various aspects of randomness such as frequency, pattern, entropy, complexity, and spectral properties to determine if a sequence behaves like a truly random number generator.
Terminology
Summary
Markets efficiency implies that the stock returns are intrinsically unpredictable, a property that makes markets comparable to random number generators. p. 0 Scuola Normale Superiore, Piazza dei Cavalieri 7, Pisa, Italy, 56126
2. Uppsala University, Regementsv¨agen 10, Uppsala, Sweden, 75105
Abstract
Markets efficiency implies that the stock returns are intrinsically unpredictable, a
property that makes markets comparable to random number generators. Scuola Normale Superiore, Piazza dei Cavalieri 7, Pisa, Italy, 56126
2. Uppsala University, Regementsv¨agen 10, Uppsala, Sweden, 75105
Abstract
Markets efficiency implies that the stock returns are intrinsically unpredictable, a
property that makes markets comparable to random number generators.Where the paper says it
Where the paper says it
Investigating Randomness Across Temporal Aggregation
The study aims to systematically investigate the randomness of financial time series across different levels of temporal aggregation.<ref:2511.17479#pg2, We aim to systematically investigate the randomness of financial time series across different levels of temporal aggregation>. p. 1 Prices sampled at one-minute intervals already deviate
from perfect randomness because of such properties [8], while ultra–high-frequency (tickby-tick) data are even less random, revealing structured patterns that reflect correlated
trading activity [9, 10]. We aim to systematically investigate the randomness of financial time series across
different levels of temporal aggregation. We assess the randomness of financial data across different levels of temporal
aggregation using a diverse set of randomness tests. Our approach treats financial price
series as potential outputs of a random number generator and applies batteries of RNG
tests to measure their degree of randomness. We assess the randomness of financial data across different levels of temporal
aggregation using a diverse set of randomness tests. Our approach treats financial price
series as potential outputs of a random number generator and applies batteries of RNG
tests to measure their degree of randomness. We illustrate the effect of time aggregation in transforming highly correlated highfrequency trade data to random streams. More specifically, we use many of the tests
in the NIST Statistical Test Suite and in the TestU01 battery (in particular the Rabbit and Alphabit sub-batteries), to prove that the degree of randomness of financial
tick data increases together with the increase of the aggregation level in transaction
time. We illustrate the effect of time aggregation in transforming highly correlated highfrequency trade data to random streams. More specifically, we use many of the tests
in the NIST Statistical Test Suite and in the TestU01 battery (in particular the Rabbit and Alphabit sub-batteries), to prove that the degree of randomness of financial
tick data increases together with the increase of the aggregation level in transaction
time.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Methodology for Encoding Prices
The methodology involves converting financial price data into binary strings.<ref:2511.17479#pg3, We begin by describing our methodology for symbolizing price sequences, which converts financial price data into binary strings>. p. 2 Finally, in Section 5 we discuss our findings and future work. 2 Encoding of prices and randomness tests
We begin by describing our methodology for symbolizing price sequences, which converts
financial price data into binary strings. 2 Encoding of prices and randomness tests
We begin by describing our methodology for symbolizing price sequences, which converts
financial price data into binary strings. We focus on executed order prices and compare adjacent transactions to obtain binary
strings b ∈ {0, 1}
∗
. We focus on executed order prices and compare adjacent transactions to obtain binary
strings b ∈ {0, 1}
∗
. In more detail, given a sequence of prices {s1, s2, . , sN } for a certain
day and ticker, we construct our first binary sequence b considering, for each i = 2, . , N
the ratio r =
si−1
si
. r =
sj+iℓ
sj+(i−1)ℓ
< 1 then bj → bj0
= 1 then bj → bj
> 1 then bj → bj1
Then, from each initial sequence of prices {s1, s2, . , sN } we get P100
ℓ=1 ℓ = 5050 different binary sequences for each analyzed day. r =
sj+iℓ
sj+(i−1)ℓ
< 1 then bj → bj0
= 1 then bj → bj
> 1 then bj → bj1
Then, from each initial sequence of prices {s1, s2, . , sN } we get P100
ℓ=1 ℓ = 5050 different binary sequences for each analyzed day. r =
sj+iℓ
sj+(i−1)ℓ
< 1 then bj → bj0
= 1 then bj → bj
> 1 then bj → bj1
Then, from each initial sequence of prices {s1, s2, . , sN } we get P100
ℓ=1 ℓ = 5050 different binary sequences for each analyzed day.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Application of Comprehensive Randomness Tests
The researchers apply comprehensive sets of randomness tests beyond serial correlation or entropy measures.<ref:2511.17479#pg2>. They utilize batteries from NIST Statistical Test Suite and TestU01, focusing on sub-batteries like Rabbit and Alphabit. p. 0 We illustrate the effect of time aggregation in transforming highly correlated highfrequency trade data to random streams. More specifically, we use many of the tests
in the NIST Statistical Test Suite and in the TestU01 battery (in particular the Rabbit and Alphabit sub-batteries), to prove that the degree of randomness of financial
tick data increases together with the increase of the aggregation level in transaction
time. Category NIST STS Rabbit Alphabit
Frequency
tests
Frequency (Monobit),
Frequency Test
within a Block
MultinomialBitsOverlapping,
HammingWeight
MultinomialBitsOverlapping
(x4)
Pattern
tests
Runs Test,
Longest Run of Ones
in a Block,
Non-overlapping
Template Matching,
Overlapping Template Matching,
Serial Test
ClosePairsBitMatch(x2),
LongestHeadRun,
PeriodsInStrings,
HammingCorrelation(x3),
HammingIndependence(x3),
AutoCorrelation(x2),
Runs Test
HammingCorrelation,
HammingIndependence
(x2)
Entropy
and complexity
tests
Binary Matrix Rank
Test,
Maurer’s Universal
Statistical Test,
Linear Complexity
Test,
Approximate Entropy Test
AppearanceSpacings,
LinearComp,
LempelZiv,
MatrixRank(x3)
–
Spectral
tests
Discrete Fourier
Transform
Fourier1,
Fourier3
–
Random
walks tests
Cumulative Sums
Test,
Random Excursions
Test,
Random Excursions
Variant Test
RandomWalk1(x3),
RandomExcursions,
RandomExcursionsVariant
RandomWalk1(x2)
Table 1: Taxonomy of tests from NIST STS, Alphabit and Rabbit batteries.Where the paper says it
Where the paper says it
Key Findings on Randomness Evolution
The main results show that randomness generally tends to increase as the aggregation level grows up, aligning with previous findings.<ref:2511.17479#pg13, Our study aligns with the findings in [23], reaffirming that, generally, randomness tends to increase as the aggregation level grows up>. p. 0 We illustrate the effect of time aggregation in transforming highly correlated highfrequency trade data to random streams. More specifically, we use many of the tests
in the NIST Statistical Test Suite and in the TestU01 battery (in particular the Rabbit and Alphabit sub-batteries), to prove that the degree of randomness of financial
tick data increases together with the increase of the aggregation level in transaction
time. More specifically, we use many of the tests
in the NIST Statistical Test Suite and in the TestU01 battery (in particular the Rabbit and Alphabit sub-batteries), to prove that the degree of randomness of financial
tick data increases together with the increase of the aggregation level in transaction
time. Additionally, the comprehensive nature of our tests also uncovers novel patterns, such as non-monotonic behaviors in predictability for certain assets. More specifically, we use many of the tests
in the NIST Statistical Test Suite and in the TestU01 battery (in particular the Rabbit and Alphabit sub-batteries), to prove that the degree of randomness of financial
tick data increases together with the increase of the aggregation level in transaction
time. Additionally, the comprehensive nature of our tests also uncovers novel patterns, such as non-monotonic behaviors in predictability for certain assets.Where the paper says it
Where the paper says it
Where the paper says it
Model-Free Approach for Pseudo-Random Sequences
The study demonstrates a model-free approach for both assessing randomness in financial time series and generating pseudo-random sequences from them.<ref:2511.17479#pg2>. The methodology enables the generation of l sub-sequences at each aggregation level l, which suggests that multiple sequences pass standard randomness tests. p. 2 Our methodology enables
the generation of ℓ sub-sequences at each aggregation level ℓ. That is, at an appropriate
scale depending on the specific financial asset, multiple sequences pass standard randomness tests. Third, we demonstrate that
as the data are aggregated, the binarized price sequences undergo a whitening effect, progressively becoming indistinguishable from random sequences. Our methodology enables
the generation of ℓ sub-sequences at each aggregation level ℓ. Our methodology enables
the generation of ℓ sub-sequences at each aggregation level ℓ. That is, at an appropriate
scale depending on the specific financial asset, multiple sequences pass standard randomness tests. That is, at an appropriate
scale depending on the specific financial asset, multiple sequences pass standard randomness tests. Consequently, we propose a model-free approach for generating pseudo-random
sequences from financial data, which can be leveraged for further cryptographic and other
applications. That is, at an appropriate
scale depending on the specific financial asset, multiple sequences pass standard randomness tests. Consequently, we propose a model-free approach for generating pseudo-random
sequences from financial data, which can be leveraged for further cryptographic and other
applications. We emphasize that this methodology does not
require any future information on the data, since, at the time of transaction i, we only use
one past transaction to build the ratios. This means that it can indeed be interpreted as
an online approach.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Validation Through Sanity Checks
A sanity check was performed using three different sources of randomness—quantum physics, environmental noise, and pure mathematics—to validate the efficiency of the tests with given string lengths and parameters.<ref:2511.17479#pg10, We run a procedure to select which tests we can consider as valid on real data and which not>. p. 2 In particular, we employ the NIST Statistical Test
Suite [24] and TestU01 [25, 26]. As an initial methodological step, we introduce a procedure for selecting subsets of tests that are appropriate for the specific lengths of financial
data sequences, ensuring valid results. A detail of the tests and the
parameters can be found in Table 5 in App. Binary strings should be at least 500 bits
long to be tested correctly. We run a sanity check explained in Section 3 on the tests, that leads to a more finegrained selection of the tests. Then, we run the tests on each monthly string obtained from
financial data and collect the p-values obtained from the output files. In this sense, an efficient market behaves like a random number generator (RNG). For
instance, [2] demonstrated that random numbers can be generated from Bitcoin price data,
while [3] proposed stock prices as a source of randomness for cryptographic applications. Second, we provide a broader perspective on the
randomness of binary strings derived from tick-level data. In particular, we have shown
that both the rate and monotonicity of convergence toward randomness, as the aggregation level increases, vary between stocks and time periods.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Future Research Directions
Future work includes investigating non-monotonic patterns in predictability-aggregation plots, such as those seen in the Fourier3 test.<ref:2511.17479#pg16> 5 Conclusion and future work. p. 2 In Section
4, we conduct experiments and classify the results on randomness into several categories. Finally, in Section 5 we discuss our findings and future work. Our study builds on previous work [23], in which we examined the predictability of
ultra–high-frequency financial time series using entropy-based randomness tests. That
analysis showed that as tick-by-tick data are aggregated over larger numbers of transactions, their predictability tends to decrease. Prices sampled at one-minute intervals already deviate
from perfect randomness because of such properties [8], while ultra–high-frequency (tickby-tick) data are even less random, revealing structured patterns that reflect correlated
trading activity [9, 10]. We aim to systematically investigate the randomness of financial time series across
different levels of temporal aggregation.Where the paper says it
Where the paper says it
Where the paper says it
Application in Randomness Beacons
The methodology introduces the possibility to let non-random binary strings obtained by UHF data be whitened out by the process of aggregation for most stocks.<ref:2511.17479#pg20, Application: The methodology we introduce in this paper gives us the possibility to let non-random binary strings obtained by UHF data be whitened out by the process of aggregation for the most of the stocks>. p. 4 Let X = {x1, x2, . , xN } be a
realization of a stationary random process with symbols from a binary alphabet: xi ∈
{0, 1}. In [13], authors classified and ranked
pseudo-RNGs by their quality of outputs. Prices of stocks were tested as outputs of RNG
in [14]. In [13], authors classified and ranked
pseudo-RNGs by their quality of outputs. Prices of stocks were tested as outputs of RNG
in [14]. In [3, 11], authors proposed a methodology of developing randomness beacons from
financial data for applications relying on public randomness. Financial time series and
sequences generated by RNG were compared in [12]. In [3, 11], authors proposed a methodology of developing randomness beacons from
financial data for applications relying on public randomness. Financial time series and
sequences generated by RNG were compared in [12].Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Data Scope and Characteristics
The dataset analyzed covers 80 trading days between 01-08-2022 and 21-11-2022.<ref:2511.17479#pg9, Our study covers 80 trading days between 01-08-2022 and 21-11-20-- This sample includes stocks from a variety of sectors, differing in average price, volatility, transaction counts, inter-trade durations (mostly under one second), and daily volumes (0. p. 9 along with their key attributes. The sample includes stocks from a variety of sectors,
differing in average price, volatility, transaction counts, inter-trade durations (mostly under
one second), and daily volumes (0. Table 2: Assets and characteristics of prices
Asset Ticker Mean
price
Standard
deviation of
price
Daily
trading
volume
Daily number
of transactions
Average time
between transactions
Apple Inc. 93 12,184,032 136,136 0.Where the paper says it
Where the paper says it
Unexpected Predictability in Specific Cases
Specific cases revealed predictability even after price aggregation for stocks like AAPL and TSLA.<ref:2511.17479#pg14, However, we observe in some cases the phenomenon of slow increasing (or not increasing at all) of randomness at high aggregation levels for certain stocks in particular > 15 Figure 3: Results of ApproximateEntropy test from NIST STS applied to AAPL, CCL, INTC and SPY data.<ref:2511.17479#pg15> 14 Figure 6: Results of CumulativeSums test from NIST STS applied to CCL, INTC, LLY, and SNAP data.<ref:2511.17479#pg18> 15 Figure 3: Results of ApproximateEntropy test from NIST STS applied to AAPL, CCL, INTC and SPY data. p. 2 In particular, we employ the NIST Statistical Test
Suite [24] and TestU01 [25, 26]. As an initial methodological step, we introduce a procedure for selecting subsets of tests that are appropriate for the specific lengths of financial
data sequences, ensuring valid results.Where the paper says it
Behavior of Hamming Correlation Tests
The HammingCorrelation tests applied on INTC data showed results that looked different from all the other tests and stocks.<ref:2511.17479#pg18> 18 Figure 6: Results of CumulativeSums test from NIST STS applied to CCL, INTC, LLY, and SNAP data. This behavior seems particularly far from the other tests and stocks. p. 4 • Spectral tests: they apply discrete Fourier transforms to detect periodic structures
or unexpected frequency spikes that would not be present in truly random data. • Random Walks tests: they analyze the cumulative behavior of sequences interpreted
as random walks, checking for imbalances, excursions from the origin, and path regularities. We aim to systematically investigate the randomness of financial time series across
different levels of temporal aggregation. While tick-level data contain deterministic microstructure patterns, aggregated prices increasingly resemble random sequences over larger
time steps. Category NIST STS Rabbit Alphabit
Frequency
tests
Frequency (Monobit),
Frequency Test
within a Block
MultinomialBitsOverlapping,
HammingWeight
MultinomialBitsOverlapping
(x4)
Pattern
tests
Runs Test,
Longest Run of Ones
in a Block,
Non-overlapping
Template Matching,
Overlapping Template Matching,
Serial Test
ClosePairsBitMatch(x2),
LongestHeadRun,
PeriodsInStrings,
HammingCorrelation(x3),
HammingIndependence(x3),
AutoCorrelation(x2),
Runs Test
HammingCorrelation,
HammingIndependence
(x2)
Entropy
and complexity
tests
Binary Matrix Rank
Test,
Maurer’s Universal
Statistical Test,
Linear Complexity
Test,
Approximate Entropy Test
AppearanceSpacings,
LinearComp,
LempelZiv,
MatrixRank(x3)
–
Spectral
tests
Discrete Fourier
Transform
Fourier1,
Fourier3
–
Random
walks tests
Cumulative Sums
Test,
Random Excursions
Test,
Random Excursions
Variant Test
RandomWalk1(x3),
RandomExcursions,
RandomExcursionsVariant
RandomWalk1(x2)
Table 1: Taxonomy of tests from NIST STS, Alphabit and Rabbit batteries.Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Systemic randomness assessment for financial data can be implemented by applying comprehensive sets of randomness tests, such as NIST Statistical Test Suite and TestU01 batteries, to binary strings derived from tick-by-tick price data. This allows the AI system to evaluate the degree of randomness across different temporal aggregation levels.
-
The AI system can generate pseudo-random sequences from financial data by utilizing a model-free approach, as demonstrated in Section 5. This capability enables the generation of L sub-sequences at each aggregation level L, which can be leveraged for cryptographic applications.
-
The AI system can perform online randomness extraction from tick data by computing binary strings on the fly as new data becomes available. This method does not require future information on the data, meaning it does not need to collect all data before computation.
-
The system can identify non-monotonic behaviors in predictability for certain assets by analyzing results from Fourier3 tests and other spectral tests across different aggregation levels. This helps in detecting deterministic patterns indicative of algorithmic trading or microstructure effects at specific temporal resolutions.
-
The AI system can perform frequency balancing on binary strings derived from prices to mitigate biases detected by HammingCorrelation tests. This process, which involves computing the median of prices for a given day, helps to obtain a daily string that is
perfectly balanced by construction.
Abstract
Market efficiency implies that price changes are unpredictable, so that an efficient market behaves like a random number generator. At the level of individual transactions, however, prices are dominated by microstructural effects and are far from random. We study how randomness emerges when tick-by-tick prices are aggregated in transaction time. The signs of aggregated returns are encoded as binary strings, whose randomness is assessed with the NIST Statistical Test Suite, the Alphabit and Rabbit batteries of TestU01 and two entropy-based tests, after a sanity check that selects the tests suited to the available string lengths. A solvable benchmark explains the whitening: for stationary Gaussian models of tick returns with positive long-run variance, the entropy deficit of the sign sequence vanishes as the inverse square of the aggregation level, and in a finite sample the residual memory remains detectable up to a level growing as the cube root of the number of transactions. Data on nine US assets confirm that randomness increases with aggregation, at a pace that depends on trading activity, and that stocks with a large relative tick size are most predictable at intermediate aggregation levels. The procedure yields an online, model-free source of pseudorandom bits.
Related papers
- PanelGP: A Probabilistic Factor Model for Asset-Return Panels
- Physics-Informed Singular-Value Learning for Cross-Covariances Forecasting in Financial Markets
- Graph-Informed Deep Factor Model for Statistical Arbitrage
- Bond yield dynamics: a multi-country multi-horizon string model
- Per-Prediction Uncertainty Is Not a Regime Detector: A Detectability Bound and Two-Level Deployment for Cross-Sectional Equity Rankers
- A general technique for explicit quantile representations