From 247d7475e17cff5f18e3dc8e31667cbeac44e3a9 Mon Sep 17 00:00:00 2001 From: Jonathan Raviotta Date: Fri, 9 Aug 2019 11:41:05 -0400 Subject: [PATCH] fixes to example notebook. --- user_data/notebooks/analysis_example.ipynb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/user_data/notebooks/analysis_example.ipynb b/user_data/notebooks/analysis_example.ipynb index b8bcdd7bf..a92855add 100644 --- a/user_data/notebooks/analysis_example.ipynb +++ b/user_data/notebooks/analysis_example.ipynb @@ -33,10 +33,10 @@ "# Change directory\n", "# Define all paths relative to the project root shown in the cell output\n", "try:\n", - "\tos.chdir(Path(Path.cwd(), '../..'))\n", - "\tprint(Path.cwd())\n", + " os.chdir(Path(Path.cwd(), '../..'))\n", + " print(Path.cwd())\n", "except:\n", - "\tpass" + " pass" ] }, { @@ -109,7 +109,7 @@ "outputs": [], "source": [ "# Define some constants\n", - "ticker_interval = \"1m\"\n", + "ticker_interval = \"5m\"\n", "# Name of the strategy class\n", "strategy_name = 'NewStrategy'\n", "# Path to user data\n", @@ -201,10 +201,8 @@ ] }, { - "cell_type": "code", - "execution_count": null, + "cell_type": "markdown", "metadata": {}, - "outputs": [], "source": [ "Feel free to submit an issue or Pull Request enhancing this document if you would like to share ideas on how to best analyze the data." ]