Skip to content

smartquant/electronQC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electronQC

This is a minimal Electron application that can replace GeckoFX in QuantConnect.Lean in order to graph backtest results in a desktop environment.

To Use

To clone and run this repository you'll need the following installed on your computer

  • Git
  • Node.js (which comes with npm)
  • Visual Studio 2015 with Visual C++ and associated tools installed

From your command line:

# Clone this repository
git clone https://github.com/andrewhart098/electronQC.git
# Go into the repository
cd electronQC
# Install dependencies and run the app
npm install 

# rerun electron-rebuild
./node_modules/.bin/electron-rebuild
# Or if you are in Windows
.\node_modules\.bin\electron-rebuild.cmd

# Now start the electron app with 
npm start

Run the QuantConnect.Lean engine in visual studio configured to run in a desktop environment. Be sure you have your user id and api access token configured.

Comment out the following lines in Program.cs QuantConnect.Lean.Launcher:

    if (environment.EndsWith("-desktop"))            {
        var info = new ProcessStartInfo
        {
            UseShellExecute = false,
            FileName = Config.Get("desktop-exe"),
            Arguments = Config.Get("desktop-http-port")
        };
        Process.Start(info);
    }

Learn more about QuantConnect go to QuantConnect.com.

About

An electron application for graphing QuantConnect Lean Backtests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published