Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [high-frequency]

For questions dealing with market data sampled at high frequencies, such as tick data and intraday data.

2
votes
0answers
104 views

Hidden Markov Models for Higher frequency trading

I'm curious if anyone can validate my train of thought here with the utility of Hidden Markov models for modeling things happening on higher frequency trading activity versus lower frequency, and in ...
2
votes
1answer
52 views

(R-studio) Incorporating overnight returns in high-frequency data

Turning here since I haven't been able to find any help online. I'm currently dealing with a high-frequency data set in R of some stock indicies and I'm currently trying to clean the data so that I ...
0
votes
0answers
28 views

Convert Continous Signal to Discrete

Suppose I have a continuous signal for a futures in HFT context. The signal is noisy and continuous. I have tried using moving averages of the signal to make sense of it and to be able to use it, but ...
1
vote
2answers
100 views

Predicting microstructure momentum in market making

If I have a market maker which is compelled to provide quotes on both sides of the market, I am exposed to risk of quadratic losses (vs my linear gains during normal operations) during times when the ...
2
votes
0answers
42 views

Trades vs Cancel orders

In case of designing high frequency algorithms, do people treat all changes in the mid price similarly. What I mean is, if there is a change in the mid price due to a trade or there is a change in ...
3
votes
0answers
116 views

The “Universal Model” by Justin Sirignano and Rama Cont

In the nicely written article https://arxiv.org/abs/1803.06917 by Justin Sirignano and Rama Cont, they explained that their model is universal and stationary. I am a bit confused about some questions. ...
2
votes
0answers
38 views

Best features and tools over a short time interval [closed]

For a short time interval, what are the features having the most impact on a stock price movement? In the same direction, what are the better tools to tell us the price movement tangent? As tools, I ...
2
votes
1answer
50 views

Can you use GARCH-MIDAS for intraday data?

I'm working on a project to forecast volatility and I'm using intraday data (1 min). I want to include exogenous variables to the model that have daily frequency. I was wondering if GARCH-MIDAS can be ...
1
vote
1answer
65 views

Algo trading execution simulation

Disclaimer: Brand new to high frequency algo trading. Background:I have tick-by-tick trade data for stock A and I have joined the price and volume data for each trade with the previous snapshot of ...
3
votes
2answers
120 views

definition of mid price in literature

In literature, the mid-price is often used along with the terms "fair value", "true value" among others. I take it alot of the times it means the same thing because the mid-price doesnt necessarily ...
0
votes
0answers
63 views

Trade sizing with market making and the volume of uninformed trades

I have a trend following market maker in a highly volatile market (XBTUSD) which makes its money from uninformed trades over a short time horizon. Sizing my bids/asks has always caused me to question ...
4
votes
3answers
252 views

Modelling HFT data

In the context of Market making, how important is recent trades? In general, would i be able to get away with just modelling the Limit Order Book (LOB) and the evolution of the LOB in order to ...
0
votes
2answers
68 views

Financial forecasting and Optimal order submission [closed]

For instance, If i have a model that can accurately forecast 3s ahead, would the trading logic be rather trivial? I have fit a series of distributions to L2 data and believe I have a fairly good grasp ...
3
votes
2answers
259 views

Technical Analysis in HFT

Has anyone here used technical analysis (think MACD, RSI) in HFT setting and can comment on the usage as an entry/exit signal? Best
1
vote
1answer
147 views

Crossing the spread as a ML signal

In the optic of high-frequency trading, most of the standard trading algorithms work on the principle of mid-price prediction or mid-price movement prediction. However a big drawback of this technique ...
-2
votes
1answer
103 views

Insoluble Enigma [closed]

I used many statistical tools, i.e. t-SNE, SVM, Neural Network, UMAP, PCA, with the reformatted full market depth data with timestamp each second. UMAP gave me the best data representation, but ...
4
votes
1answer
176 views

Limit order book cancellations

Is there any practical and academic interest in predicting which orders in a limit order book will be canceled? From a policy point of view are people interested in detecting potential spoofing ...
10
votes
2answers
367 views

Market impact, why square root?

The standard method of market impact is the square-root formula \begin{equation} \Delta P = c \cdot\sigma \cdot \sqrt{\frac{n}{\nu}} \end{equation} where $\Delta P$ is the price change from executing ...
3
votes
1answer
79 views

Inherent Limitations with Respect to HFT Hardware

I am attempting to compile some aspects of high frequency trading that pose issues to all players in the field i.e., things that cause problems regardless of how much money the firm has to spend on ...
5
votes
1answer
164 views

Infinite horizon agent in Avellaneda-Stoikov model

I am trying to understand the Avellaneda-Stoikov model for high frequency trading, in particular the optimizing agent with infinite horizon. The reservation ask/bid prices for such an agent are ...
0
votes
1answer
349 views

What are trade markouts?

I have experience in trading but mostly in lower frequency quantitative trading. I've moved into HFT research and someone the other day mentioned markouts. I couldn't find anything online explaining ...
4
votes
1answer
165 views

Finding parameters of a function for optimal market making with real data

I am reading this paper and trying to apply it with real data to do some simulations. I will use realtime order book & market order data that I will receive from the exchange. This is a sample ...
3
votes
1answer
120 views

Exchange Infrastructure

Is there any reference document on how the infrastructure at an exchange works? I know the implementation at different exchanges are different and there is no one size fits all. But is there any ...
1
vote
0answers
78 views

Why is the timings between trades of SPY precisely poised at criticality ? Can this fact be used for prediction?

Let's say we have a point process consisting of the times between trades of SPY for one particular trading day. Empirically, the auto-correlation never dies out to 0 and due to results in Long range ...
0
votes
1answer
57 views

Is there any literature on how stock exchanges guarantee consistency?

How do we know that artificial shares of some stock aren't created (perhaps going untracked) on exchanges. After all being man made digital systems they are prone to errors. An example: Suppose a ...
4
votes
1answer
770 views

Market Making Strategy to Interact with IB API

I was thinking to connect a market making software to the Interactive Brokers API (see IB API), but it seems it is not the best solution as per the information provided by this question: Is the ...
1
vote
1answer
360 views

How to measure the Sharpe Ratio of a high frequency trading strategy?

The Sharpe Ratio is defined as Sharpe ratio = (Mean portfolio return − Risk-free rate)/Standard deviation of portfolio return. Unfortunately, this does not make ...
0
votes
2answers
91 views

Data for daily real interest rates

In a high frequency model i would like to add daily real interest rates (preferably short-term) as a variable. However, I cannot seem to find either daily CPI data, or daily real interest rates (...
2
votes
1answer
141 views

Understanding Forex HFT Arbitrage with different counter parties/ Brokers/ ECN

I came across this in a online lecture. But couldn't wrap my head around it. Lets say I have accounts with two brokers/ECN/STP. Now consider the following scenario for currency pair USD/JPY Broker1: ...
4
votes
1answer
572 views

Trading Strategy adapting to my trading frequency

We want to predict the direction towards which the price will change. In this work the term price is used to refer to the mid-price of a stock, which is defined as the mean between the best bid ...
0
votes
1answer
104 views

Find a reasonable h

The mid-price at time $t$ is denoted by $$p_t = \frac{s_t^{a,1} + s_t^{b,1}}{2}.$$ This mid-price can evolve in minimum increments of half a tick but is almost always observed to move at ...
0
votes
0answers
65 views

Unlabelled mid-price stock data

The mid-price at time $t$ is denoted by $$p_t = \frac{s_t^{a,1} + s_t^{b,1}}{2}.$$ This mid-price can evolve in minimum increments of half a tick but is almost always observed to move at ...
3
votes
4answers
268 views

How frequently do market makers cancel orders?

It is modeled that a market maker will post a limit order for a period of time and will maintain that order until the set period of time expires, or the order is filled, and then he will provide a new ...
0
votes
0answers
118 views

Changing the frequency of 5-min returns/realized volatility of different products

I stumbled upon a problem of converting the returns and volatility of high frequency data to daily ones. I start with 1-minute returns, then calculate the 5-minute realized variance as the sum of the ...
1
vote
0answers
156 views

Calculating realized volatility of high-frequency data

I am wondering how to calculate the realized volatility. Sources such as say that the realized volatility is the sum of squared log returns sampled at a given frequency. So using 30 minute frequency ...
5
votes
2answers
746 views

Backtesting Market Making Strategy or Microstructure Strategy

How does one backtest either a market making strategy or microstructure-based strategy? I'd imagine that one way would be to record order book states over time and then insert the orders, but it seems ...
2
votes
0answers
202 views

Strange trading data coming from bitstamp

Through researching order execution algorithms I came upon something rather strange. My dev team wrote a program that captures live bitcoin trades on bitstamp through the WebSocket API for a single ...
-1
votes
1answer
195 views

Calculating intraday returns from imperfect data in R [closed]

The aim is to calculate minute returns in R. Given is minute price data in a tbl_df. A row was only added if there actually were trades. ...
2
votes
1answer
235 views

Best way to buy and sell large volumes of crypto

I had a few questions about how to properly execute a large order of crypto currency without moving the price much. I know a lot of funds employ a TWAP/VWAP algorithm to liquidate or purchase a large ...
6
votes
1answer
529 views

Finding parameters of an utility function in a market making strategy to apply it in practice

I am reading this paper below about optimal bid-ask spread in a market making strategy. It finds an approximation for optimal solution, but I cannot understand how it's practice to set the parameters ...
2
votes
1answer
257 views

Understanding how market making helps investors

I'm reading about high frequency trading and market making. I'm trying to understand the following example from my book: Here is an example of how market making helps investors. Suppose that the best ...
9
votes
1answer
2k views

Avellaneda -Stoikov market making model

I am reading paper High-frequency trading in a limit order book by Marco Avellaneda and Sasha Stoikov. At the end of the paper they obtain a closed-form solution to the optimal market-maker quotes ...
2
votes
1answer
150 views

What makes open-outcry preferable to electronic trading and what are its consequences?

I recently visited the trading floor of CBOE where especially the pits of SPX and VIX are relatively crowded and open outcry is still performed. I was surprised to hear that the traded volume is non ...
-1
votes
1answer
412 views

Code for HY Estimator

Does anyone here has a code for HY estimator, preferably in python? I have written a very basic code in python but my results are weird. When I run it for two liquid assets traded on two different ...
3
votes
1answer
150 views

What are recommended recovery techniques in arbitrage when one order doesn't fill?

Let's say you are running an arbitrage strategy in the Forex market. You see an opportunity to buy USD/JPY at 100 on exchange A, and sell USD/JPY at 105 on exchange B. You submit the buy and sell ...
1
vote
1answer
398 views

Trade price in high-frequency TAQ data

I am looking at AAPL TAQ high-frequency trade data from NYSE and I have noticed that at several places the trade price (defined in Daily TAQ Client Specification as: "The Trade Price is the monetary ...
4
votes
3answers
862 views

How much profit do HFT firms generate?

I read on http://www.thetradenews.com/Technology/HFT--Not-so-flashy-anymore/?p=2 (mirror): Profits from HFT are estimated to have peaked for the industry at close to $5 billion in 2009. It is ...
3
votes
1answer
111 views

history of market microstructure

I am doing an assignment which requires me to review changes in market microstructure across countries over the pass 20 years. SO I would like to get a timeline/implementation dates of market ...
1
vote
0answers
85 views

Stock returns: Determining the window size

I am looking for a rigorous way to determine a suitable rolling window size for my stock data. Factors that will influence the window size are how fine my data is (minutely, daily, weekly etc.) and ...
1
vote
4answers
486 views

Market making with resting orders?

I'm still confused on how to provide liquidity on the forex market using passive or resting orders and get the spread from that (selling at ask and buying from bid) And what's the dynamics on the LOB ...