Browse by type
Welcome to the Low-Latency Programming Repository, a project aimed to serve both academics and industry practitioners in the realm of High-Frequency Trading (HFT). With a focus on optimizing latency-critical code, this repository provides comprehensive insights, techniques, design patterns, and best practices that are statistically benchmarked to mitigate latency in HFT systems.
Feel free to check out my YouTube where I make videos on my experience: https://www.youtube.com/@bmgunduz
Clone this repository to your local machine to get started.
git clone https://github.com/0burak/imperial_hft.git
cd imperial_hft
After Google Benchmark has been installed and the benchmark folder if in the same directory as the mybenchmark.cc file, the user can compile the my-benchmark.cc file using the makefile provided in the repository.
g++ mybenchmark.cc -std=c++20 -isystem benchmark/include -Lbenchmark/build/src -lbenchmark -lpthread -o mybenchmark
All techniques and strategies are rigorously benchmarked for latency reduction, cache efficiency, and overall performance. The benchmark/ directory contains all benchmarking scripts.
$ claude mcp add imperial_hft \
-- python -m otcore.mcp_server <graph>