mirthestam / lean-monitor

Windows Desktop App to browse Lean engine's backtest and live monitor progress and results.
MIT License
94 stars 36 forks source link

Lean Algorithm Monitor

Introduction

Lean Algorithm Monitor is an open-source Windows Desktop based tool to browse Lean engine's backtest and live monitor progress and results.

alt tag

Lean C# Algorithmic Trading Engine

This tool visualizes data generated by the Lean Engine. Lean Engine is an open-source fully managed C# algorithmic trading engine built for desktop and cloud usage. Lean drives the web based backtesting platform QuantConnect.

Building the solution

The solution has been built using Microsoft Visual Studio 2017 (Community Edition). Make sure to restore NuGet packages if your environment is not configured to Restore them automatically when building. The solution has a reference to the QuantConnect.Common Namespace in the QuantConnect.Common.dll library. This file is not included and can be compiled from the Lean project.

Starting the application

The monitor supports two modes: File and Stream.

Opening a file

The monitor can read exported .JSON files (i.e. by the Quant Connect Algorithm Lab) or exported by the Monitor itself.

Starting from a stream

The monitor reads status messages generated by the Lean StreamingMessageHandler, just like the default Views application included with the Engine.

Issues and Feature Requests

This tool has initially been built for personal purposes. it is a proof-of-concept (Alpha) and might contain bugs including performance issues and incorrect calculations among others. Please submit bugs and feature requests as an issue to the AlgorithmMonitor Repository. Contributions are welcomed!