https://github.com/bobld/lean-monitor-2
Windows/Linux/MacOS Desktop App to browse QuantConnect Lean engine's backtest and monitor live performances. Original project https://github.com/mirthestam/lean-monitor
https://github.com/bobld/lean-monitor-2
algorithm algorithmic-trading avalonia backtesting csharp lean lean-monitor linux osx quantconnect trading trading-algorithms windows wpf
Last synced: about 1 month ago
JSON representation
Windows/Linux/MacOS Desktop App to browse QuantConnect Lean engine's backtest and monitor live performances. Original project https://github.com/mirthestam/lean-monitor
- Host: GitHub
- URL: https://github.com/bobld/lean-monitor-2
- Owner: BobLd
- License: mit
- Created: 2021-08-24T10:25:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T07:22:29.000Z (3 months ago)
- Last Synced: 2025-04-14T14:21:48.341Z (about 1 month ago)
- Topics: algorithm, algorithmic-trading, avalonia, backtesting, csharp, lean, lean-monitor, linux, osx, quantconnect, trading, trading-algorithms, windows, wpf
- Language: C#
- Homepage:
- Size: 4.41 MB
- Stars: 27
- Watchers: 2
- Forks: 16
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
Panoptes (lean-monitor-2)
## About
Panoptes is an open-source Desktop based tool to browse [QuantConnect Lean](https://github.com/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](https://github.com/AvaloniaUI/Avalonia). Legacy WPF version available in the[ wpf-legacy branch](https://github.com/BobLd/lean-monitor-2/tree/wpf-legacy).
## Download
Download the latest binaries from the [Releases](https://github.com/BobLd/lean-monitor-2/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.

- **Stream**: ([source](https://github.com/mirthestam/lean-monitor#starting-from-a-stream)) 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:
```csharp
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.
