👁️8,960
GitHubLinkedIn
LinkedIn Insights2 min read276 words

Algorithmic Hedging, Delta Neutrality & Latency (miro-hedge)

👁️0reads (human + AI)🤖0AI ingestions
Direct Technical Summary

![Algorithmic Hedging, Delta Neutrality & Latency (miro-hedge)](/slides/algorithmic-hedging-delta-neutrality-latency-miro--1789432815189.png) Most engineering discussions focus on

Algorithmic Hedging, Delta Neutrality & Latency (miro-hedge)

Algorithmic Hedging, Delta Neutrality & Latency (miro-hedge)

Algorithmic Hedging, Delta Neutrality & Latency (miro-hedge)

Most engineering discussions focus on high-level syntax, but real systems live or die by memory and execution constraints. I recently spent weeks debugging a production issue in miro-hedge, my algorithmic hedging system, where maintaining delta neutrality required dynamic slippage buffers and non-blocking order-routing pipelines.

Understanding memory alignment and pointer boundaries is crucial. In C, a struct { char a; int b; char c; } consumes 12 bytes instead of 6 due to 32-bit word alignment, doubling L1 cache line misses. This is why I use struct { char a; int b; char c; } __attribute__((packed)); to force 6-byte alignment.

Real-world edge cases discovered through production debugging taught me to prioritize simplicity over unnecessary abstraction layers. In miro-hedge, I replaced a complex Redis pub/sub system with a simple in-memory cache, reducing latency and improving overall system reliability.

Code speaks louder than enterprise buzzwords. When I built miro-hedge, I focused on delivering low-latency, high-throughput trading execution, not on writing high-level architecture documents. The result is a system that can handle thousands of trades per second, with automated delta neutrality and non-blocking order-routing pipelines.

Drishtant Ghosh
Follow for daily systems engineering & code teardowns.


🔗 Reference & Source Breakdown

Related LinkedIn Insights Breakdowns

Drishtant Ghosh (Drix10)
Drishtant Ghosh (Drix10)Author & Engineer

Technical founder and engineer working across AI systems, developer infrastructure, and cybersecurity.