Questions tagged [hft]

HFT stands for High Frequency Trading; it is the use of algorithm to trade stocks, options and other securities in very short time (can be nanoseconds to few hours)

High Frequency Trading (aka HFT) is a rather specific and special style of speculative trading, based on quantitative models that benefit from extremely fast order execution or on an immediate removal of a pending orders and having rather short position-holding times.

NYNEX analyses of HFT pattern structures

While media have illustrated HFT traders as evils for the market, serious quantitative analyses, incl. the research papers from former FED's market oversight-body consultants, have brought the very opposite view on HFT's-role, both during flash-crash events and during regular market operations.

Similarly, there were documented cases, when an erroneous algorithm-trading engine have caused damages exceeding hundreds of millions USD before the fault has been detected and isolated.

It is also fair to state, there are markets, where HFT can benefit from an advantage in a fast order-execution/-cancellation, whereas there exist also a principal market organiser, where no such advantage is ever available (by design), as a corner-stone principle of the market that strives to eliminate an unfairness in "buying" such advantage and thus creating an unequal-access to the same market.

56 questions
62
votes
6 answers

High Frequency Trading

Over the last couple of weeks i have come across lots of articles about high frequency trading. They all talk about how important computers and software is to this but since they are all written from a financial point of view there is no detail…
Hamza Yerlikaya
  • 49,047
  • 44
  • 147
  • 241
55
votes
7 answers

Why does the JVM require warmup?

I understand that in the Java virtual machine (JVM), warmup is potentially required as Java loads classes using a lazy loading process and as such you want to ensure that the objects are initialized before you start the main transactions. I am a C++…
Suparna
  • 1,132
  • 1
  • 8
  • 20
10
votes
5 answers

High Frequency Trading - TCP > UDP?

I was told that for a High Frequency Trading (HFT) system that requires low-latency, TCP is used over UDP. I was told that with TCP you can make point to point connections, whereas you cannot with UDP, however from my understanding you can send UDP…
n00b
  • 5,843
  • 11
  • 52
  • 82
9
votes
1 answer

Kraken API AssetPairs

I am consuming the Kraken API, and I am not able to find a good explanation to the info I have in the response. Actually, for a given pair, I have the following info: altname = alternate pair name aclass_base = asset class of…
Bruno Ripa
  • 833
  • 2
  • 12
  • 25
6
votes
2 answers

zipline backtesting using non-US (European) intraday data

I'm trying to get zipline working with non-US, intraday data, that I've loaded into a pandas DataFrame: BARC HSBA LLOY STAN Date 2014-07-01 08:30:00 321.250 …
Luciano
  • 2,388
  • 1
  • 22
  • 33
5
votes
1 answer

in HFT does it make sense to try to parallel orders processing?

Well I assume this is more theoretical question for those who familar with hft. I receive orders from FAST and process them. I receive about 2-3 thousands orders per second. The question is if I should try to process them synchronous or…
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
3
votes
1 answer

Low CPU usage polling architecture between 2 JVMs

Server Environment Linux/RedHat 6 cores Java 7/8 About application : We are working on developing a low latency (7-8 ms) high speed trading platform using Java There are 2 modules A & B each running on its own JVM B gets data from…
Neha Sharma
  • 153
  • 1
  • 5
3
votes
1 answer

Using Hadoop for storing stock market tick data

I'm having fun learning about Hadoop and the various projects around it and currently have 2 different strategies I'm thinking about for building a system to store a large collection of market tick data, I'm just getting started with both…
Duncan Krebs
  • 3,366
  • 2
  • 33
  • 53
3
votes
2 answers

how high frequency trading system connects to exchange

I'm trying to study about high frequency trading systems. Whats the mechanism that HFT use to connect with the exchange and whats the procedure (does it has to go through a broker or is it direct access, if it's direct access what sort of connection…
RS1
  • 33
  • 3
3
votes
3 answers

QuickFIXJ Logon Issue

Having issues w/QuickFixJ. The issue is that I can't correctly send a logon message. Additionally, I'm having a hard-time understanding how to setup the flow of messages. I'm not trying to execute trades, just retrieve market data. The…
mr-sk
  • 13,174
  • 11
  • 66
  • 101
3
votes
3 answers

should i try to avoid "new" keyword in ultra-low-latency software?

I'm writing HFT trading software. I do care about every single microsecond. Now it written on C# but i will migrate to C++ soon. Let's consider such code // Original class Foo { .... // method is called from one thread only so no need to be…
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
3
votes
0 answers

stock exchange index should be double or decimal?

I'm calculating, say, NASDAQ, index. All stocks prices are decimal I can make weight decimal or double - it doesn't matter. nasdaq = weight1 * stock1 + weight2 * stock2 + .... + weightn * stockn. As stock price is decimal it seems it makes sense to…
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
2
votes
1 answer

Using chronicle network library,

Hello I am trying to send http request using low level library chronicle wire. I was able to get this working with use of java sockets but I am curious about the diff with use of this lib. Bellow the calling code: private static void call() throws…
filemonczyk
  • 1,613
  • 5
  • 26
  • 47
2
votes
1 answer

How to get estimate high and low price from intraday data?

I have the following data: dput(head(trade.wide,10)) structure(c(54.7, 54.5, 54.5, 54.6, 54.65, 54.6, 54.65, 54.65, 54.65, 54.7), .indexCLASS = c("POSIXct", "POSIXt"), .indexTZ = "", tclass = c("POSIXct", "POSIXt"), tzone = "", class = c("xts",…
runjumpfly
  • 319
  • 1
  • 10
2
votes
2 answers

How to do previous tick aggregation without aggregateTrades from highfrequency package

I need to do previous tick aggregation on my tick data set for 5 minute intervals. Please note what I want to do is analogous to aggregateTrades() function in highfrequency package. But I need to solve this problem without using highfrequency…
runjumpfly
  • 319
  • 1
  • 10
1
2 3 4