Questions tagged [algorithmic-trading]

Algorithmic trading has two meanings: - the process of taking in inputs such as market data, current news, and producing orders without human intervention. - the process of optimising the trading of a large order or the market making process.

Filter by
Sorted by
Tagged with
6 votes
4 answers
1k views

How can we estimate new stock price after a large purchase?

Suppose someone buys $4bn of a particular stock over the period of a few weeks. Depending on how much that stock is being traded, you would expect that the price goes up in a visible way compared to ...
doublefelix's user avatar
40 votes
9 answers
5k views

Has high frequency trading (HFT) been a net benefit or cost to society?

Various studies have demonstrated the very large and growing influence of high frequency trading (HFT) on the markets. HFT firms are clearly making a great deal of money from somewhere, and it stands ...
Tal Fishman's user avatar
  • 13.4k
17 votes
4 answers
5k views

How to generate synthetic FX data for backtesting?

I want to generate synthetic forex data for the purpose of backtesting my trading algorithms. I have some rough ideas in mind on how to do this: Start with a curve representing a trend, then randomly ...
JeremyKun's user avatar
  • 271
3 votes
2 answers
1k 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 ...
user123123's user avatar
47 votes
14 answers
35k views

Except Zipline, are there any other Pythonic algorithmic trading library I can choose?

Except Zipline, are there any other Pythonic algorithmic trading library I can choose? Especially, for backtesting? Update: Since Quantopian closed, there are some Zipline forks like: https://pypi....
Terence Ng's user avatar
27 votes
4 answers
3k views

How are risk management practices applied to ML/AI-based automated trading systems

A potential issue with automated trading systems, that are based on Machine Learning (ML) and/or Artificial Intelligence (AI), is the difficulty of assessing the risk of a trade. An ML/AI algorithm ...
Kiril's user avatar
  • 905
26 votes
3 answers
5k views

Main backtesting & trading solutions: QuantFactory, Deltix, etc.

What are the most used/mature/promising commercial solutions today which handle backtesting/ automated trading needs? I'm talking about vertical product suites like QuantFactory or Deltix which ...
Romain Verdier's user avatar
23 votes
2 answers
8k 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 ...
Simon's user avatar
  • 809
20 votes
2 answers
966 views

How do you distinguish "significant" moves from noise?

How do you distinguish between losses that are within the normal range for day-to-day shifts and situations with a real potential for loss? The specific application I have in mind is pattern ...
monksy's user avatar
  • 766
20 votes
3 answers
2k views

Is there a way to estimate (predict) the half life of a quantitative trading system?

Usually even good performing quant trading strategies work for a while and then return start to shrink. I see two reasons for that which would probably give rise to different analysis: The Strategy ...
Zarbouzou's user avatar
  • 2,293
17 votes
6 answers
4k views

References for developing an automated trading system?

I am looking for references on the architecture of automated trading systems and the trading algorithms behind them. I am more interested in system development than analysis. A couple of books I ...
Tae-Sung Shin's user avatar
16 votes
3 answers
3k views

How to account for transaction costs in a simulated market environment?

I am simulating a market for my trading system. I have no ask-bid prices in my dataset and use adjusted close for both buy and sell price. To account for this I plan to use a relative transaction cost....
Stian's user avatar
  • 265
13 votes
4 answers
2k views

What approaches are there to order handling in automated trading?

I am currently developing a commercial automated trading program in which users can write their own proprietary code and develop strategies, like in NinjaTrader, MetaTrader etc. Right now I am working ...
ali_bahoo's user avatar
  • 1,149
13 votes
7 answers
14k views

Which brokers offer a .NET stock trading API?

I'm trying to make up my mind and choose a broker, however much of my choice depends on the trading API offered. I'm definitely not interested in FIX solutions and I'd very much like a .NET ...
em70's user avatar
  • 345
12 votes
5 answers
3k views

How to properly evaluate backtest returns?

Do you evaluate a strategy in a backtest based on the cumulative returns generated by the strategy (i.e. looking at the cumulative returns of the trades that occur) or do you start with a certain ...
silencer's user avatar
  • 1,553
11 votes
1 answer
1k views

A generic limit order book: What are the most important queries it should be able to answer?

Assume a class LimitOrderBook which represents a limit order book in a trading system. To be able to represent the limit order book a data handler reads a feed ...
knorv's user avatar
  • 2,119
11 votes
3 answers
3k views

how do you evaluate an FX market EMS?

My firm is investigating FX EMS systems to see if we can reduce execution costs for our trading strategies that involve FX (not low latency). The liquidity providers are a few major banks. We're ...
pedro's user avatar
  • 111
10 votes
2 answers
3k views

How long do algorithmic trading strategies typically remain profitable?

As I understand it, an algorithmic trading strategy could lose profitability, if, for example: it's rediscovered by others employee turnover leaks the strategy to others market conditions change ...
MWB's user avatar
  • 301
10 votes
5 answers
647 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 ...
ryeguy's user avatar
  • 201
6 votes
2 answers
8k views

How to understand micro-price (aka, weighted mid-price)?

The definition of micro-price is S = Pa * Vb / (Va + Vb) + Pb * Va / (Va + Vb) where Pa is the ask price, ...
olivia's user avatar
  • 209
5 votes
1 answer
963 views

Modelling queue position

Is there any viable way for me to know the dynamics of my LOB position? Lets suppose the LOB is order based LOB, and i send a order to this level, can i know if the qty in front of me cancelled vs ...
koon93's user avatar
  • 183
3 votes
1 answer
1k 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'...
SiberianGuy's user avatar
2 votes
1 answer
902 views

Algorithmic Trading [closed]

I am a novice when it comes to algorithmic trading with strong interest in the subject matter. As I am looking around for online courses, I can only find one course called Algorithmic Trading ...
user2079170's user avatar
2 votes
2 answers
566 views

Forex trading scenarios - calculating units

I'm trying to build an automated forex trading system and I'm trying to understand how to calculate the number of units I should specify for each trade in different scenarios. Say for example I have ...
Tom Hunter's user avatar
-1 votes
1 answer
1k views

Calculating arbitrage- S&P 500 stocks vs S&P 500 Index future?

How exactly would I go about investigating whether the S&P 500 stocks were currently over-valued compared with the price of the S&P 500 Index futures contract? Is it just a case of taking each ...
user997112's user avatar