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?

Clone Algorithm
3
Loading...
Backtest from to with initial capital
Total Returns
--
Alpha
--
Beta
--
Sharpe
--
Sortino
--
Max Drawdown
--
Benchmark Returns
--
Volatility
--
Returns 1 Month 3 Month 6 Month 12 Month
Alpha 1 Month 3 Month 6 Month 12 Month
Beta 1 Month 3 Month 6 Month 12 Month
Sharpe 1 Month 3 Month 6 Month 12 Month
Sortino 1 Month 3 Month 6 Month 12 Month
Volatility 1 Month 3 Month 6 Month 12 Month
Max Drawdown 1 Month 3 Month 6 Month 12 Month
# Backtest ID: 5910570859c55161d1fb8532
There was a runtime error.
2 responses

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).

Ya not sure why that was in there, thanks!