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 [algorithmic-trading]

Algorithmic trading is the process of taking in inputs such as market data, current news, and producing orders without human intervention.

17
votes
3answers
4k views

Papers about risk management in algorithmic trading?

I am currently doing my research for my master thesis, which will clearly focus on the question of risk managment in algorithmic trading systems. I have done research about this topic and found some ...
16
votes
3answers
668 views

Why do Human traders make money?

Over the years I met a couple of dozen of (human) traders who I'd consider good (being in the business for several years, generating a reasonably steady income). I had chances to chat with some of ...
16
votes
2answers
5k views

Regime-Switching Model for detecting market shifts

I'm always wondering whether anyone has utilized regime-switching models successfully in forecasting or trading. Academia has long discussed this topic in-depth, such as using Regime Switching ...
14
votes
4answers
5k views

Why are there still manual market makers in options

Why are manual market makers still predominant in options markets? Why haven't algorithms replaced these market makers, as they have for liquid stocks for example?
13
votes
3answers
8k views

Which algorithms do robo-advisors use?

Some pundits claim that there is a revolution in portfolio management under way: The rise of the robots, a.k.a. robo-advisors. The most well known are Betterment.com, FutureAdvisor, Schwab Intelligent ...
11
votes
3answers
650 views

Which features to include in an algorithmic trading dashboard?

I have been hacking around with algorithmic trading as a hobby project to build my data analysis skills, coding skills, and learn more about financial markets. As part of this project I am interested ...
10
votes
4answers
4k views

Is it really possible to create a robust algorithmic trading strategy for intraday trading?

I'm an engineer doing academic research for my master thesis in the area of quantitative finance, basically the purpose is to study the possibility to create an intraday-trading algorithm. I've tried ...
9
votes
2answers
590 views

Why does algorithmic trading account for a significantly higher percentage of trades in the USA than in Europe or Asia?

I saw this study Why does algorithmic trading account for a significantly higher percentage of trades in the USA than in Europe or Asia? Is that because US-based exchanges offer more edge to high-...
8
votes
3answers
6k views

How to distinguish between different types of algorithmic trading

Algorithmic trading involves the use of algorithms to optimally execute trading instructions. Then there are algorithms which initiate trades, based on various quantitative strategies (e.g. pairs ...
8
votes
2answers
191 views

Defining an objective function for machine learning task of trading

A simplified example. Given: asset's price time series fixed distances to stop and target. A function of these inputs has two possible output values: $1$ if price is likely to hit the target ...
7
votes
2answers
5k views

Quantitative Finance Programming Language

Since couple of weeks, I started to do my research on quant finance. During this time, I could discover a lot of stuff and with that stuff, a lot of questions came to my mind. A lot of news or ...
7
votes
5answers
540 views

Is there a name for, or any research on, a system where you try to predict future price by finding a similar price history in the past?

Allow me to explain. You look back from some period to the present. Say a week ago to now, using a per-minute view. You then crawl through your database of past price data, and you try to find a ...
7
votes
2answers
12k views

What kind of return can an average algorithmic trading firm achieve today?

What kind of rate of return can an average, equities-focused algorithmic trading firm expect to achieve today? I come from a background of control and optimization, working in the industry in China, ...
7
votes
7answers
1k views

Proof that no trading system always wins

I am pondering on the existence/impossibility of a trading system (or algorithm) that ALWAYS ends up winning money, no matter how the price of a futures moves. In a context where one can go long or ...
7
votes
1answer
999 views

Optimal Executions for Minimizing Slippage

There has been a considerable body of work for finding trading strategies that minimize the slippage wrt arrival price. For instance, the following are on of the most well known papers: [1] Robert ...
7
votes
1answer
751 views

Efficient integration of tick data feed with signal generation

The goal is to design the integration of processes generating trading signal doing analytics on a stream of asynchronous tick data retrieved using the native Python TWS API of Interactive Brokers. Two ...
6
votes
5answers
1k views

Please advise on the choice of an automated trading framework

I'd like to start automating my trading strategies. I'm not looking for a fast and easy solution, therefore the programming language is not important for me, I am ready to spend an extra year to ...
6
votes
2answers
590 views

Recover full tick data from missing tick data

Due to some economics/regime problem, I can only have access to non full-tick data from an exchange. To make the problem precise, a full tick data $X$ is a series of $(t_i,p_i,v_i)$ for $0 \leq i \...
6
votes
1answer
531 views

Does Chan use the wrong state transition model in his Kalman filter code?

In his book, Algorithmic Trading: Winning Strategies and Their Rationale, Ernie Chan shows how to use a Kalman filter to improve the returns of a cointegrated portfolio. Recall that the state equation ...
6
votes
1answer
766 views

Mathematical theories of (sub)-optimal trading strategies under “idealized” assumption - price is random process known to trader

The question is NOT about real trading, but about simplified mathematical models for trading. One of the main problems in trading is that asset prices are not correctly described by the some random ...
6
votes
2answers
509 views

What are Sell Imbalance-Only Orders?

I am reading the 2014 SEC filing against Athena, a HFT firm. (http://www.sec.gov/litigation/admin/2014/34-73369.pdf) At point 29, they describe the behavior of Athena moments before market closing ...
5
votes
2answers
7k views

Orderbook Arbitrage

The order-books of trading exchanges are often hidden as so-called "Dark Pools". The measure was taken to avoid apparent market manipulation strategies executed by traders back then. Which such ...
5
votes
6answers
3k views

FIX- what exactly do repeating groups represent?

I am trying to find out what is the purpose of "repeating groups" in FIX and what exactly do they represent? Are they all related to the same order and if so, why do you need repeated tags? If they ...
5
votes
1answer
591 views

Understanding Cover's Universal Portfolio Algorithm

I am trying to implement the Universal Portfolio algorithm strategy inspired by the paper by Professor Cover from Stanford. At the moment I am trying to understand the underlying logic of the ...
5
votes
1answer
1k views

Calculating most profitable arbitrage orders on multiple market with fixed and variable fees

If I have multiple markets (let's say 5, but the solution should be generic) trading the same stock/commodity/whatever, and the markets differ in both variable fees (which are in % of the trade order) ...
5
votes
0answers
328 views

Algorithmic Trading Model Calculation and Stale Data

I'd like ask everyone a more concurrency programming but definitely quant-finance related question. How do you deal with staleness of data in market hours as quote ticks are streaming and your model ...
4
votes
2answers
2k views

How to incorporate fundamental analysis in quantitative trading algorithm? [closed]

I want to write a quantitative stock trading program based on fundamental analysis. It would crunch through prices, financial reports to look for value stocks. It can support backtesting of strategy ...
4
votes
1answer
410 views

What is a good source to learn the different nuances of electronic orders and their nature?

Today I was speaking with someone involved in high frequency trading. They were mentioning hidden orders, queue positions (which can be lost in the orderbook based on certain order modifications), ...
4
votes
2answers
3k views

How to filter and normalize market data obtained from distinct sources (FIX 4.4, bloomberg, etc) in an algorithmic trading system?

I'm wondering if some of you known how to resolve this requirement: I have to define the architecture of an algorithmic trading system (but I'm not an architect, so I'm trying to do my best). I have ...
4
votes
0answers
1k views

Meaning of cross sectional rank

This paper mentions the concept of rank which is defined as cross sectional rank. For e.g. one of the alphas (#3) is (-1 * correlation(rank(open), rank(volume), 10)) 10 is just the number of days ...
4
votes
0answers
330 views

Calculating index arbitrage

I have a days-worth of level 2 market data. I am calculating S&P500 index arbitrage. I have a few questions about the calculation: 1) Should I be summing all the bids and asks from the stocks ...
4
votes
2answers
226 views

Cointegration and Ratio Pair Trading

I'm having some confusion doing Engle-Granger Cointegration test and then trade the ratio. Methodology: Run an OLS fit for A and B price time series without a constant. Therefore, $\hat{Y} = \gamma \...
3
votes
2answers
7k views

Build a customizable trading engine in python [closed]

I am planning building fully customizable backtesting trading engine in python from scratch as a open source project, the main features i am considering is, It should be fully customizable from top ...
3
votes
2answers
136 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 ...
3
votes
1answer
216 views

approach on trading algorithm using machine learning [closed]

let's say I am supervising a algorithmic trading project using machine learning. I don't have involvement in the technical side but am involved in the high level planning. the style is likely ...
3
votes
1answer
166 views

Algorithmic Trading: Normalization and Selection of Technical Indicators for Artificial Neural Networks [closed]

I study on algorithmic trading for a while based on technical indicators. I started to learn about neural networks and want to use technical trading indicators in this approach. However, I am not ...
3
votes
1answer
284 views

What's the rationale behind having several orders on each each side for market makers

I've been browsing market making codebases and I've noticed most of them tend to create multiple orders on each side. Originally I thought having orders on each side is an advanced approach but here'...
3
votes
1answer
741 views

Does Ito/Malliavin calculus have any applications helpful for direction based trading?

I'm an aspiring computer scientist who want to move into algorithmic trading at some point. At the moment I'm mostly focusing on courses in machine learning/data analysis etc. but I've noticed that ...
3
votes
1answer
285 views

Scaling (Data prep) & Feature selection for the financial Data for LSTM Models

Overview I'm training an index e.g. FTSE100, where I have 8 years of past data (daily). I also have a list of its constituents. For each stock, I have the following features: ...
3
votes
1answer
245 views

What are the consequences of violating Hansen-Jagannathan bounds?

Note I have added much more detail to this question I have decided to add the detail without altering the original text since a number of those of you offering assistance asked for clarification. ...
3
votes
1answer
264 views

Determining maximum strategy capacity and optimal order size for low frequency equity strategy

I have developed a low frequency equity trading strategy that seems to work well with stocks in the S&P 500. Someone asked me about the maximum capacity of the strategy (how much AUM I could ...
3
votes
0answers
82 views

What is the logic of the eigenvectors of the Johanson cointegration test determining hedge ratios?

Reading Algorithmic Trading: Winning Strategies and Their Rationale, Ernie Chan and there is a short section about the Johanson test for cointegration where it is mentioned that the eigenvectors ...
3
votes
0answers
154 views

How can one estimate the percentage of trades that are performed using algorithmic trading?

Some studies try to estimate the percentage of trades that are performed using algorithmic trading, e.g. How can one estimate the percentage of trades that are performed using algorithmic trading?
3
votes
0answers
211 views

Variance swap “fast” models

As far as I understand, Variance Swap (VS for short) function as follows : no payment when entering the contract at maturity the VS buyer pays a strike $K^2$ and is paid (by the VS seller) the ...
3
votes
1answer
1k views

Examples of algorithmic trading strategies for options [closed]

Most textbook examples, and resources online, talk about algorithmic trading of stocks, futures, forex, etc. They cover techniques like cointegration trading, ARIMA analysis, and many other more ...
3
votes
0answers
247 views

What is the best open source automated trading platform or options?

I would like a custom C++ Automated Trading Platform for Futures like Multicharts, or similar automated trading platform that I can put on my servers so its secure and fast. I have found this so far, ...
3
votes
0answers
294 views

Reference for Algorithmic Trading [closed]

I have recently started to look up algorithmic trading but I am finding it hard to find references related to this field.I am math major with a sound knowledge in Statistics, various programming ...
3
votes
0answers
322 views

Correlation between idiosyncratic residuals and forward returns

The classic mean-reversion strategy is to calculate an "expected return" (alpha) by computing the raw return for each security and then remove the part which you think is market driven. Statistically ...
2
votes
2answers
158 views

Why Good forecasting != Good trading? [closed]

In AI for algorithmic trading: 7 mistakes that could make me broke the author talks about why good forecasting cannot equal good trading based on the strategy selected. While reading the article I ...
2
votes
2answers
677 views

Liquidity seeking algorithms open source implementation

Are there any free online liquidity seeking algorithms? Possible an open source implementation? Not looking for anything state-of-the-art, but just to get an idea how they work.