Far-from-equilibrium models of interacting particles in one dimension are used as a basis for modelling the stock-market fluctuations. Particle types and their positions are interpreted as buy and sell orders placed on a price axis in the order book. We revisit some modifications of well-known models, starting with the Bak-Paczuski-Shubik model. We look at the four decades old Stigler model and investigate its variants. One of them is the simplified version of the Genoa artificial market. The list of studied models is completed by the models of Maslov and Daniels et al. Generically, in all cases we compare the return distribution, absolute return autocorrelation and the value of the Hurst exponent. It turns out that none of the models reproduces satisfactorily all the empirical data, but the most promising candidates for further development are the Genoa artificial market and the Maslov model with moderate order evaporation.
We examine the correlation of the limit price with the order book, when a limit order comes. We analyzed the Rebuild Order Book of Stock Exchange Electronic Trading Service, which is the centralized order book market of London Stock Exchange. As a result, the limit price is broadly distributed around the best price according to a power-law, and it isn't randomly drawn from the distribution, but has a strong correlation with the size of cumulative unexecuted limit orders on the price. It was also found that the limit price, on the coarse-grained price scale, tends to gather around the price whi…
The existing literature provides evidence that limit order book data can be used to predict short-term price movements in stock markets. This paper proposes a new neural network architecture for predicting return jump arrivals in equity markets with high-frequency limit order book data. This new architecture, based on Convolutional Long Short-Term Memory with Attention, is introduced to apply time series representation learning with memory and to focus the prediction attention on the most important features to improve performance. The data set consists of order book data on five liquid U.S. st…
We have analyzed the statistical probabilities of limit-order book (LOB) shape through building the book using the ultra-high-frequency data from 23 liquid stocks traded on the Shenzhen Stock Exchange in 2003. We find that the averaged LOB shape has a maximum away from the same best price for both buy and sell LOBs. The LOB shape function has nice exponential form in the right tail. The buy LOB is found to be abnormally thicker for the price levels close to the same best although there are much more sell orders on the book. We also find that the LOB shape functions for both buy and sell sides …
In this paper, we build on the analysis of Muni Toke and Yoshida (2020) and conduct several empirical studies using high-frequency financial data. Muni Toke and Yoshida (2020) showed the consistency and asymptotic behavior of the Cox-type model estimators for relative intensities of orders in the limit order book, and then by using high-frequency trading data for 36 stocks traded on the Paris Stock Exchange, they carry out model selection and trading sign prediction. In this study, we add new covariates and carry out model selection and trading sign prediction using high-frequency trading data…
We empirically study the trading activity in the electronic on-book segment and in the dealership off-book segment of the London Stock Exchange, investigating separately the trading of active market members and of other market participants which are non-members. We find that (i) the volume distribution of off-book transactions has a significantly fatter tail than the one of on-book transactions, (ii) groups of members and non-members can be classified in categories according to their trading profile (iii) there is a strong anticorrelation between the daily inventory variation of a market membe…
The percolation model of stock market speculation allows an asymmetry (in the return distribution) leading to fast downward crashes and slow upward recovery. We see more small upturns and more intermediate downturns.
We propose a framework to study the optimal liquidation strategy in a limit order book for large-tick stocks, with spread equal to one tick. All order book events (market orders, limit orders and cancellations) occur according to independent Poisson processes, with parameters depending on price move directions. Our goal is to maximise the expected terminal wealth of an agent who needs to liquidate her positions within a fixed time horizon. Assuming that the agent trades (through sell limit order or/and sell market order) only when the price moves, we model her liquidation procedure as a semi-M…
We present a simple order book mechanism that regulates an artificial financial market with self-organized criticality dynamics and fat tails of returns distribution. The model shows the role played by individual imitation in determining trading decisions, while fruitfully replicates typical aggregate market behavior as the "self-fulfilling prophecy". We also address the role of random traders as a possible decentralized solution to dampen market fluctuations.
The dynamics of a stock market with heterogeneous agents is discussed in the framework of a recently proposed spin model for the emergence of bubbles and crashes. We relate the log returns of stock prices to magnetization in the model and find that it is closely related to trading volume as observed in real markets. The cumulative distribution of log returns exhibits scaling with exponents steeper than 2 and scaling is observed in the distribution of transition times between bull and bear markets.
Recent technological developments have changed the fundamental ways stock markets function, bringing regulatory instances to assess the benefits of these developments. In parallel, the ongoing machine learning revolution and its multiple applications to trading can now be used to design a next generation of financial models, and thereby explore the systemic complexity of financial stock markets in new ways. We here follow on a previous groundwork, where we designed and calibrated a novel agent-based model stock market simulator, where each agent autonomously learns to trade by reinforcement le…
Price gap, defined as the logarithmic price difference between the first two occupied price levels on the same side of a limit order book (LOB), is a key determinant of market depth, which is one of the dimensions of liquidity. However, the properties of price gaps have not been thoroughly studied due to the less availability of ultrahigh frequency data. In the paper, we rebuild the LOB dynamics based on the order flow data of 26 A-share stocks traded on the Shenzhen Stock Exchange in 2003. Three key empirical statistical properties of price gaps are investigated. We find that the distribution…
We observe the effects of the three different events that cause spread changes in the order book, namely trades, deletions and placement of limit orders. By looking at the frequencies of the relative amounts of price changing events, we discover that deletions of orders open the bid-ask spread of a stock more often than trades do. We see that once the amount of spread changes due to deletions exceeds the amount of the ones due to trades, other observables in the order book change as well. We then look at how these spread changing events affect the prices of stocks, by means of the price respon…
This study presents an agent-based computational cross-market model for Chinese equity market structure, which includes both stocks and CSI 300 index futures. In this model, we design several stocks and one index futures to simulate this structure. This model allows heterogeneous investors to make investment decisions with restrictions including wealth, market trading mechanism, and risk management. Investors' demands and order submissions are endogenously determined. Our model successfully reproduces several key features of the Chinese financial markets including spot-futures basis distributi…
The paper reports the construction of artificial stock market that emerges the similar statistical facts with real data in Indonesian stock market. We use the individual but dominant data, i.e.: PT TELKOM in hourly interval. The artificial stock market shows standard statistical facts, e.g.: volatility clustering, the excess kurtosis of the distribution of return, and the scaling properties with its breakdown in the crossover of Levy distribution to the Gaussian one. From this point, the artificial stock market will always be evaluated in order to have comprehension about market process in Ind…
It has been assumed that arbitrage profits are not possible in efficient markets, because future prices are not predictable. Here we show that predictability alone is not a sufficient measure of market efficiency. We instead propose to measure inefficiencies of markets in terms of the maximal profit an ideal trader can take out from a market. In a stock market model with an evolutionary selection of agents this method reveals that the mean relative amount of realizable profits $P$ is very limited and we find that it decays with rising number of agents in the markets. Our results show that mark…
In this article, we established a stock market model based on agents' investing mentality. The agents decide whether to purchase the shares at the probability, according to their anticipation of the market's behaviors. The expectation of the amount of shares they want to buy is directly proportional to the value of asset they hold. The agents sell their shares because of the gaining-profit psychology, stopping-loss psychology, or dissatisfaction with the long-time congealing of the assets. We studied how the distribution of agent's assets varies along with systemic evolution. The experiments s…
Recent studies using data on social media and stock markets have mainly focused on predicting stock returns. Instead of predicting stock price movements, we examine the relation between Facebook data and investors' decision making in stock markets with a unique data on investors' transactions on Nokia. We find that the decisions to buy versus sell are associated with Facebook data especially for passive households and also for nonprofit organizations. At the same time, it seems that more sophisticated investors---financial and insurance institutions---are behaving independently from Facebook a…
Market liquidity plays a vital role in the field of market micro-structure, because it is the vigor of the financial market. This paper uses a variable called convexity to measure the potential liquidity provided by order-book. Based on the high-frequency data of each stock included in the SSE (Shanghai Stock Exchange) 50 Index for the year 2011, we report several statistical properties of convexity and analyze the association between convexity and some other important variables (bid/ask-depth, spread, volatility, return.)
Market making is one of the most important aspects of algorithmic trading, and it has been studied quite extensively from a theoretical point of view. The practical implementation of so-called "optimal strategies" however suffers from the failure of most order book models to faithfully reproduce the behaviour of real market participants. This paper is twofold. First, some important statistical properties of order driven markets are identified, advocating against the use of purely Markovian order book models. Then, market making strategies are designed and their performances are compared, based…
This article comes up with an intraday trading strategy under T+1 using Markowitz optimization and Multilayer Perceptron (MLP) with published stock data obtained from the Shenzhen Stock Exchange and Shanghai Stock Exchange. The empirical results reveal the profitability of Markowitz portfolio optimization and validate the intraday stock price prediction using MLP. The findings further combine the Markowitz optimization, an MLP with the trading strategy, to clarify this strategy's feasibility.
In this paper we continue the study of the simulated stock market framework defined by the driving sentiment processes. We focus on the market environment driven by the buy/sell trading sentiment process of the Markov chain type. We apply the methodology of the Hidden Markov Models and the Recurrent Neural Networks to reconstruct the transition probabilities matrix of the Markov sentiment process and recover the underlying sentiment states from the observed stock price behavior.
The efficiency of the stock market has a significant impact on the potential return on investment. An efficient market eliminates the possibility of arbitrage and unexploited profit opportunities. This study analyzes the weak form efficiency of the Indian Stock market based on the two major Indian stock exchanges, viz., BSE and NSE. The daily closing values of Sensex and Nifty indices for the period from April 2010 to March 2019 are used to perform the Runs test, the Autocorrelation test, and the Autoregression test. The study confirms that the Indian Stock market is weak form inefficient and …
This paper investigates the effects of a price limit change on the volatility of the Korean stock market's (KRX) intraday stock price process. Based on the most recent transaction data from the KRX, which experienced a change in the price limit on June 15, 2015, we examine the change in realized variance after the price limit change to investigate the overall effects of the change on the intraday market volatility. We then analyze the effects in more detail by applying the discrete Fourier transform (DFT) to the data set. We find evidence that the market becomes more volatile in the intraday h…
The latent order book of \cite{donier2015fully} is one of the most promising agent-based models for market impact. This work extends the minimal model by allowing agents to exhibit mean-reversion, a commonly observed pattern in real markets. This modification leads to new order book dynamics, which we explicitly study and analyze. Underlying our analysis is a mean-field assumption that views the order book through its \textit{average} density. We show how price impact develops in this new model, providing a flexible family of solutions that can potentially improve calibration to real data. Whi…
Financial markets show a number of non-stationarities, ranging from volatility fluctuations over ever changing technical and regulatory market conditions to seasonalities. On the other hand, financial markets show various stylized facts which are remarkably stable. It is thus an intriguing question to find out how these stylized facts emerge. As a first example, we here investigate how the bid-ask-spread between best sell and best buy offer for stocks develops during the trading day. For rescaled and properly smoothed data we observe collapsing curves for many different NASDAQ stocks, with a s…
Previous studies of the stock price response to trades focused on the dynamics of single stocks, i.e. they addressed the self-response. We empirically investigate the price response of one stock to the trades of other stocks in a correlated market, i.e. the cross-responses. How large is the impact of one stock on others and vice versa? -- This impact of trades on the price change across stocks appears to be transient instead of permanent as we discuss from the viewpoint of market efficiency. Furthermore, we compare the self-responses on different scales and the self- and cross-responses on the…
This paper describes the design, implementation, and successful use of the Bristol Stock Exchange (BSE), a novel minimal simulation of a centralised financial market, based on a Limit Order Book (LOB) such as is common in major stock exchanges. Construction of BSE was motivated by the fact that most of the world's major financial markets have automated, with trading activity that previously was the responsibility of human traders now being performed by high-speed autonomous automated trading systems. Research aimed at understanding the dynamics of this new style of financial market is hampered…
We propose a class of Markovian agent based models for the time evolution of a share price in an interactive market. The models rely on a microscopic description of a market of buyers and sellers who change their opinion about the stock value in a stochastic way. The actual price is determined in realistic way by matching (clearing) offers until no further transactions can be performed. Some analytic results for a non-interacting model are presented. We also propose basic interaction mechanisms and show in simulations that these already reproduce certain particular features of prices in real s…
We empirically study the market impact of trading orders. We are specifically interested in large trading orders that are executed incrementally, which we call hidden orders. These are reconstructed based on information about market member codes using data from the Spanish Stock Market and the London Stock Exchange. We find that market impact is strongly concave, approximately increasing as the square root of order size. Furthermore, as a given order is executed, the impact grows in time according to a power-law; after the order is finished, it reverts to a level of about 0.5-0.7 of its value …
The imbalance of buying and selling functions profoundly in the formation of market trends, however, a fine-granularity investigation of the imbalance is still missing. This paper investigates a unique transaction dataset that enables us to inspect the imbalance of buying and selling on the man-times level at high frequency, what we call 'trading polarity', for a large cross-section of stocks from Shenzhen Stock Exchange. The trading polarity measures the market sentiment toward stocks from a view of very essence of trading desire. When using the polarity to examine market crash, we find that …
Commonly used limit order book attributes are empirically considered based on NASDAQ ITCH data. It is shown that some of them have the properties drastically different from the ones assumed in many market dynamics study. Because of this difference we propose to make a transition from "Statistical" type of order book study (typical for academics) to "Dynamical" type of study (typical for market practitioners). Based on market data analysis we conclude, that most of market dynamics information is contained in attributes with spikes (e.g. executed trades flow $I=dv/dt$), there is no any "stationa…
This paper concentrates on the time series momentum or contrarian effects in the Chinese stock market. We evaluate the performance of the time series momentum strategy applied to major stock indices in mainland China and explore the relation between the performance of time series momentum strategies and some firm-specific characteristics. Our findings indicate that there is a time series momentum effect in the short run and a contrarian effect in the long run in the Chinese stock market. The performances of the time series momentum and contrarian strategies are highly dependent on the look-bac…
Just as war is sometimes fallaciously represented as a zero sum game -- when in fact war is a negative sum game - stock market trading, a positive sum game over time, is often erroneously represented as a zero sum game. This is called the "zero sum fallacy" -- the erroneous belief that one trader in a stock market exchange can only improve their position provided some other trader's position deteriorates. However, a positive sum game in absolute terms can be recast as a zero sum game in relative terms. Similarly it appears that negative sum games in absolute terms have been recast as zero sum …
Ecole Polytechnique(巴黎综合理工学院);Exoduspoint Capital Management France(法国Exoduspoint资本管理公司);ENSAE Paris(巴黎国立统计与经济管理学院)
The existing publications demonstrate that the limit order book data is useful in predicting short-term volatility in stock markets. Since stocks are not independent, changes on one stock can also impact other related stocks. In this paper, we are interested in forecasting short-term realized volatility in a multivariate approach based on limit order book data and relational data. To achieve this goal, we introduce Graph Transformer Network for Volatility Forecasting. The model allows to combine limit order book features and an unlimited number of temporal and cross-sectional relations from di…
This paper intends to apply the Hidden Markov Model into stock market and and make predictions. Moreover, four different methods of improvement, which are GMM-HMM, XGB-HMM, GMM-HMM+LSTM and XGB-HMM+LSTM, will be discussed later with the results of experiment respectively. After that we will analyze the pros and cons of different models. And finally, one of the best will be used into stock market for timing strategy.