QCAlgorithm is the C# base class to access the QC-Cloud Cluster of computers, and US equities tick data. It provides an interface which connects which the QuantConnect cloud/backend.
To get started:
- Download the library and unzip it somewhere on your PC.
- Open the solution in Visual Studio or Mono Develop (an open sourced C# IDE).
- Modify the file "MyAlgorithm.cs" which contains your algorithm code.
- Compile the entire project, including all the support libraries.
This will output "QuantConnect.Algorithm.dll" which contains your algorithm. This can be uploaded to the QuantConnect cloud by committing it to your personal GIT URL. You may wish to modify the compile output directory to somewhere useful on your computer; such as the root directory of your project code.
You can access this GIT URL inside the IDE, on the project tab. Firstly you'll need to upload your private SSH key. There is a full tutorial for using GIT inside QuantConnect located here: https://www.quantconnect.com/docs/Tutorials/Backtest-Strategies-Via-GIT
The repository has several building blocks: Common, Interface and Algorithm.
- Common - Provides the basic security objects for accessing financial data, securities and math libraries.
- Interface - Interaction interface between the Algorithm and the backtesting platform.
- Algorithm - Underlying class handling the logistics of placing orders, event placeholders.
Feel free to extend this class and recommend additions / modifications to the API. We push updates to QC on a nightly basis so approved changes will be live within 48 hours.
See http://www.quantconnect.com/docs for more information.
Provided with the Apache 2.0 license.
QuantConnect is seeking to democratize algorithmic trading through providing powerful tools and free financial data. With our online IDE engineers can design strategies in C#, and backtest them across 15 years of free high resolution financial data. Feel free to reach out to the QC Team -- [email protected]