Ask HN: What programming languauges does the High Frequency Trading Firms use?
1–10 of 13 posts
Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#2- C++
- C
- Java
- Verilog/VHDL or what ever language your FPGA tooling requires.
As for support tooling then python and R are very popular.
It's important to note that its not only speed that dictates what you use in HFT, the shear amount of data you need to handle also dictates what you use. As an example C++'s inplace new operator helps for things like object pooling.
I'm not UHFT or HFT and we can get by with F# and C#. We are at the stage where we have to think about our data structures and memory access patterns but we aren't throwing away readability and maintainability just to get the best possible performance.
From my experience, its much more typical for funds to target performance around this level than the HFT level.
I guess it should be said that you can name almost any programming language and you'll find that someone is using it and claiming to be an HFT shop, ie someone will probably mention OCaml due to Jane Street.
This question http://quant.stackexchange.com/q/12618/743 on the quant stack exchange shows that pretty much every language gets used.
Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#3Just one awesome fact...they structured their code such that they only have one GC event a day (and it's tuned to happen at night). Watch it, pretty cool compared to anyone doing plain vanilla java dev at an enterprise.
Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#4For anything on the fast path the list would be mostly what you'd expect: - C++ - C - Java - Verilog/VHDL or what ever language your FPGA tooling requires. As for support tooling then python and R are very popular. It's important to note that its not only speed that dictates what you use in HFT, the shear amount of data you need to handle also dictates what you use. As an example C++'s inplace new operator helps for…
Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#5Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#6Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#7See the documentary 'The Wall Street Code' https://www.youtube.com/watch?v=hw3XtscVCVI AFAICR one of the protagonists (Haim Bodek) said his company had one million lines of C (or mainly C) code for HFT trading.
Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#8For anything on the fast path the list would be mostly what you'd expect: - C++ - C - Java - Verilog/VHDL or what ever language your FPGA tooling requires. As for support tooling then python and R are very popular. It's important to note that its not only speed that dictates what you use in HFT, the shear amount of data you need to handle also dictates what you use. As an example C++'s inplace new operator helps for…
Re: Ask HN: What programming languauges does the High Frequency Trading Firms use?
#9I know that Jane Street is a London based firm that works completely on OCaml ... not sure if there are any firms that use Haskell though