From 2bdecf06a0b9085a0dfae533b5da149a2d092fcc Mon Sep 17 00:00:00 2001 From: Ronit Jain Date: Wed, 25 May 2022 21:14:12 +0530 Subject: [PATCH 1/2] use new modules json --- lean/models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lean/models/__init__.py b/lean/models/__init__.py index be1db14e..a87c05b5 100644 --- a/lean/models/__init__.py +++ b/lean/models/__init__.py @@ -17,7 +17,7 @@ from pathlib import Path json_modules = {} -file_name = "modules-1.1.json" +file_name = "modules-1.2.json" dirname = os.path.dirname(__file__) file_path = os.path.join(dirname, f'../{file_name}') From 29d8e3e31c07511522af33d7033e75c1c30fdb34 Mon Sep 17 00:00:00 2001 From: Ronit Jain Date: Thu, 26 May 2022 01:02:13 +0530 Subject: [PATCH 2/2] update docs to install tkinter --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8c904cfc..e4aeb130 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,17 @@ The CLI can be installed and updated by running `pip install --upgrade lean`. Note that many commands in the CLI require Docker to run. See [Get Docker](https://docs.docker.com/get-docker/) for instructions on how to install Docker for your operating system. +**Note:** Some Linux users may need to install `tkinter` using the following commands: + +``` +For Python 3 + +sudo apt-get install python3-tk + +For Python 2.7 + +sudo apt-get install python-tk +``` After installing the CLI, open a terminal in an empty directory and run `lean init`. This command downloads the latest configuration file and sample data from the [QuantConnect/Lean](https://github.com/QuantConnect/Lean) repository. We recommend running all Lean CLI commands in the same directory `lean init` was ran in. ## Usage