Searcharxiv⌕ Search

SEARCH · Searcharxiv

Results for “q-fin.TR”

Search indexed arXiv papers on artificial intelligence, large language models, computer vision and robotics. Read source abstracts and follow links to arXiv.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 415 records · Page 23Linked to original sources

How Wave - Wavelet Trading Wins and "Beats" the Market

The purpose of this paper is to showcase trading strategies that give solutions to three difficult and intriguing problems in business finance, economics and statistics. The paper discusses trading strategies for both commodities and stocks but the main focus is on stock market trading at the New York Stock Exchange. Problem 1: Buy Low and Sell High. The buy low and sell high problem can be summarized like this: suppose the price of a commodity or stock fluctuates indefinitely, is there any explicit strategy for a trader to "ride the price waves" by buying low and selling high to eventually win even if price does not increase? Problem 2: "Beat" the Market. In Part 2, the trading system presented in Part 1 is transformed into a strategy that always outperforms the market eventually. Problem 3: Can a Trader Outperform a geometric Brownian Motion? The general belief is that it is impossible to "beat" a GBM since technical analysis of historical prices is useless in predicting future prices. The last part of the paper shows that the answer to Problem 3 is actually a "YES", which is quite surprising. The trading strategies presented are based mainly on information obtained from the movements of waves and wavelets created by large and small fluctuations of market prices. They do not involve any forecasting or prediction of future prices. Behavioral economics also plays a role in the decision making process of the Wavelet Trading program. My website AgateTrading.com is available to the public.

q-fin.TR↗

Incorporating Signals into Optimal Trading

Optimal trading is a recent field of research which was initiated by Almgren, Chriss, Bertsimas and Lo in the late 90's. Its main application is slicing large trading orders, in the interest of minimizing trading costs and potential perturbations of price dynamics due to liquidity shocks. The initial optimization frameworks were based on mean-variance minimization for the trading costs. In the past 15 years, finer modelling of price dynamics, more realistic control variables and different cost functionals were developed. The inclusion of signals (i.e. short term predictors of price dynamics) in optimal trading is a recent development and it is also the subject of this work. We incorporate a Markovian signal in the optimal trading framework which was initially proposed by Gatheral, Schied, and Slynko [21] and provide results on the existence and uniqueness of an optimal trading strategy. Moreover, we derive an explicit singular optimal strategy for the special case of an Ornstein-Uhlenbeck signal and an exponentially decaying transient market impact. The combination of a mean-reverting signal along with a market impact decay is of special interest, since they affect the short term price variations in opposite directions. Later, we show that in the asymptotic limit were the transient market impact becomes instantaneous, the optimal strategy becomes continuous. This result is compatible with the optimal trading framework which was proposed by Cartea and Jaimungal [10]. In order to support our models, we analyse nine months of tick by tick data on 13 European stocks from the NASDAQ OMX exchange. We show that orderbook imbalance is a predictor of the future price move and it has some mean-reverting properties. From this data we show that market participants, especially high frequency traders, use this signal in their trading strategies.

q-fin.TR↗

On Feature Reduction using Deep Learning for Trend Prediction in Finance

One of the major advantages in using Deep Learning for Finance is to embed a large collection of information into investment decisions. A way to do that is by means of compression, that lead us to consider a smaller feature space. Several studies are proving that non-linear feature reduction performed by Deep Learning tools is effective in price trend prediction. The focus has been put mainly on Restricted Boltzmann Machines (RBM) and on output obtained by them. Few attention has been payed to Auto-Encoders (AE) as an alternative means to perform a feature reduction. In this paper we investigate the application of both RBM and AE in more general terms, attempting to outline how architectural and input space characteristics can affect the quality of prediction.

q-fin.TR↗

A level-1 Limit Order book with time dependent arrival rates

We propose a simple stochastic model for the dynamics of a limit order book, extending the recent work of Cont and de Larrard (2013), where the price dynamics are endogenous, resulting from market transactions. We also show that the conditional diffusion limit of the price process is the so-called Brownian meander.

q-fin.TR↗

Algorithmic trading in a microstructural limit order book model

We propose a microstructural modeling framework for studying optimal market making policies in a FIFO (first in first out) limit order book (LOB). In this context, the limit orders, market orders, and cancel orders arrivals in the LOB are modeled as Cox point processes with intensities that only depend on the state of the LOB. These are high-dimensional models which are realistic from a micro-structure point of view and have been recently developed in the literature. In this context, we consider a market maker who stands ready to buy and sell stock on a regular and continuous basis at a publicly quoted price, and identifies the strategies that maximize her P\&L penalized by her inventory. We apply the theory of Markov Decision Processes and dynamic programming method to characterize analytically the solutions to our optimal market making problem. The second part of the paper deals with the numerical aspect of the high-dimensional trading problem. We use a control randomization method combined with quantization method to compute the optimal strategies. Several computational tests are performed on simulated data to illustrate the efficiency of the computed optimal strategy. In particular, we simulated an order book with constant/ symmet-ric/ asymmetrical/ state dependent intensities, and compared the computed optimal strategy with naive strategies. Some codes are available on https://github.com/comeh.

q-fin.TR↗

Using Macroeconomic Forecasts to Improve Mean Reverting Trading Strategies

A large class of trading strategies focus on opportunities offered by the yield curve. In particular, a set of yield curve trading strategies are based on the view that the yield curve mean-reverts. Based on these strategies' positive performance, a multiple pairs trading strategy on major currency pairs was implemented. To improve the algorithm's performance, machine learning forecasts of a series of pertinent macroeconomic variables were factored in, by optimizing the weights of the trading signals. This resulted in a clear improvement in the APR over the evaluation period, demonstrating that macroeconomic indicators, not only technical indicators, should be considered in trading strategies.

q-fin.TR↗

Mini-Flash Crashes, Model Risk, and Optimal Execution

Oft-cited causes of mini-flash crashes include human errors, endogenous feedback loops, the nature of modern liquidity provision, fundamental value shocks, and market fragmentation. We develop a mathematical model which captures aspects of the first three explanations. Empirical features of recent mini-flash crashes are present in our framework. For example, there are periods when no such events will occur. If they do, even just before their onset, market participants may not know with certainty that a disruption will unfold. Our mini-flash crashes can materialize in both low and high trading volume environments and may be accompanied by a partial synchronization in order submission. Instead of adopting a classically-inspired equilibrium approach, we borrow ideas from the optimal execution literature. Each of our agents begins with beliefs about how his own trades impact prices and how prices would move in his absence. They, along with other market participants, then submit orders which are executed at a common venue. Naturally, this leads us to explicitly distinguish between how prices actually evolve and our agents' opinions. In particular, every agent's beliefs will be expressly incorrect.

q-fin.TR↗

Analysis of order book flows using a nonparametric estimation of the branching ratio matrix

We introduce a new non parametric method that allows for a direct, fast and efficient estimation of the matrix of kernel norms of a multivariate Hawkes process, also called branching ratio matrix. We demonstrate the capabilities of this method by applying it to high-frequency order book data from the EUREX exchange. We show that it is able to uncover (or recover) various relationships between all the first level order book events associated with some asset when mapped to a 12-dimensional process. We then scale up the model so as to account for events on two assets simultaneously and we discuss the joint high-frequency dynamics.

q-fin.TR↗

On the minimizers of energy forms with completely monotone kernel

Motivated by the problem of optimal portfolio liquidation under transient price impact, we study the minimization of energy functionals with completely monotone displacement kernel under an integral constraint. The corresponding minimizers can be characterized by Fredholm integral equations of the second type with constant free term. Our main result states that minimizers are analytic and have a power series development in terms of even powers of the distance to the midpoint of the domain of definition and with nonnegative coefficients. We show moreover that our minimization problem is equivalent to the minimization of the energy functional under a nonnegativity constraint.

math.OC↗

News-sentiment networks as a risk indicator

To understand the relationship between news sentiment and company stock price movements, and to better understand connectivity among companies, we define an algorithm for measuring sentiment-based network risk. The algorithm ranks companies in networks of co-occurrences, and measures sentiment-based risk, by calculating both individual risks and aggregated network risks. We extract relative sentiment for companies to get a measure of individual company risk, and input it into our risk model together with co-occurrences of companies extracted from news on a quarterly basis. We can show that the highest quarterly risk value outputted by our risk model, is correlated to a higher chance of stock price decline, up to 70 days after a risk measurement. Our results show that the highest difference in the probability of stock price decline, compared to the benchmark containing all risk values for the same period, is during the interval from 21 to 30 days after a quarterly measurement. The highest average probability of company stock price decline, is found at a delay of 28 days, after a company has reached its maximum risk value. The highest probability differences for a daily decline were calculated to be 13 percentage points.

q-fin.RM↗

An Optimal Execution Problem with S-shaped Market Impact Functions

In this study, we extend the optimal execution problem with convex market impact function studied in Kato (2014) to the case where the market impact function is S-shaped, that is, concave on $[0, \bar {x}_0]$ and convex on $[\bar {x}_0, \infty )$ for some $\bar {x}_0 \geq 0$. We study the corresponding Hamilton-Jacobi-Bellman equation and show that the optimal execution speed under the S-shaped market impact is equal to zero or larger than $\bar {x}_0$. Moreover, we provide some examples of the Black-Scholes model. We show that the optimal strategy for a risk-neutral trader with small shares is the time-weighted average price strategy whenever the market impact function is S-shaped.

q-fin.MF↗

Instantaneous order impact and high-frequency strategy optimization in limit order books

We propose a limit order book (LOB) model with dynamics that account for both the impact of the most recent order and the shape of the LOB. We present an empirical analysis showing that the type of the last order significantly alters the submission rate of immediate future orders, even after accounting for the state of the LOB. To model these effects jointly we introduce a discrete Markov chain model. Then on these improved LOB dynamics, we find the policy for optimal order choice and placement in the share purchasing problem by framing it as a Markov decision process. The optimal policy derived numerically uses limit orders, cancellations and market orders. It looks to exploit the state of the LOB summarized by the volume at the bid/ask and the type of the most recent order to obtain the best execution price, avoiding non-execution and adverse selection risk simultaneously. Market orders are used aggressively when the mid-price is expected to move adversely. Limit orders are placed under favorable LOB conditions and canceled when non-execution or adverse selection probability is high. Using ultra high-frequency data from the NASDAQ stock exchange we compare our optimal policy with other submission strategies that use a subset of all available order types and show that ours significantly outperforms them.

q-fin.TR↗

Mean Reversion Trading with Sequential Deadlines and Transaction Costs

We study the optimal timing strategies for trading a mean-reverting price process with afinite deadline to enter and a separate finite deadline to exit the market. The price process is modeled by a diffusion with an affine drift that encapsulates a number of well-known models,including the Ornstein-Uhlenbeck (OU) model, Cox-Ingersoll-Ross (CIR) model, Jacobi model,and inhomogeneous geometric Brownian motion (IGBM) model.We analyze three types of trading strategies: (i) the long-short (long to open, short to close) strategy; (ii) the short-long(short to open, long to close) strategy, and (iii) the chooser strategy whereby the trader has the added flexibility to enter the market by taking either a long or short position, and subsequently close the position. For each strategy, we solve an optimal double stopping problem with sequential deadlines, and determine the optimal timing of trades. Our solution methodology utilizes the local time-space calculus of Peskir (2005) to derive nonlinear integral equations of Volterra-type that uniquely characterize the trading boundaries. Numerical implementation ofthe integral equations provides examples of the optimal trading boundaries.

q-fin.TR↗

Effective risk aversion in thin risk-sharing markets

We consider thin incomplete financial markets, where traders with heterogeneous preferences and risk exposures have motive to behave strategically regarding the demand schedules they submit, thereby impacting prices and allocations. We argue that traders relatively more exposed to market risk tend to submit more elastic demand functions. Noncompetitive equilibrium prices and allocations result as an outcome of a game among traders. General sufficient conditions for existence and uniqueness of such equilibrium are provided, with an extensive analysis of two-trader transactions. Even though strategic behaviour causes inefficient social allocations, traders with sufficiently high risk tolerance and/or large initial exposure to market risk obtain more utility gain in the noncompetitive equilibrium, when compared to the competitive one.

q-fin.MF↗

Second order stochastic differential models for financial markets

Using agent-based modelling, empirical evidence and physical ideas, such as the energy function and the fact that the phase space must have twice the dimension of the configuration space, we argue that the stochastic differential equations which describe the motion of financial prices with respect to real world probability measures should be of second order (and non-Markovian), instead of first order models à la Bachelier--Samuelson. Our theoretical result in stochastic dynamical systems shows that one cannot correctly reduce second order models to first order models by simply forgetting about momenta. We propose some simple second order models, including a stochastic constrained n-oscillator, which can explain many market phenomena, such as boom-bust cycles, stochastic quasi-periodic behavior, and "hot money" going from one market sector to another.

q-fin.MF↗

Sequence Classification of the Limit Order Book using Recurrent Neural Networks

Recurrent neural networks (RNNs) are types of artificial neural networks (ANNs) that are well suited to forecasting and sequence classification. They have been applied extensively to forecasting univariate financial time series, however their application to high frequency trading has not been previously considered. This paper solves a sequence classification problem in which a short sequence of observations of limit order book depths and market orders is used to predict a next event price-flip. The capability to adjust quotes according to this prediction reduces the likelihood of adverse price selection. Our results demonstrate the ability of the RNN to capture the non-linear relationship between the near-term price-flips and a spatio-temporal representation of the limit order book. The RNN compares favorably with other classifiers, including a linear Kalman filter, using S&P500 E-mini futures level II data over the month of August 2016. Further results assess the effect of retraining the RNN daily and the sensitivity of the performance to trade latency.

q-fin.TR↗

Order Flows and Limit Order Book Resiliency on the Meso-Scale

We investigate the behavior of limit order books on the meso-scale motivated by order execution scheduling algorithms. To do so we carry out empirical analysis of the order flows from market and limit order submissions, aggregated from tick-by-tick data via volume-based bucketing, as well as various LOB depth and shape metrics. We document a nonlinear relationship between trade imbalance and price change, which however can be converted into a linear link by considering a weighted average of market and limit order flows. We also document a hockey-stick dependence between trade imbalance and one-sided limit order flows, highlighting numerous asymmetric effects between the active and passive sides of the LOB. To address the phenomenological features of price formation, book resilience, and scarce liquidity we apply a variety of statistical models to test for predictive power of different predictors. We show that on the meso-scale the limit order flows (as well as the relative addition/cancellation rates) carry the most predictive power. Another finding is that the deeper LOB shape, rather than just the book imbalance, is more relevant on this timescale. The empirical results are based on analysis of six large-tick assets from Nasdaq.

q-fin.TR↗

Optimal placement of a small order in a diffusive limit order book

We study the optimal placement problem of a stock trader who wishes to clear his/her inventory by a predetermined time horizon t, by using a limit order or a market order. For a diffusive market, we characterize the optimal limit order placement policy and analyze its behavior under different market conditions. In particular, we show that, in the presence of a negative drift, there exists a critical time t0>0 such that, for any time horizon t>t0, there exists an optimal placement, which, contrary to earlier work, is different from one that is placed "infinitesimally" close to the best ask, such as the best bid and second best bid. We also propose a simple method to approximate the critical time t0 and the optimal order placement.

q-fin.TR↗