Skip to content

Windows/Linux/MacOS Desktop App to browse QuantConnect Lean engine's backtest and monitor live performances. Original project https://github.com/mirthestam/lean-monitor

License

Notifications You must be signed in to change notification settings

BobLd/lean-monitor-2

Repository files navigation

Panoptes (lean-monitor-2)

About

Panoptes is an open-source Desktop based tool to browse QuantConnect Lean engine's backtest and monitor live performances. It is updated and ported from https://github.com/mirthestam/lean-monitor.

Available for Windows, Linux and MacOS using Avalonia. Legacy WPF version available in the wpf-legacy branch.

Download

Download the latest binaries from the Releases page. Windows, Linux and MacOS versions are available.

How to use

Sessions

  • File: For backtest, open the main backtest .json file. The order-events.jsom file will also be loaded. If the button is grayed out, it means that the app can't find the file. You can also replace the .json extension by .qcb and use Panoptes to open the main file by double clicking on the .qcb file. backtest
  • Stream: (source) Panotpes reads status messages generated by the Lean StreamingMessageHandler. Configure the Launcher configuration file (config.json) with:

    "messaging-handler": "QuantConnect.Messaging.StreamingMessageHandler"

  • MongoDB: Expected packets:
    public class MongoDbPacket
    {
        public ObjectId Id { get; set; }

        [BsonRequired]
        public string Channel { get; internal set; }

        [BsonRequired]
        public string Type { get; internal set; }

        [BsonRequired]
        public string Message { get; internal set; }
    }
  • Mock: Build in debug mode and open a 'Stream' session. This will launch a mock data feed. demo