Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Seeking help to settle leverage problem

Hi, I'm very confused about the leverage problem, I have no idea that why the leverage could be so high(-1500x at the beginning) in the backtest, anyone would like to help please?
and the other problem is the -1000000% returns, did I make any error?
Thank you