Can't find resources on how to add leverage into my algo. I want to add 2x - 10x leverage to my script then backtest/papertrade it to see which number is optimal. My model is LONG on isolated arbitrage-type situations.

Author