Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.4 KB

File metadata and controls

32 lines (24 loc) · 2.4 KB

Argus-HFT-Core

Argus-HFT-Core is a professional-grade, high-frequency trading (HFT) infrastructure designed for sub-microsecond latency and deterministic execution. Built in pure Rust, it leverages kernel-bypass principles, CPU pinning, and AVX-512 accelerated inference to detect market spoofing at the "speed of wire."

Elite Performance Architecture

🚀 Kernel Bypass & Zero-Copy Ingestion

To eliminate the prehistoric latency of the Linux networking stack, Argus-HFT-Core is architected for Kernel Bypass (DPDK/Solarflare).

  • Zero-Copy: Data is processed directly from the NIC's ring buffer. Our L3Normalizer operates on pre-allocated memory, ensuring zero allocations and zero copies from "Packet In" to "Inference Start."
  • Minimum Latency: By skipping the kernel's context switches and buffer copies, we target a tick-to-trade window of <10μs.

📌 CPU Pinning & Jitter Elimination

Deterministic execution is the only metric that matters in HFT.

  • Core Affinity: The execution thread is locked to a specific physical core using core_affinity. This prevents the OS scheduler from migrating the process, eliminating cache-miss jitter and TLB flushes.
  • Async Audit Core: All compliance overhead (HMAC-SHA256, I/O) is offloaded to a dedicated "Audit Core," keeping the "Execution Core" focused entirely on the trade.

🧠 Pure-Rust ML (Candle + AVX-512)

We have ditched heavy wrappers like tch-rs (LibTorch) in favor of Candle, Hugging Face's pure-Rust ML framework.

  • AVX-512: By using a pure-Rust stack, we leverage the compiler's ability to generate optimized AVX-512/SIMD instructions for our Transformer-based spoofing detector.
  • Deterministic Inference: No garbage collection, no hidden C++ overhead, just raw mathematical execution.

🛡️ Safe-By-Design (Elite Standard)

  • 100μs Kill Switch: A ruthless circuit breaker that halts trading if market data is older than 100 microseconds.
  • Cryptographic Chain of Custody: Every decision is HMAC-linked in a tamper-proof audit log, satisfying the most stringent 2026 regulatory requirements.

Benchmarks

Use cargo bench to measure:

  1. Tick-to-Trade Latency: Total time from ingestion to order signal.
  2. System Jitter: Variability in execution time (Target: <1μs standard deviation).

Argus-HFT-Core: Built for the firms in Amsterdam, Zurich, and Chicago. Developed by an Elite Engineer.