changed Path, added jupyter
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"\tos.chdir(os.path.join(os.getcwd(), '../..'))\n",
|
||||
"\tprint(os.getcwd())\n",
|
||||
"except:\n",
|
||||
"\tpass\n"
|
||||
"\tpass"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -38,7 +38,6 @@
|
||||
"source": [
|
||||
"# Imports\n",
|
||||
"from pathlib import Path\n",
|
||||
"import os\n",
|
||||
"from freqtrade.data.history import load_pair_history\n",
|
||||
"from freqtrade.resolvers import StrategyResolver\n",
|
||||
"from freqtrade.data.btanalysis import load_backtest_data\n",
|
||||
@@ -51,9 +50,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\""
|
||||
|
Reference in New Issue
Block a user