fixes to example notebook.

This commit is contained in:
Jonathan Raviotta 2019-08-09 11:41:05 -04:00
parent 51d59e673b
commit 247d7475e1
1 changed files with 5 additions and 7 deletions

View File

@ -33,10 +33,10 @@
"# Change directory\n", "# Change directory\n",
"# Define all paths relative to the project root shown in the cell output\n", "# Define all paths relative to the project root shown in the cell output\n",
"try:\n", "try:\n",
"\tos.chdir(Path(Path.cwd(), '../..'))\n", " os.chdir(Path(Path.cwd(), '../..'))\n",
"\tprint(Path.cwd())\n", " print(Path.cwd())\n",
"except:\n", "except:\n",
"\tpass" " pass"
] ]
}, },
{ {
@ -109,7 +109,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# Define some constants\n", "# Define some constants\n",
"ticker_interval = \"1m\"\n", "ticker_interval = \"5m\"\n",
"# Name of the strategy class\n", "# Name of the strategy class\n",
"strategy_name = 'NewStrategy'\n", "strategy_name = 'NewStrategy'\n",
"# Path to user data\n", "# Path to user data\n",
@ -201,10 +201,8 @@
] ]
}, },
{ {
"cell_type": "code", "cell_type": "markdown",
"execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [],
"source": [ "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." "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."
] ]