For the algo below, does anyone know of a any way I can keep the number of open positions to 5 and only add new positions when open positions are less than 5?
Don't have an account? Join QuantConnect Today
QuantConnect Community Discussions
QUANTCONNECT COMMUNITY
LEAN is the open-source algorithmic trading engine powering QuantConnect. Founded in 2012 LEAN has been built by a global community of 180+ engineers and powers more than 300+ hedge funds today.
Join QuantConnect's Discord server for real-time support, where a vibrant community of traders and developers awaits to help you with any of your QuantConnect needs.
The Open-Quant League is a quarterly competition between universities and investment clubs for the best-performing strategy. The previous quarter's code is open-sourced, and competitors must adapt to survive.
Limiting open positions to 5; add new positions only when open positions are less than 5.
Continue ReadingRefer to our Research Guidelines for high quality research posts.
Create an account on QuantConnect for the latest community delivered to your inbox.
Sign Up Today
|
|
|||||||
|
|
||||||||
|
Limiting number of open positions to 5
Lemuel | Lemuel.M | September 2023
For the algo below, does anyone know of a any way I can keep the number of open positions to 5 and only add new positions when open positions are less than 5?
QuantConnectâ„¢ 2025. All Rights Reserved
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!