Skip to content

Add equity permanent portfolio, dual momentum, and DCA templates#2425

Open
AlexCatarino wants to merge 1 commit into
QuantConnect:masterfrom
AlexCatarino:add-equity-portfolio-and-dca-templates
Open

Add equity permanent portfolio, dual momentum, and DCA templates#2425
AlexCatarino wants to merge 1 commit into
QuantConnect:masterfrom
AlexCatarino:add-equity-portfolio-and-dca-templates

Conversation

@AlexCatarino
Copy link
Copy Markdown
Member

Summary

  • Adds three new project templates under project-templates/{python,csharp}/:
    • equity-permanent-portfolio — Browne's Permanent Portfolio (25% SPY/TLT/GLD/SHY) with annual rebalance and 3% drift threshold.
    • equity-dual-momentum-asset-class — Antonacci dual momentum across SPY/EFA/AGG; monthly rotation into the top 12-month return, fall back to AGG on negative absolute momentum.
    • equity-dollar-cost-averaging — buys $5,000 of VOO every Monday after open via calculate_order_quantity; demonstrates settings.seed_initial_prices, on_warmup_finished, and plotting fill notional in on_order_event.
  • Registers each template in both templates.json files and removes the corresponding entries from template-ideas.json.

Test plan

  • Python main.py passes python project-templates/python/run_syntax_check.py <folder> for each new template (100% success).
  • Each C# Main.cs compiles and backtests on QC Cloud with statistics matching the Python version exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant