The X+Y+Z Tri-Phase Trading Mechanism: Mitigating Flash Crashes and Latency Arbitrage Without Driving Liquidity into Shadow Markets
Overview:This repository contains the working paper and complete, zero-preset agent-based simulation notebooks for the X+Y+Z Tri-Phase Trading Mechanism, a multi-hour periodic batch-clearing architecture designed to mitigate flash crashes, suppress cross-phase spoofing, and eliminate latency arbitrage without driving market liquidity into unregulated shadow markets. Included Files:Working Paper (PDF):"The X+Y+Z Tri-Phase Trading Mechanism: Mitigating Flash Crashes and Latency Arbitrage Without Driving Liquidity into Shadow Markets" (Full theoretical framework, three core economic closed loops, Dual-Track Real-Economy Dedicated Board proposal, and empirical validation). Hours-Scale Simulation Notebook (simulation_3stage_100次蒙特卡洛_hour-level.ipynb): Multi-threaded Python Monte Carlo engine (100 runs × 10,000 heterogeneous agents × 250 trading days) and 2D parameter grid optimization (600 runs) for the baseline hours-scale configuration (X = 2.5h, Y = 1.0h, Z = 0.5h), reproducing Tables 1–3 and Figures 1–3. Seconds-Scale Robustness Notebook (simulation_3stage_100次蒙特卡洛_second-level.ipynb): Parallel Monte Carlo and parameter grid search engine evaluating high-frequency seconds-scale parameterization (X = 40s, Y = 15s, Z = 5s) under symmetric leverage rules, reproducing Table 4 and Figure 4. Reproducibility & Language Note:Both notebooks are self-contained and require standard scientific Python libraries (numpy, pandas, matplotlib). Core algorithm identifiers, variable names, and output tables/figures are written in English; inline developer comments are written in Chinese. Disclaimer:This research was conducted entirely in the author's personal capacity without institutional funding or affiliation.
Authors
- Ningbo Zhao (ORCID: https://orcid.org/0000-0002-7516-8938)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24656905
- Primary Topic
- Financial Markets and Investment Strategies
- Type
- article
- Field-Weighted Citation Impact
- 0.00