Skip to content

ManikMittal-git/csot-quant-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSoT'26 Low Latency — Week 1 Engine

Overview

This is a custom-built, low-latency C++ replay engine and mean-reversion trading strategy built for the CSoT'26 Track. It processes the exact STRATEGY_SPEC.md Z-score algorithm with zero heap allocations on the hot path.

Headline Performance (Local WSL2)

Measured on the 10-million row synthetic_large.csv dataset, using __rdtsc hardware counters (calibrated at 2.4956 cycles/ns) for good timing.

  • p50 Latency: <= 128 ns
  • p99 Latency: <= 512 ns
  • Throughput: ~8.42 Million ticks/sec (via Google Benchmark)

Note: The baseline friction of the engine's for loop + virtual function call was measured at 64ns using a Null Strategy. The mathematical cost of the Z-score logic is incredibly tight.

Build Instructions

# Compile Release Build with LTO
cmake -B build && cmake --build build -j

# Run the Replay Engine
./build/quant_runner ./build/spec_strategy.so data/synthetic_large.csv

# Run the Micro-benchmark
./build/quant_bench

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors