Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Optimize Not buying 2.0 Leverage

I am working with optimize API, and it's very powerful. I cannot quite get the leverage to work correctly. The portfolio is supposed to be 2.0 leverage, but it is buying around 1.0. Why is this buying orders around half the portfolio amount?