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
0
votes
1 answer

Using exactly the same code, a high frequency hazelcast ringbuffer client not updating but low frequency client is

I have the following code which is used to listen to various ringbuffers. Some are high frequency price data and some are low frequency trade data: public static void main(String[] args) { HazelcastInstance client =…
rupweb
  • 3,052
  • 1
  • 30
  • 57
0
votes
2 answers

Python - aggregating financial transactions with closest time in window

Suppose I collected (in a list) all trades that occurred within a certain period of time (say first 5mins after 11AM) for n stocks (I'll make n=2 for simplicity and adapt later). Say we have firm AAA and firm BBB (if it helps, liststocks=['AAA',…
0
votes
3 answers

How to temporarily buffer incoming network traffic for latency-sensitive HFT application?

We are running a Java-based trading application, and there are certain periods where we want to prioritize outgoing network traffic as much as possible for about 10 ms. Is there a way to temporarily buffer all incoming network traffic during a…
Adrian Dunn
  • 1,728
  • 1
  • 10
  • 7
0
votes
1 answer

receive data from multicast socket in linux with lowest latency

In HFT trading application I need to receive data from udp multicast socket. The only requirement is latency - this is so important that I can "spent" one CPU core. It's ok to spin or whatever. This is what I currently have in Windows: void…
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
0
votes
0 answers

xts microsecond issue

Saved an xts object in .RData file and then opened it again in another R instance. I lose the microsecond timestamp. I keep the same configs in both environments including digits.secs=6. yum <- structure(c(262, 262, 262, 100, 100, 100, 120, 370,…
shoonya
  • 292
  • 1
  • 10
0
votes
1 answer

algorithm of adding "stationarity" to long series of decimal values

Assume you want to "keep" your limit order to buy "MSFT" always $0.10 cheaper than current Offer. So if Offer moves you should move your order as well. For example if Offer was moved from 30.10 to 30.11, you have to move your order from 30.00 to…
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
-1
votes
2 answers

What are the challenges of smart order routing in a low-latency trading platform?

How does order routing work in a a low latency trading platform which is connected to multiple venues, with both visible and dark order books ? If tick to trade cycle is ultra low (~ tens of microsecond ) does smart order routing algorithm also have…
-1
votes
2 answers

How to compile Mellanox libvma on gentoo?

I am trying to build Mellanox's high speed network library libvma on gentoo http://code.google.com/p/libvma/ However I keep on getting this error In file included from ../../src/vma/util/sys_vars.h:24:0, from ../../src/vma/util/utils.h:22, from…
coolbootgeek
  • 181
  • 1
  • 1
  • 11
-2
votes
1 answer

Extremely fast 8 bytes to double in Java - For HFT application

our HFT trading application is developed in Java. We need to convert 8 bytes to a double number but the conversion has to be extremely fast. Remember our latency is under 15 micro second, so conventional java approaches will probably not work for…
Neha Sharma
  • 153
  • 1
  • 5
-3
votes
2 answers

java disruptor library c# analog

I'm writing HFT software. Disruptor claims to be a "high performance inter-thread messaging library", and apparently offers substantial performance improvements. Is there something with comparable speed for .NET?
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
1 2 3
4