A tool for developing quantitative strategy model
github.com
github.com
close=[12.99,12.72,…] s = pd.Series(close) ss = s.shift() ma = (s-ss).fillna(0).max()
SPL code: =A1.(if(#==1,0,~-~[-1])).max()
Well, this level of cryptic stuff is nightmare for debugging and maintenance. So i think i prefer Python. If loops are slow, perhaps Cython or C/C++/Rust interop will get it done. Or there is always Julia for quant strat professionals who recoil in horror at the sight of C/C++/Rust.
1. Why not just use Rust or Julia?