Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
APACHE-2.0 License
Bot releases are visible (Hide)
Published by StefanoRaggi about 7 years ago
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 support with many new libraries, charting, history request support, Quandl support and many example algorithms. Quantity decimalization was implemented as the first step towards crypto-currency support. In addition there were numerous bug fixes, notably forIB connection handling and Python support.
Features
Updates
Bug Fixes
Notes
Thank you to the community contributors in this release:
@AnshulYADAV007, @jameschch, @Jay-Jay-D, @LiXiang618, @mushketyk, @smartquant, @tomhunter-gh
Published by jaredbroad over 7 years ago
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 the majority of existing python algorithms should work with no changes. In addition there were numerous bug fixes to make IB re-connection more resilient, and OANDA Brokerage was updated to support v2 accounts.
Features
-Full native python library support.
-Add support for OANDA v2 accounts.
-Added OrderType Exercise to OrderJsonConverter.
-Added NLogHandler for additional logging capabilities.
-Fix bugs in IEX Data Queue Handler.
-Add SetTradeBuilder to QCAlgorithm API so users can set their own trade builder for statistics.
-Added Volume Share Slippage Model.
-Extend LeanData class to generate forex and cfd QuoteBars.
-Liquidated positions show up tagged with “Liquidated”.
-When backtests drop below $0 equity they are halted.
-Added Hull Moving Average indicator.
-Fetch option chains from the OCC website to speed up launching algorithms.
Bug Fixes
-Update FXCM Brokerage to return QuoteBars in GetHistory request.
-Fix OANDA Brokerage to return GetHistory requests in the exchange timezone.
-Fix IB timezone issues in GetHistory and Data Queue Handler.
-Prevent setting real-time price when the exchange is closed.
-Fixed bug updating consolidators with tick data.
-Fix futures to use quotes for the universe instead of trades.
-Fix issues with ZB and SGSD30 in market hours database.
-Adjusted RAM limit calculations to be less sensitive to short term spikes.
-Restart IBGateway each night on IB server disconnection.
-Allow field selectors to be used with QuoteBars.
-Removed underlying asset from futures assets.
-Fix issue calculating holdings in CalculateOrderQuantity.
-Added NSE data converter to backtest on data from National Stock Exchange of India.
-Futures expiry date calculated dynamically with date rules.
Notes
Updated to IB API Version 9.73
Thank you to the community contributors in this release Oswaldo, Ray Bohac,Jay-Jay-D, Anshul and Ed Rouwendaal!
Published by jaredbroad over 7 years ago
This release adds the IEXDataQueueHandler allowing LEAN users to stream free US equity trades to their strategy; along with numerous bug fixes to the OANDA and FXCM brokerage implementations.
Additional regression algorithms were added to automate testing of daily data algorithms.
The Interactive Brokers connection logic was also made more intelligent to fail quickly when there is an existing TWS connection open.
There were no breaking changes in regression tests or the API of LEAN.
Published by jaredbroad over 7 years ago
The key update from this release was a re-write of the bottom of the LEAN enumerator stack to abstract the fetching and caching of data. This is now plugin powered. This allows easily sourcing data from different locations and intelligently caching the streams in memory.
There were also numerous bug fixes, stability enhancements and changes to make backtesting and live trading more consistent. For full release notes see: https://www.quantconnect.com/blog/release-notes-v2-3-0-2
Published by jaredbroad over 7 years ago
This release marks the integration of options and futures trading support in LEAN. Options and futures contracts are selected by using a filter universe. It is a substantial revision and improvement of the LEAN Engine.
The new asset classes are supported in live trading. They should be considered bleeding edge and could potentially have unknown bugs. Please report any issues found to the Issues page.
Fundamental analysis based on MorningStar data is now also fully supported in live and backtesting modes. This has been burnt in for 8 months and should be stable enough for production purposes. It can be used in conjunction with Coarse Fundamental data. This allows selecting a universe of symbols based on price and volume, then narrowing down the search based on corporate information.
There have been hundreds of bug fixes since the previous version which are cough [poorly] documented in the commit history but we will strive to start keeping better release notes in the future.
Release notes for this version are documented here:
https://www.quantconnect.com/blog/release-notes-lean-v2-3-0-0/
Published by mchandschuh almost 9 years ago
LEAN Algorithm Trading Engine now supports universe selection.
Published by jaredbroad over 9 years ago
Lean Algorithmic Trading Engine and Web IDE and now support multiple languages (C#, F#, VB) with Java support to soon follow.
Published by jaredbroad almost 10 years ago
First release of the Lean - an open source .NET Algorithmic Trading Engine. Lean is an event driven, multi-threaded, cloud-desktop hybrid application for backtesting and executing algorithmic trading strategies.