Fix typo in datadir key

This commit is contained in:
Matthias
2020-02-12 06:40:13 +01:00
parent 7be9f0067e
commit d6b9397579
2 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@
"\n",
"# Initialize empty configuration object\n",
"config = Configuration.from_files([])\n",
"# Optionally, Use existing configuration file\n",
"# Optionally, use existing configuration file\n",
"# config = Configuration.from_files([\"config.json\"])\n",
"\n",
"# Define some constants\n",
@@ -49,7 +49,7 @@
"# Load data using values set above\n",
"from freqtrade.data.history import load_pair_history\n",
"\n",
"candles = load_pair_history(datadir=config[\"data_dir\"],\n",
"candles = load_pair_history(datadir=config[\"datadir\"],\n",
" timeframe=config[\"ticker_interval\"],\n",
" pair=pair)\n",
"\n",