Looking into informal currency markets as Limit Order Books: impact of market makers

Alejandro García Figal, Alejandro Lage Castellanos, Roberto Mulet * · 2025

Read Looking into informal currency markets as Limit Order Books: impact of market makers by Alejandro García Figal, Alejandro Lage Castellanos, Roberto Mulet * (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-03858.txt.

Introduction

Informal currency markets can be read as limit order books, Alejandro García Figal, Alejandro Lage Castellanos, and Roberto Mulet show in a 2025 study. The case is the Cuban informal currency market. The authors scraped data from websites and social media about bid and ask intentions in that market, then modeled those intentions with the standard microstructure tool.

That frame lets them study liquidity, stability, and volume profiles. They then use the Avellaneda-Stoikov model to explore what a market maker would do in this informal setting. Adding such a maker improved the quality of the market in their analysis, lifting its structure and bid-ask dynamics. The findings may help policymakers who must intervene in informal markets with limited resources.

Catalog record

CREATORAlejandro García Figal, Alejandro Lage Castellanos, Roberto Mulet *
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE54 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-03858

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Looking into informal currency markets as Limit Order Books: impact of market makers Alejandro García Figal, Alejandro Lage Castellanos, Roberto Mulet * Abstract This study pioneers the application of the market microstructure framework to an informal financial market. By scraping data from websites and social media about the Cuban informal currency market, we model the dynamics of bid/ask intentions using a Limit Order Book (LOB). This approach enables us to study key characteristics such as liquidity, stability and volume profiles. We continue exploiting the Avellaneda-Stoikov model to explore the impact of introducing a Market Maker (MM) into this informal setting, assessing its influence on the market structure and the bid/ask dynamics. We show that the Market Maker improves the quality of the market. Beyond their academic significance, we believe that our findings are relevant for policymakers seeking to intervene informal markets with limited resources. 1 Introduction The rapid advancement of digital technology and the availability of vast amounts of data capturing interactions, intentions, and actions of economic agents has facilitated a detailed examination of many financial ecosystems [ 13 , 3 ] . In this context, the study of market microstructure provides a theoretical framework to understand the dynamics of asset prices based on the analysis of trading systems, types of order and the interactions between the participants in the markets [ 17 ] . It is safe to say that the scientific community has a reasonable understanding about the statistical properties of most financial markets [ 13 , 3 , 24 ] . However, most of this comprehension reflects, at best, the reality of formal markets in developed countries [ 22 , 20 , 7 , 25 , 19 ] , and leaves a significant gap in our understanding of informal financial markets. These are more prevalent in the Global South where they help in providing access to financial services to individuals and small businesses, often excluded from formal banking systems. Understanding the microstructure of these markets can help policymakers design interventions that enhance financial inclusion and promote economic development. This gap in our understanding results from the scientific bias favoring the research about structures in the developed world, but also from lack of confident data to quantify informal markets. The appearance of internet and social media, and the displacement of these markets there, creates an opportunity to alleviate this situation. This works take profits of this and focus its attention on the Cuban informal currency market [ 10 , 26 ] . In the first part of the manuscript, we exploit real data of bid/asks intentions extracted from informal electronic exchange sites in Cuba and model the dynamics of these intentions as the one of a Limit Order Book (LOB) [ 12 ] . We hypothesize that this approach is a proxy for the dynamics of the real market, and therefore that it could elucidate some of its properties, including liquidity, stability, market volume profiles, and order distributions [ 12 , 4 , 23 , 21 ] . In the second part we study the impact of a market maker in the structure of this market [ 16 , 25 , 27 , 1 ] . To the best of our knowledge, this is the first application of the market microstructure framework to an informal financial market and the first time, that the performance of a market maker is estimated in a similar context. The work is organized as follows: In Section 2 we present the model of the LOB. We continue with section 3 presenting and discussing the empirical statistics obtained. We then introduce the market maker framework and discuss its impact on the structure of the market in Section 4 . We continue modeling the impact of the market marker on the bid/asks dynamics of the informal market in Section 5 . Finally we present the conclusions of our work. All the data required to reproduce the results presented in this study are available in this git-hub reppository . 2 The Limit Order Book Most financial markets works through an electronic algorithm called, Limit Order Book (LOB) [ 3 , 4 , 12 , 5 , 11 ] . It facilitates the interaction of buyers and sellers sorting the orders by price, from most attractive to least attractive (highest to lowest for buy orders and lowest to highest for sell orders). The orders are executed giving priority to more atractive prices and if multiple orders share the same price at the time of execution, priority is determined by arrival time. We will assume that the electronic orders present in social media platforms studied as LOB represent a proxy of the real informal currency market. The orders are obtained by web scraping the principal site of currency exchange in Cuba (ElTOQUE [ 8 ] ) to gather public intentions to purchase or sell currencies. The scraping is conducted using a python-based system, which allows us to extract sales and purchases intentions from posts and comments in these web page. To date, we have collected messages from July 2021 to February 2025, resulting in a total of 814,233 orders, representing 95.11\% of the total messages collected. The remaining messages were "unclear" and lacked sufficient information for automatic classification. The messages are processed using regular expressions to identify patterns [ 10 ] . We validated this automated process against human interpretation on a sample of messages. We focus our attention here on the USD, the most demanded currency in the Cuban market, which also serves as a reference for other transactions. We process the messages to extract declared orders for buying or selling specific USD volumes at prices no worse than stated. Each order x is characterized by four attributes: the sign \epsilon_{x} , +1 for a buy order and -1 for a sell order, the price p_{x} (in cuban pesos, CUP), the volume v_{x}>0 , (defined in dollars, USD) and a timestamp t_{x} . Thus, an order x can be defined as x:=(\epsilon_{x},p_{x},v_{x},t_{x}) . When a buy order (or a sell order) x comes in, the matching algorithm checks whether it is possible for the order x to match a sell order (or a buy order) y , i.e., they match if p_{y}\leq p_{x} (or p_{y}\geq p_{x} ). If a match is possible, a transaction occurs immediately at the agreed quantity and price. Any portion of x that is not executed instantly becomes part of the LOB at price p_{x} , and remains on the book until it is executed by an incoming order or canceled after seven days 1 1 1 In informal markets, where we proxy orders from raw messages, we assume an order is canceled after seven days. . Thus, an LOB can be defined as a collection \mathfrak{L}(t) of unfulfilled intentions to buy or sell an asset at a given time t . It can be partitioned into a set of buy limit orders \mathfrak{B}(t) with \epsilon=+1 and a set of sell limit orders \mathfrak{A}(t) with \epsilon=-1 (Figure 1 ). The bid and ask prices are defined as: b(t):=\max_{x\in\mathfrak{B}(t)}p_{x}\quad\mbox{and}\quad a(t):=\min_{x\in\mathfrak{A}(t)}p_{x} respectively. By following this dynamic, we can extract intraday information that is valuable, for example: the mid price m(t):=\frac{1}{2}[a(t)+b(t)] , the bid-ask spread, \mathfrak{s}(t):=a(t)-b(t)>0

Read the complete text