Basic Low-Latency Programming Techniques in C++

Posted on Mon 10 March 2025 in Low Latency

In modern software development, achieving low latency is crucial for performance-critical applications - from trading systems to real-time data processing. This article explores foundational techniques to reduce latency by leveraging compiler and CPU-level optimizations. Even a few saved CPU cycles can compound to meaningful gains at scale.


Continue reading

Interdependence of returns across multiple strategies

Posted on Mon 03 March 2025 in Portfolio construction

When constructing a portfolio, it's common to see low pairwise correlations among strategies - say, around 0.2. However, this number may not fully capture the underlying dependency between strategies, especially when they're built to exploit similar market tendencies, such as intraday trends. In this article, I explore how strategies can be interdependent, and why relying solely on correlation can be misleading when assessing risk.


Continue reading

Setting up an Ubuntu 24.04 EC2 instance for algorithmic trading with Interactive Brokers

Posted on Fri 28 February 2025 in Infrastructure

This article walks you through the steps of setting up a new EC2 instance for algorithmic trading using Ubuntu 24.04 and Interactive Brokers. Running your trading algorithms on EC2 can offer scalability, reliability, and cost efficiency—ideal for managing both paper and live trading accounts.


Continue reading