ali askar

Author

ali askar

7. Python Research Notebooks 5 min

7.3 Rust Data Server, Python Brain

Profiling a slow algo points at JSON decode, not your alpha. Put the simple hot path (decode, filter, forward) in Rust and keep the complex stateful brain (OMS, reporting, unwinding) in Python. Split at the JSON, forward binary, and match your backtest exactly.

2. Indicator Engineering 5 min

2.81 Volume and Volatility Are the Same Feature

Replace the volatility term with volume in most alphas and the backtest barely moves, because they ride the same information clock. Feeding a model both is double-counting one factor. Keep one scale, and add their ratio, Amihud illiquidity, as the residual that actually carries new information.