fixes to example notebook.

This commit is contained in:
Jonathan Raviotta 2019-08-09 11:41:05 -04:00
parent 51d59e673b
commit 247d7475e1

View File

@ -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."
]