PCPatrick Chang

Patrick Chang

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Patrick Chang has a total of 13 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Spoofing and Manipulating Order Books with Learning Algorithms

    by Alvaro Cartea, Patrick Chang, Gabriel Garcia Arenas

    We propose a dynamic model of the limit order book to derive conditions to test whether it is optimal to manipulate the order book. Our results show that as a market maker becomes more tolerant to bearing inventory risk, optimal strategies that manipulate the book occur more frequently. Manipulation helps to revert inventory to an optimal level and to execute round-trip trades with limit orders at a higher probability than was otherwise likely to occur. Spoofing is a special case of quote-based manipulation where the market maker prefers that the manipulative limit orders are not filled. Overall, if certain conditions hold, then the optimal trading strategy is to manipulate the limit order book. We use high-frequency data to check our conditions and show that the conditions for manipulation hold in Nasdaq’s limit order book.

  • Open Access

    AI Bubbles with Large Language Models

    by Álvaro Cartea, Patrick Chang, Nan Chen, Mingyue Zhong

    AI agents participate in both rational and irrational bubbles. In a sequential bubble game, AI agents generate speculative trades even though there is a unique no-trade equilibrium. Increasing reasoning capacity reduces, but does not eliminate, such irrational bubbles. Chain-of-thought analysis shows that AI agents participate in irrational bubbles because they form incorrect beliefs through simplified expectations of the market, and they are sensitive to framing effects when forming their beliefs. When the environment admits both a no-trade equilibrium and a speculative bubble equilibrium, AI agents recognize this multiplicity and coordinate on the speculative equilibrium. Our results suggest that greater AI sophistication does not necessarily eliminate bubbles or improve market efficiency.

  • Open Access

    Algorithmic collusion and a folk theorem from learning with bounded rationality

    by Álvaro Cartea, Patrick Chang, José Penalva, Harrison Waldon


  • Open Access

    AI-driven liquidity provision in OTC financial markets

    by Álvaro Cartea, Patrick Chang, Mateusz Mroczka, Roel Oomen

    Providing liquidity in over-the-counter markets is a challenging under-taking, in large part because a market maker does not observe where their competitors quote, nor do they typically know how many rivals they compete with or what the trader's overall liquidity demand is. Optimal pricing strategies can be derived in theory assuming full knowledge of the competitive environment, but these results do not translate into practice where information is incomplete and asymmetric. This paper studies whether artificial intelligence, in the form of multi-armed bandit reinforcement learning algorithms, can be used by liquidity providers to dynamically set spreads using only information that is commonly available to them. We also investigate whether collusive effects can arise when competing liquidity providers all employ such algorithms. Our findings are as follows. In a single-agent setup where only one liquidity provider is optimising pricing in an otherwise static environment, all the algorithms considered are able to locate the theoretically optimal pricing policy, albeit they do so quite inefficiently when compared to a model-based approach. In a multi-agent setting where competing liquidity providers simultaneously and independently use algorithms to optimise pricing, we demonstrate that for one class of algorithms (pseudo) collusion cannot arise, while for another it can arise in certain circumstances and we provide examples where it does. The scenarios where collusive effects appear, however, are fragile, sensitive to the specific configuration and exceedingly unlikely to occur in practice. Moreover, with a modest number of competitors, collusive effects that might otherwise arise in some of the most contrived scenarios are largely or entirely eliminated.


  • Open Access

    Using the Epps effect to detect discrete processes

    by Patrick Chang, Etienne Pienaar, Tim Gebbie

    The Epps effect is key phenomenology relating to high frequency correlation dynamics in financial markets. We argue that it can be used to provide insight into whether tick data is best represented as samples from Brownian diffusions, or as samples from truly discrete events represented as connected point processes. We derive the Epps effect arising from asynchrony and provide a refined method to correct for the effect. We then propose three experiments which show how to discriminate between possible underlying representations. These in turn demonstrate how a simple Hawkes representation recovers phenomenology reported in the literature that cannot be recovered using a Brownian representation without additional ad hoc model complexity. However, complex ad hoc noise models built on Brownian motions cannot in general be discriminated relative to a Hawkes representation. Nevertheless, we argue that high frequency correlation dynamics are most faithfully recovered when tick data is represented as a web of interconnected discrete events rather than being samples from continuous Brownian diffusions even when combined with noise.

  • Open Access

    Simulation and estimation of an agent-based market-model with a matching engine

    by Ivan Jericevich, Patrick Chang, Tim Gebbie

    An agent-based model with interacting low frequency liquidity takers inter-mediated by high-frequency liquidity providers acting collectively as market makers can be used to provide realistic simulated price impact curves. This is possible when agent-based model interactions occur asynchronously via order matching using a matching engine in event time to replace sequential calendar time market clearing. Here the matching engine infrastructure has been modified to provide a continuous feed of order confirmations and updates as message streams in order to conform more closely to live trading environments. The resulting trade and quote message data from the simulations are then aggregated, calibrated and visualised. Various stylised facts are presented along with event visualisations and price impact curves. We argue that additional realism in modelling can be achieved with a small set of agent parameters and simple interaction rules once interactions are reactive, asynchronous and in event time. We argue that the reactive nature of market agents may be a fundamental property of financial markets and when accounted for can allow for parsimonious modelling without recourse to additional sources of noise.

  • Open Access

    The Epps effect under alternative sampling schemes

    by Patrick Chang, Etienne Pienaar, Tim Gebbie

    Time and the choice of measurement time scales is fundamental to how we choose to represent information and data in finance. This choice implies both the units and the aggregation scales for the resulting statistical measurables used to describe a financial system. It also defines how we measure the relationship between different traded instruments. As we move from high-frequency time scales, when individual trade and quote events occur, to the mesoscales when correlations emerge in ways that can conform to various latent models; it remains unclear what choice of time and sampling rates are appropriate to faithfully capture system dynamics and asset correlations for decision making. The Epps effect is the key phenomenology that couples the emergence of correlations to the choice of sampling time scales. Here we consider and compare the Epps effect under different sampling schemes in order to contrast three choices of time: calendar time, volume time and trade time. Using a toy model based on a Hawkes process, we are able to achieve simulation results that conform well with empirical dynamics. Concretely, we find that the Epps effect is present under all three definitions of time and that correlations emerge faster under trade time compared to calendar time, whereas correlations emerge linearly under volume time.

  • Open Access

    Malliavin-Mancino estimators implemented with non-uniform fast Fourier transforms

    by Patrick Chang, Etienne Pienaar, Tim Gebbie

    We implement and test kernel averaging Non-Uniform Fast Fourier Transform (NUFFT) methods to enhance the performance of correlation and covariance estimation on asynchronously sampled event-data using the Malliavin-Mancino Fourier estimator. The methods are benchmarked for Dirichlet and Fej\'{e}r Fourier basis kernels. We consider test cases formed from Geometric Brownian motions to replicate synchronous and asynchronous data for benchmarking purposes. We consider three standard averaging kernels to convolve the event-data for synchronisation via over-sampling for use with the Fast Fourier Transform (FFT): the Gaussian kernel, the Kaiser-Bessel kernel, and the exponential of semi-circle kernel. First, this allows us to demonstrate the performance of the estimator with different combinations of basis kernels and averaging kernels. Second, we investigate and compare the impact of the averaging scales explicit in each averaging kernel and its relationship between the time-scale averaging implicit in the Malliavin-Mancino estimator. Third, we demonstrate the relationship between time-scale averaging based on the number of Fourier coefficients used in the estimator to a theoretical model of the Epps effect. We briefly demonstrate the methods on Trade-and-Quote (TAQ) data from the Johannesburg Stock Exchange to make an initial visualisation of the correlation dynamics for various time-scales under market microstructure.

  • Open Access

    Comparing the market microstructure between two South African exchanges

    by Ivan Jericevich, Patrick Chang, Tim Gebbie

    We consider shared listings on two South African equity exchanges: the Johannesburg Stock Exchange (JSE) and the A2X Exchange. A2X is an alternative exchange that provides for both shared listings and new listings within the financial market ecosystem of South Africa. From a science perspective it provides the opportunity to compare markets trading similar shares, in a similar regulatory and economic environment, but with vastly different liquidity, costs and business models. A2X currently has competitive settlement and transaction pricing when compared to the JSE, but the JSE has deeper liquidity. In pursuit of an empirical understanding of how these differences relate to their respective price response dynamics, we compare the distributions and auto-correlations of returns on different time scales; we compare price impact and master curves; and we compare the cost of trading on each exchange. This allows us to empirically compare the two markets. We find that various stylised facts become similar as the measurement or sampling time scale increase. However, the same securities can have vastly different price responses irrespective of time scales. This is not surprising given the different liquidity and order-book resilience. Here we demonstrate that direct costs dominate the cost of trading, and the importance of competitively positioning cost ceilings. Universality is crucial for being able to meaningfully compare cross-exchange price responses, but in the case of A2X, it has yet to emerge in a meaningful way due to the infancy of the exchange -- making meaningful comparisons difficult.