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.
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.
var trend = DetermineTrend();
var mean_reversion = DetermineMeanReversion();
if (trend)
{
... gather results from some trend following indicators.
... decide to buy or sell with a signal from your strategy
(eg. if x[0] > x[1] && x[1] < x[2] buy) // because you reached a valley
... determine number of shares (BetSize)
... execute your trade
}
if (mean_reversion)
{
... gather the results from some mean reversion indicators.
... decide to buy or sell with a signal from your strategy
... determine number of shares
... execute your trade
}
else
{
... do nothing
}
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.
I would like to suggest a solution, one which I would really like to discuss as I have not yet applied it to QC myself.
I come from Quantopian, they 'provided' data to the live algo. I believe QC does the same? This is what I think empowers the use of an Interactive Brokers Proprietary Trading Group: Seprate Trading Limit account structure(scroll to the bottom and click 'separate trading limit account' for info) because IB institutional accounts charge a high price for their data. Additionally, most algos have high turnover for the sake of statistical relevance, so it is easier to ignore the minimum fee applied to each account(assuming 5+ round trip trades per month).
This account structure allows me to set up 100% isolated systems with separate logins, owned by a single entity and run under a master account (you can only log into master when algos running, there is NO ability to create a second login for sub accounts in this account type like you do with personal or ira accounts). This makes running multiple algos pretty clean and also works to benefit from IB's features for accounting, taxes, etc when managing your portfolio of live strategies. Instead of applying for a brand new account, you can very quickly add new sub accounts to this type of structure in order to launch a new system. Additonaly the use of margin in trading systems makes the protection sometimes offered by a limited liability corporation(for example) worth considering.
Jared Broad does the use of this account type work with QC's rules and/or does a better known solution exist for IB customers? Does anyone have experience with live trading systems on IB Linked Accounts such as a Personal + IRA?
Very interesting thank you for sharing Derek. I wasn't aware of that account structure but it makes sense. I don't see why we would limit it. We're not really aiming to maximize profits but get as many people as possible happy about LEAN and QuantConnect :)
We're chewing through bugs that Quantopian people have brought to our attention but we'll move onto features soon. Stefano has already started the research into adding master & advisor accounts.
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.
Does someone know how the pricing model for data in IB looks like for master accounts vs QC?
If you trade frequently your personal account get a maximum subscribe amount of 350 stocks for example instead of the default 50 at start. You can follow 350 stocks live. Of course some booster packs are available. Everything depends on your trading costs.
This things i have to be aware of if i am using universe selection for personal and master/advisor account.
Is that right?
Does the advisor/master account has to buy all of that data subscription/booster packs or does QC provide live streaming data when going live? And only orders are going to be send to IB and thats it?
Derek,
Are you using this type of account now ? (Interactive Brokers Proprietary Trading Group: Seprate Trading Limit). Do you know how this compares to the master/advisor accounts in terms of pricing? I am starting to port my live trading programs from Quantopian to QC and have faced a number of challenges along the way. I'm still not sure I have a handle on the account-> algorighthm linkage and the costs that this may incur.
My understanding is that I will need a separate $10 fee for each algo running on a live account. Each of these has a 512 MB limit on memory. Since all of my accounts are pretty much running on the same algo, I would like it if that permitted me to use x times memory limit to run against my data requirements.
Let's say I have one algo that requires a lot of memory or cpu cycles initially (sorting through the universe of stocks, or crunching a lot of historical cycles determining a good signal), but then that same signal is useful for 20 different users all coded to the same strategy. In that case I guess I could pay for extra cpu / memory on just 1 unit, have the algo then write the results to a csv file, then have all the other algo's read from that csv file. Kind of clunky but it would probably work.
The slicker solution - at the same hardward costs to QC - would be if they could multiply the memory/cycle limitations by the number of accounts subscribed to. So if I am paying for 10 "units" I would then be allowed 10 x 512 MB of memory on the aggregate of them. This would make my deployments much easier.
Obviously , my algos would have to be coded a bit differently depending on which of the two is possible.
I'm curious if any of you have similar issues and already found workarounds.
I think the RiA accounts/advisor accounts are still on the roadmap of QC.
Support for Multiple Accounts at Interactive Brokers
they have sure a lot to do after people jumping of the quantopian train.
your CSV file idea is quite good. You would have to run it on your windows or linux machine. Easiest and fastest way would be windows.
BUT! if you start 20 quantconnect accounts on one machine you have to think about some minor IB problems that can occur. If one/some TWS/IB Gateway got a disconnect because of IB Server it will restart the gateway again killing all instances of the gateway or tws................5 minutes of debugging could help to solve the problem or wait till they implement the account type.
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!