Back

Version control for algorithms?

Is there really no way to use modern version control (e.g., Git) with QC algorithms? I see from the docs that there's a Visual Studio plugin available, but what about other platforms and IDEs?

The alternative is developing offline with LEAN, I guess, and then I hear there's an API to submit backtesting—but I haven't seen any documentation for it, so it seems like it really just exists for the VS plugin?  Copying and pasting isn't really a viable solution either, especially with multiple files in a project.

I recently got started with QC and have been quite enjoying it, but this is leaving me with the impression that it's not meant for serious software engineering. I hope I'm mistaken about this and someone can point me in the right direction!

Update Backtest







0

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.


Hi and welcome!

Right now, the easiest approach is as you rightly point out - work with an offline LEAN installation through Visual Studio and then send files over to the terminal for backtesting using the VS plugin. I am personally using this method (+ git on the files themselves) and have found it to be a smooth workflow suited for sound software engineering.

The interface for the API is well-documented in itself, so that would be somewhere to start if you're looking to interface with the terminal yourself.

You're correct in saying that right now, the only IDE supported out-of-the-box is VS. That shouldn't come as a surprise and isn't all that uncommon either among open-source C# codebases. Not sure what other C# IDEs you had in mind but I'm sure there are ways to port the project over to them if needed.

0

Thanks, the link to the REST API is helpful.

With regard to IDEs, I would like to be able to use Visual Studio for Mac, but I understand that the extension architecture is completely different from the Windows version. I'm also interested in working on Python projects, with my own developer environment setup outside of Visual Studio.

I noticed that there was previously a way to manipulate projects as Git repositories, but this functionality was removed—any particular reason why?

0

It was too fragile and few people used it so it was deprecated.
0

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.


Update Backtest





0

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.


Loading...

This discussion is closed