From edddd89543912688493411a6d9f4f7fd4df79655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Rodr=C3=ADguez=20Chatruc?= Date: Mon, 5 Oct 2020 13:35:36 -0300 Subject: [PATCH] Simplified README code --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 39dfdab..2e3e641 100644 --- a/README.md +++ b/README.md @@ -61,12 +61,10 @@ You can run this example by putting the code into a Jupyter Notebook/Lab file in import os import sys -BACKTESTER_DIR = os.path.realpath(os.path.join(os.getcwd(), '.', '.')) +BACKTESTER_DIR = os.getcwd() TEST_DATA_DIR = os.path.join(BACKTESTER_DIR, 'backtester', 'test', 'test_data') SAMPLE_STOCK_DATA = os.path.join(TEST_DATA_DIR, 'test_data_stocks.csv') SAMPLE_OPTIONS_DATA = os.path.join(TEST_DATA_DIR, 'test_data_options.csv') - -sys.path.append(BACKTESTER_DIR) # Add backtester base dir to $PYTHONPATH ```