changed Path, added jupyter

This commit is contained in:
Jonathan Raviotta 2019-08-07 19:48:55 -04:00
parent 8418dfbaed
commit 9df1c23c71
2 changed files with 5 additions and 4 deletions

View File

@ -68,6 +68,8 @@ setup(name='freqtrade',
'dev': all_extra, 'dev': all_extra,
'plot': plot, 'plot': plot,
'all': all_extra, 'all': all_extra,
'jupyter': [],
}, },
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,

View File

@ -20,7 +20,7 @@
"\tos.chdir(os.path.join(os.getcwd(), '../..'))\n", "\tos.chdir(os.path.join(os.getcwd(), '../..'))\n",
"\tprint(os.getcwd())\n", "\tprint(os.getcwd())\n",
"except:\n", "except:\n",
"\tpass\n" "\tpass"
] ]
}, },
{ {
@ -38,7 +38,6 @@
"source": [ "source": [
"# Imports\n", "# Imports\n",
"from pathlib import Path\n", "from pathlib import Path\n",
"import os\n",
"from freqtrade.data.history import load_pair_history\n", "from freqtrade.data.history import load_pair_history\n",
"from freqtrade.resolvers import StrategyResolver\n", "from freqtrade.resolvers import StrategyResolver\n",
"from freqtrade.data.btanalysis import load_backtest_data\n", "from freqtrade.data.btanalysis import load_backtest_data\n",
@ -51,9 +50,9 @@
"# Path to user data\n", "# Path to user data\n",
"user_data_dir = 'user_data'\n", "user_data_dir = 'user_data'\n",
"# Location of the strategy\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", "# 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", "# Pair to analyze \n",
"# Only use one pair here\n", "# Only use one pair here\n",
"pair = \"BTC_USDT\"" "pair = \"BTC_USDT\""