This article validates a market simulation and calibration procedure using real-world historical data from the Hong Kong exchange (HKEX).This article validates a market simulation and calibration procedure using real-world historical data from the Hong Kong exchange (HKEX).

Analyzing Historical Trading Data: Applying Simulation-Based Inference to HKEX

2025/09/06 10:21

Abstract and 1. Introduction

2. Relevant Work

3. Methods

3.1 Models

3.2 Summarising Features

3.3 Calibration of Market Model Parameters

4. Experiments

4.1 Zero Intelligence Trader

4.2 Extended Chiarella

4.3 Historical Data

5. Discussion & Future Work

6. Significance, Acknowledgments, and References

4.3 Historical Data

Having demonstrated that we are able to calibrate synthetic data using neural density estimators and embedding networks, we next use our calibration procedure to identify model parameters specific to a single day of trading. We use data from the Hong Kong exchange (HKEX) which reflects a standard trading day. We first evaluate the stylised facts on the historical data to see which are supported and which are violated. As shown in Figure 2, we see that (a) log returns follow a typical normal distribution at medium timescales (minutes) but that this departs from normality as we shorten the timescale (seconds), resulting an increase in kurtosis. Additionally, when calculating the skewness at both timescales, we observe a slight asymmetry (0.44).

\ Shown in Figure 2(c), we observe an absence of autocorrelation in the return series, in (d), a positive correlation between volume and volatility and in (e) we see significant volatility clustering at high lag number. We also observe intermittency in historical data, a large Hurst exponent (0.8) and that the autocorrelation of absolute returns rapidly converges to zero reflecting that the historical data has no long range memory or dependencies, and the order book volumes approximate a Gamma distribution, where 𝛾 = 0.014, 0.018 for bid and ask orders, respectively. However, we also note that some stylised facts are not observed in this data, such as a negative correlation between returns and volatility, and significant concavity in the price impact function, which is essentially flat at 0.07.

\ In Figure 4, we show the estimated posterior distribution for the historical data using the VWAP from the fist level of the LOB. We again observe that parameters for the fundamental trader and noise trader are constrained, whereas those for the momentum trader have high uncertainty. Interestingly, we see that the decay rate for high frequency traders has reduced uncertainty, indicating that high frequency behaviours may be significant in this trading day. Future work will investigate this. Shown in Figure 2, we are again able to reproduce several of the stylised facts, including (a) the heavy tails and normality of log returns, (c) the absence of auto-correlations in return series, and (e) a strong correlation between volume and volatility, as well as intermittency, no long range memory (where the Hurst exponent is 0.76) or dependencies of absolute returns, and a Gamma distribution in the order book volume (where 𝛾 = 0.28 for both bid and ask orders). Interestingly, we observe that our simulator is able to recreate stylised facts that are not present in the historical data such as negative correlation between returns and volatility and a stronger asymmetry in returns (-0.95). We again observe that the price impact function is approximately flat (0.01). The only stylised fact that is observed less strongly in our simulator is the volatility clustering, shown in Figure 2(f), which decreases with increasing lag but is not consistently positive.

\ We next use the historical data to estimate the posterior for the ZI trader model, as shown in Figure 5. We find that the parameter values are constrained with similar uncertainties as observed when using synthetic data. We again see a sharp bi-modality in the rate at which market orders are submitted that spans the prior. When calculating the stylised facts, we observe the same behaviours as with the extended Chiarella model. However, the price impact function is now convex (with coefficient -0.25) and where there is negligible correlation between returns and volatility (correlation coefficient is -0.0005).

\

:::info Authors:

(1) Namid R. Stillman, Simudyne Limited, United Kingdom (namid@simudyne.com);

(2) Rory Baggott, Simudyne Limited, United Kingdom (rory@simudyne.com);

(3) Justin Lyon, Simudyne Limited, United Kingdom (justin@simudyne.com);

(4) Jianfei Zhang, Hong Kong Exchanges and Clearing Limited, Hong Kong (jianfeizhang@hkex.com.hk);

(5) Dingqiu Zhu, Hong Kong Exchanges and Clearing Limited, Hong Kong (dingqiuzhu@hkex.com.hk);

(6) Tao Chen, Hong Kong Exchanges and Clearing Limited, Hong Kong (taochen@hkex.com.hk);

(7) Perukrishnen Vytelingum, Simudyne Limited, United Kingdom (krishnen@simudyne.com).

:::


:::info This paper is available on arxiv under CC BY 4.0 DEED license.

:::

\

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Superstate launches an on-chain direct issuance solution, enabling companies to raise funds in stablecoins to issue tokenized shares.

Superstate launches an on-chain direct issuance solution, enabling companies to raise funds in stablecoins to issue tokenized shares.

PANews reported on December 10th that Superstate, led by Compound founder Robert Leshner, announced the launch of "Direct Issuance Programs." This program allows publicly traded companies to raise funds directly from KYC-verified investors by issuing tokenized shares, with investors paying in stablecoins and settling instantly. The service will run on Ethereum and Solana, with the first offering expected to launch in 2026. The program requires no underwriters, complies with SEC regulations, and aims to promote the on-chaining of capital markets.
Share
PANews2025/12/10 21:07
Trump to start final Fed chair interviews beginning with Kevin Warsh

Trump to start final Fed chair interviews beginning with Kevin Warsh

The post Trump to start final Fed chair interviews beginning with Kevin Warsh appeared on BitcoinEthereumNews.com. President Donald Trump will begin the final interviews of candidates for the Federal Reserve chair this week, putting back on track the formal selection process that began this summer. “We’re going to be looking at a couple different people, but I have a pretty good idea of who I want,” Trump said Tuesday night aboard Air Force One to reporters. The interviews by Trump and Treasury Secretary Scott Bessent will begin with former Fed governor Kevin Warsh on Wednesday and also include Kevin Hassett, the director of the National Economic Council, at some point, according to two sources. It restarts the process that was derailed a bit last week when interviews with candidates were abruptly canceled. Trump said recently he knew who he was going to pick to replace current Chair Jerome Powell, and prediction markets overwhelmingly believed it would be Hassett. But his possible selection received some pushback from the markets recently, especially among fixed income investors concerned Hassett would only do Trump’s bidding and keep rates too low even if inflation snaps back. So it’s unclear if these interviews are a sign Trump has changed his mind or just the final stage of the formal process. CNBC first reported in October that Trump had narrowed the candidate list down to five people. Four of those five will be part of these final interviews. The group also includes current Governors Christopher Waller and Michelle Bowman as well as BlackRock fixed income chief Rick Rieder. The Fed will likely lower rates for a third time this year on Wednesday, but Powell, whose term as chair is up in May, is expected to strike a cautious tone at his post-meeting press conference on how much lower the central bank will go next year. The Fed’s latest forecast released in September called…
Share
BitcoinEthereumNews2025/12/10 21:07