1.
세상이 AI에 광분하고 있습니다. 투자 혹은 트레이딩도 비슷합니다. 그렇지만 약간 비겨난 영역이 있습니다.
High Frrequency Trading
물론 논문을 찾아보면 HFT와 AI를 연결한 논문들이 있습니다. 다만 이론적인 수준입니다.
요즘 유행하고 있는 vide Coding 혹은 Claude Code를 이용한 코딩을 보면서 이런 생각이 듭니다.
“만약 HFT와 관련한 프로젝트를 Claude Code로 하면 어떤 결과가 나올까”
제가 보기에 결과물은 나올 듯 합니다. 문제는 Latency입니다. 마이크로초 혹은 나노초수준으로 최적화하여야 이익을 얻을 수 있는 프로그램을 Claude Code로 할 수있을까? Claude Code가 학습하였던 수많은 오픈소스중 진실로 실거래에서 의미있는 데이타를 만들었던 코드는 있을까, 이런 의문을 가지고 있습니다.
2.
요즘 HFT는 10여년전과 비교하여 보편화한 듯 합니다. 아마도 암호통화때문으로 보입니다. 수많은 글들이 암호통화HFT를 목표로 합니다. 때문에 HFT와 관련한 글들이 생각보다 넘칩니다. 어제 우연히 본 책이 있습니다.
Low Latency Trading Insights: Selected Essays on Performance Engineering for High Frequency Trading
책을 쓴 분은 Henrique Bucher입니다. github를 보니까 C++/FPGA/GPU부터 시작해서 LLM까지 관심분야가 다양하네요.
다루는 목차를 보면 무척 좋습니다.
Hardware Fundamentals
- CPU architecture that compilers can’t optimize for you
- Memory hierarchy from SRAM cells to NUMA topology
- Cache behavior, prefetching strategies, and false sharing
- Branch prediction—and when branchless code wins
Compiler Mastery
- Why your “fast” code becomes slow after optimization
- Undefined behavior as a performance tool (and its dangers)
- Link-time optimization and position-independent code trade-offs
- SIMD fundamentals, auto-vectorization, and practical patterns
- Floating-point performance: FMA, denormals, and when fixed-point fails
Concurrency
- Memory models that work (and memory_order_consume, which doesn’t)
- Lock-free programming: when it helps, when it kills performance
- SPSC queues achieving 18ns push/pop operations
- Why mutexes often beat “lock-free” in production
System-Level Performance
- System call overhead and the vDSO
- Memory allocation for microsecond latency
- I/O patterns that don’t block your hot path
- Network programming for exchange connectivity
Case Studies
- High-performance parsing: SIMD techniques for market data
- Trading systems architecture: order books, matching engines, feed handlers
Who This Book Is For:
- C++ developers targeting HFT, game engines, or embedded systems
- Engineers who need to understand what’s happening beneath their code
- Anyone preparing for quantitative trading developer interviews
Every benchmark runs on Intel Xeon and AMD EPYC with numbers you can reproduce. No theory without measurement.
한달전 전문적으로 HFT시스템 개발을 다룬 책에서 소개하였던 책가 비슷합니다. 어느 경우나 하드웨어에 대한 이해로 시작합니다. 나노초에 도전하려면 하드웨어 최적화가 필수이기때문입니다.
3.
앞서 소개한 책과 관련한 검색을 하다가 재미있는 곳을 발견하였습니다.
이렇게 소개합니다.
HFT University is where engineers prove how fast their code really is. We run certified benchmarks on bare metal with isolated CPU cores — no simulations, no self-reported scores, no guesswork. You write the code, we measure it in CPU cycles.
Over 100 published articles covering low-latency systems, C++ optimization, market microstructure, FPGA acceleration, and quantitative finance. The newsletter reaches 7,000+ subscribers across 115 countries. Articles are available to subscribers on the platform.
어떤 수준의 글인지 알아보려고 로그인했지만 모두 유료네요. ㅠㅠㅠㅠ
