Emergence of Randomness in Temporally Aggregated Financial Tick Sequences

arXiv:2511.17479 · q-fin.ST, q-fin.TR · Submitted 2025-11-21 · Read on arXiv

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

Code: https://github.com/Silvia895/Emergence-of-Randomness-in-Temporally-Aggregated-Financial-Tick-Sequences

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

Where the paper says it

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.

<ref:2511.17479#pg1, Markets efficiency implies that the stock returns are intrinsically unpredictable, a property that makes markets comparable to random number generators#pg1>. p. 0
Where the paper says it

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.

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

Where the paper says it

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.

The authors assess the randomness using a diverse set of tests, treating price series as potential outputs of a random number generator. p. 1
Where the paper says it

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.

<ref:2511.17479#pg2, 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>. p. 1
Where the paper says it

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.

They illustrate the effect of time aggregation in transforming highly correlated high-frequency trade data to random streams, proving that the degree of randomness increases with the increase of the aggregation level. p. 0
Where the paper says it

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.

<ref:2511.17479#pg2, 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>. p. 0
Where the paper says it

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.

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

Where the paper says it

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.

This process focuses on executed order prices and compares adjacent transactions to obtain binary strings b in the set of 0 or 1. p. 2
Where the paper says it

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} ∗ .

<ref:2511.17479#pg4, In more detail, given a sequence of prices {s1, s2,. p. 2
Where the paper says it

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 the ratio r = si−1 / si where r is defined by the ratio of consecutive prices in the sequence {s1, s2,. p. 2
Where the paper says it

, 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 .

.., sN } for each i = 2,..., N > 5000 different binary sequences for each analyzed day. p. 3
Where the paper says it

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.

<ref:2511.17479#pg4, Then, from each initial sequence of prices {s1, s2,. p. 3
Where the paper says it

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.

.., sN } we get P100 l=1 l = 5050 different binary sequences for each analyzed day>. p. 3
Where the paper says it

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.

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

Where the paper says it

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.

<ref:2511.17479#pg2>. The tests are categorized into frequency, pattern, entropy and complexity, spectral tests, and random walks tests. p. 5
Where the paper says it

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.

<ref:2511.17479#pg5>.

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

Where the paper says it

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.

However, novel methods and tests sometimes reveal exceptions where predictability persists even at high aggregation levels for certain stocks. p. 0
Where the paper says it

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.

<ref:2511.17479#pg13>. Specific patterns were noted, such as the Fourier3 test showing a non-monotonic behavior in predictability for some stocks. p. 0
Where the paper says it

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.

<ref:2511.17479#pg16, Case 3: The Fourier3 spectral test on CCL, F, INTC and SNAP stocks, whose results are shown in Figure 7, shows a rare behavior compared to other tests>.

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

Where the paper says it

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.

<ref:2511.17479#pg3, Our methodology enables the generation of \ell sub-sequences at each aggregation level \ell. p. 2
Where the paper says it

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 ℓ.

That is, at an appropriate scale depending on the specific financial asset, multiple sequences pass standard randomness tests>. p. 2
Where the paper says it

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.

This approach allows for the generation of pseudo-random sequences from financial data. p. 2
Where the paper says it

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.

<ref:2511.17479#pg3, 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>. p. 2
Where the paper says it

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.

The methodology is described as an online process that does not require future information on the data. p. 3
Where the paper says it

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.

<ref:2511.17479#pg4>.

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

Where the paper says it

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.

The check involves generating strings of N = 50 000, 100 000, 500 thousand, and 1 million bits from the three RNGs.<ref:2511.17479#pg11, We generate strings of N = 50 thousand, 100 thousand, 500 thousand, 1 million bits and handle them similarly as the financial series>. p. 8
Where the paper says it

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.

The results of the sanity check showed that for ShannonEntropy and KL tests every string-length passes every test. p. 8
Where the paper says it

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.

<ref:2511.17479#pg28>. This validation allows for a verifiable source certified to be random by all our tests. p. 1
Where the paper says it

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.

<ref:2511.17479#pg20, If we select stocks not involved in cases 2 and 4, and we use the binary strings that we obtain at level of aggregation 100 as a source of randomness, we have a verifiable source certified to be random by all our tests>. p. 2
Where the paper says it

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.

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

Where the paper says it

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.

<ref:2511.17479#pg22, The plan for future work is to extend the data in applications to larger basket of assets. p. 1
Where the paper says it

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.

This task will require a visualization technique allowing to summarize the randomness of each stock at different aggregation levels>. p. 1
Where the paper says it

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.

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

Where the paper says it

Let X = {x1, x2, . , xN } be a realization of a stationary random process with symbols from a binary alphabet: xi ∈ {0, 1}.

This source of randomness from aggregated prices can then be classified and ranked among PRNGs using a framework. p. 1
Where the paper says it

In [13], authors classified and ranked pseudo-RNGs by their quality of outputs. Prices of stocks were tested as outputs of RNG in [14].

<ref:2511.17479#pg21, Our source of randomness from aggregated prices can then be classified and ranked among PRNGs using the framework of [13]>. p. 1
Where the paper says it

In [13], authors classified and ranked pseudo-RNGs by their quality of outputs. Prices of stocks were tested as outputs of RNG in [14].

The proposed methodology of whitening financial time series through aggregation can further be examined for its potential applications, for instance, in the implementation of randomness beacons. p. 1
Where the paper says it

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].

<ref:2511.17479#pg21, The proposed methodology of whitening financial time series through aggregation can further be examined for its potential applications, for instance, in the implementation of randomness beacons [3]>. p. 1
Where the paper says it

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].

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

Where the paper says it

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.

3 to 12 million shares) > 9 Table 2: Assets and characteristics of prices. p. 9
Where the paper says it

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.

<ref:2511.17479#pg9>

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

Where the paper says it

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.

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

Where the paper says it

• 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.

<ref:2511.17479#pg20> 18 Figure 8b. The slow decrease of randomness indeed shows the existence of some patterns inside the sequence, particularly at low aggregation levels; anyway, when we reach level 70, the sequence appears to be random, while if not balancing frequencies we get a nondecreasing behavior. p. 1
Where the paper says it

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.

<ref:2511.17479#pg20> 19 Figure 7: Results of sspectral Fourier3 test from the Rabbit battery applied to CCL, F, INTC and SNAP. p. 5
Where the paper says it

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.

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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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