I'm working on a simple app that uses a filewatcher to detect changes to a local file and then uploads it to a project in the Algo Lab IDE thingie. I'm calling UpdateProjectFileContent, and it seems to be working, but I need to refresh the IDE window to reflect the changes. This takes upwards of 20 seconds and isn't ideal.
When collaborating in the IDE via the sharing features, updates are reflected in near real-time. This was my expectation for API sourced updates.
Is this a bug?
Jared Broad
Hi Greg Lincoln - it is generally instantaneous. If there is a delay it is simply in the executing of the request at the time you made the call. For requests inside QuantConnect is saved/refreshed every 0.5 seconds but let us know in support if you can repeat longer periods and we can look into it.
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.
Greg Lincoln
Thanks Jared Broad. The real-time aspect is confusing things. Apologies for not being clear.
The problem is that UpdateProjectFileContent sourced changes are not (ever) reflected in open files in the web IDE until you refresh the file. (ether by closing and reopening the project, or refreshing the browser)
I was attempting to compare this to the behavior of two people working on a shared file within the web IDE, where updates are nearly instantaneous. I was expecting the API-based file updates to behave the same way.
Jared Broad
Ah got it. No this isn't a bug just feature we haven't implemented :). There is special code to enable multi-person collaboration which is enabled when a shared project is loaded. It works with a NodeJs server and JS independent of our API.
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.
Greg Lincoln
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!