Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
DailyWeeklyMonthlyQuarterlyYearly

Hi Quantopian,
I built this with optimize api but then took it out and was happy to get similar dollar neutral performance with my simple architecture in this model. I also think this is cool because it autosizes off of capital. Just try running with different dollar amounts 10k, 100k, 1m, 10m, 100m, 500m etc... you will notice position counts change for each backtest but leverage and long/short stay within bounds.

Dan Whitnable I'm curious to get your feedback as well as any Q staff. The notable features in this post IMO:

  • despite not using optimize api, this seems to be fairly risk neutral when referring to backtest risk metrics
  • the simple architecture lends itself well to autoscaling positions based on capital
  • Using only 5 simple USEquityPricing data points (daily, weekly, monthly, quarterly, annually) provides remarkable hedge ability during GFC and Covid downturns

Please reply Dan, as there are more concerning matters that I'd like to discuss, but not worth getting into until this gains some traction.
Please review the code, I'm proud of what it does in 140 lines, and also skeptical of the alpha demonstrated.
Thanks,
Stephan

4 responses