R-Support, Visual Studio Integration, Python Updates – LEAN Release Notes v2.4.0.1

This release adds R-support to LEAN; allowing you to run R-code from your LEAN C# algorithms. This makes the R statistics libraries available for use in QuantConnect. Additionally a community member contributed a plugin for Visual Studio which uses the QuantConnect API to perform file editing tasks and deploy backtests. Additionally this release extends Python […]

 


Python Library Support – LEAN Release Notes v2.4.0.0

This release adds full python support to enable using common python libraries in your algorithm.It is implemented using the PythonNet library which allows importing C# classes into python and vice versa. The new python algorithms are fully supported in local and cloud trading. There are some minor API adjustments to use the new library but […]

 


Tracking and Managing Orders


Tracking and managing orders is an important piece of an automated trading strategy. In this video tutorial we demonstrate the QuantConnect API and how to use order management methods in your algorithm.


Scheduled Events


Scheduled events allow you to trigger code blocks for execution at specific times according to rules you set. This feature helps coordinate your algorithm activities and perform analysis at regular intervals; while letting the trading engine take care of market holidays. The scheduling is set with two rules: the DateRules and TimeRules classes. The schedule […]


Desktop Charting with LEAN


With a few configuration changes you can get desktop charting in LEAN with a HTML5 interface very similar to the one you see in QuantConnect.com. This gives you better visual feedback on your strategy and allows you to improve faster. This tutorial guides you through configuring a desktop charting environment with LEAN. Local charting (and […]


Consolidating Data to Build Bars


Consolidators are used to combine data together from finer resolutions into larger ones. This can be useful for indicators with specific data requirements or to perform long term analysis in conjunction with short term signals. Consolidators should be constructed and setup in your Initialize() method; this ensures they are only initialized once. There are three […]


Release Notes – LEAN v2.3.0.1

This release fixed minor bugs in LEAN to improve its stability and consistency across backtesting and live trading. There were no breaking changes in regression tests or the API of LEAN. Features Update AlgoSeek data converter to accept input file mask to only convert specific source files. Added IsAssignable to detect assignment orders in backtesting*. […]

 


Open Source Future of Algorithmic Trading

The future of finance will be powered by open source algorithmic trading. LEAN algorithmic trading engine enables you to design and backtest a strategy in seconds, with virtually no setup required. LEAN is community supported and 100% open source.