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

Hey everyone, So I have been trading this and I have the max position set at 1.0 but it ever uses like 50% max, usually only 1/3 of the capital really, does anyone know how to make this trade with more money?

1 response

One thing that's limiting how much you order is the line of code

                    StockShares = context.stocks_worst_weight*cash/Curr_P/76

Any particular reason that's dividing by 76? You already go through the effort to calculate the weight (ie context.stocks_worst_weight).