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 […]


Introducing The Co-Pilot: Your Coding Companion


We’re happy to announce the release of the Co-Pilot; a rich automated documentation generator built to give you relevant hints while you’re building your strategy. With deep API’s it is impossible to memorize all the methods available; and time consuming to constantly search the documentation. As a coding companion, the co-pilot can inspect the types […]


How do I use the API File Provider?

Ensuring a high data quality is one of the hardest parts of setting reliable backtesting. There are many challenges to ensuring your data is in the right format, free of errors or omissions and historically accurate. We’ve tried to address this for you by opening the LEAN Data Library and letting you download our data. […]