Back to Community
Quantopian Lecture Series Template - L/S Algo

Anyone want to fix this template so that it works?

Something went wrong. Sorry for the inconvenience. Try using the built-in debugger to analyze your code. If you would like help, send us an email. TypeError: Keyword argument `sid` is no longer supported for get_open_orders. Use `asset` instead. There was a runtime error on line 170.  
Clone Algorithm
1
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: 58755f5b61e9aa6356c16caf
There was a runtime error.
1 response

working now ... i just focused on getting it trading.

Still requires quite some work since extremely slow and uses deprecated functions.

gluck

https://www.quantopian.com/tutorials/getting-started#lesson11 (definitely worth going through all of these... will save tonnes of hrs in long run and also help avoid learning 'bad coding habits' from the onset.

Clone Algorithm
1
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: 5875a235e6ddb248ca298ca8
There was a runtime error.