From 51d59e673b277c5bd0fa4bb343b99feea8c6453c Mon Sep 17 00:00:00 2001 From: Jonathan Raviotta Date: Fri, 9 Aug 2019 11:36:53 -0400 Subject: [PATCH] fixed another instance of Path in docs and nb --- docs/data-analysis.md | 4 ++-- user_data/notebooks/analysis_example.ipynb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data-analysis.md b/docs/data-analysis.md index 3b07d77a6..f79d1674e 100644 --- a/docs/data-analysis.md +++ b/docs/data-analysis.md @@ -46,9 +46,9 @@ strategy_name = 'NewStrategy' # Path to user data user_data_dir = 'user_data' # Location of the strategy -strategy_location = os.path.join(user_data_dir, 'strategies') +strategy_location = Path(user_data_dir, 'strategies') # Location of the data -data_location = os.path.join(user_data_dir, 'data', 'binance') +data_location = Path(user_data_dir, 'data', 'binance') # Pair to analyze # Only use one pair here pair = "BTC_USDT" diff --git a/user_data/notebooks/analysis_example.ipynb b/user_data/notebooks/analysis_example.ipynb index b3a61bc51..b8bcdd7bf 100644 --- a/user_data/notebooks/analysis_example.ipynb +++ b/user_data/notebooks/analysis_example.ipynb @@ -115,9 +115,9 @@ "# Path to user data\n", "user_data_dir = 'user_data'\n", "# Location of the strategy\n", - "strategy_location = os.path.join(user_data_dir, 'strategies')\n", + "strategy_location = Path(user_data_dir, 'strategies')\n", "# Location of the data\n", - "data_location = os.path.join(user_data_dir, 'data', 'binance')\n", + "data_location = Path(user_data_dir, 'data', 'binance')\n", "# Pair to analyze \n", "# Only use one pair here\n", "pair = \"BTC_USDT\""