TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What programming languauges does the High Frequency Trading Firms use?

10 pointsby moshiasrialmost 9 years ago
I have recently read an article about IEX and brad katsuyama on bloomberg website.And have also read the book 'FLASH BOYS' by michael lewis. after reading about all this i wanted to know what programming languages does these guys in big banks use??

6 comments

canterburryalmost 9 years ago
I found this YouTube presentation very informative about how an HF firm uses Java for live trading...<p>Just one awesome fact...they structured their code such that they only have one GC event a day (and it&#x27;s tuned to happen at night). Watch it, pretty cool compared to anyone doing plain vanilla java dev at an enterprise.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iINk7x44MmM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iINk7x44MmM</a>
chollida1almost 9 years ago
For anything on the fast path the list would be mostly what you&#x27;d expect:<p>- C++<p>- C<p>- Java<p>- Verilog&#x2F;VHDL or what ever language your FPGA tooling requires.<p>As for support tooling then python and R are very popular.<p>It&#x27;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++&#x27;s inplace new operator helps for things like object pooling.<p>I&#x27;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&#x27;t throwing away readability and maintainability just to get the best possible performance.<p>From my experience, its much more typical for funds to target performance around this level than the HFT level.<p>I guess it should be said that you can name almost any programming language and you&#x27;ll find that someone is using it and claiming to be an HFT shop, ie someone will probably mention OCaml due to Jane Street.<p>This question <a href="http:&#x2F;&#x2F;quant.stackexchange.com&#x2F;q&#x2F;12618&#x2F;743" rel="nofollow">http:&#x2F;&#x2F;quant.stackexchange.com&#x2F;q&#x2F;12618&#x2F;743</a> on the quant stack exchange shows that pretty much every language gets used.
评论 #11942151 未加载
评论 #11945004 未加载
tmalyalmost 9 years ago
my previous comment &quot;mostly C++&quot; got down voted. I happen to work at a firm in this industry. C++ is the language used most in HFT.<p>Aside from this, you can verify this by just looking at the job postings.
评论 #11957048 未加载
libxalmost 9 years ago
See the documentary &#x27;The Wall Street Code&#x27; <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hw3XtscVCVI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hw3XtscVCVI</a> AFAICR one of the protagonists (Haim Bodek) said his company had one million lines of C (or mainly C) code for HFT trading.
评论 #11944571 未加载
Rainymoodalmost 9 years ago
I 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
评论 #11946648 未加载
tmalyalmost 9 years ago
mostly C++