Athanor
Factor compiler. Write alpha signals in a purpose-built DSL and compile them directly to native C++ — no interpreter, no JIT, no runtime dependency between your factor and the engine.
Language & compilation
Express factors in .at files using bar and book data
sources, arithmetic operators, rolling windows, cross-sectional
operations, and control flow.
The e-graph optimizer processes every expression ahead of time — algebraic rewrites, constant folding, and common subexpression elimination are applied before your strategy ever sees market data. The output is standard C++23 that links directly into your strategy binary and runs on the engine thread at native speed.
Included factors
Shipped as .at source, compiled into your strategy:
- SMA, EMA, WMA — moving average primitives
- ROC, MOM — rate of change and momentum
- ATR — average true range
- Bollinger Bands — moving average envelope with configurable width
- OBV — on-balance volume flow
- Trend and volatility primitives