Running multiple algorithms on single account is supported by QC or Lean?
If yes, trading same instruments long/short by multiple algos is supported?
QUANTCONNECT COMMUNITY
Running multiple algorithms on single account is supported by QC or Lean?
If yes, trading same instruments long/short by multiple algos is supported?
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Petter Hansson
Short answer: No, assuming you mean sub-account.
On e.g. Oanda (and I think also IB) you can have multiple sub-accounts and run algos individually.
Furthermore, on Oanda I suspect you might actually be able to connect multiple algos to the same account but the behavior is generally undefined and depending on what your algos are doing.
I know I can place trades in an algo account on Oanda manually, for instance, providing the algo isn't trying to do things that conflict with the trade. (Including use of margin, buying/selling/analyzing quantity of overlapping securities, and things like that.) However, I wouldn't bother trying to run two algos in crude fashion like this due to unforeseen potential problems.
As far as I know IB is probably more restrictive and you won't be able to make duplicate connections without interfering with the already open connection.
What you can do is to combine two different algos in the same QCAlgorithm, but this requires extra coding and may be especially complicated in the case they trade the same securities. Maybe you can also combine alphas trivially this way, haven't checked.
LukeI
Petter is right, you have to code one algorithm properly to trade multiple strategies simultaniously. Alpha streams can do it too but you have to make a custom portfolio construction model based on the signals from each one.
Richard Thomas Harrison
LukeI do you have an example of a custom portfolio construction model as you described?
LukeI
It's nothing special really, it just takes the insights that dictate each allocation from each alpha and puts them in a table by symbol and source alpha model, then averages it, lastly it normalizes all the allocations to add up to 100%.
Example
Â
I'm sure the coding is awful but this is directly from my algorithm:
Â
Â
Â
Konstantin P.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
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!