Fix typo in datadir key
This commit is contained in:
parent
7be9f0067e
commit
d6b9397579
@ -13,7 +13,7 @@ from freqtrade.configuration import Configuration
|
||||
|
||||
# Initialize empty configuration object
|
||||
config = Configuration.from_files([])
|
||||
# Optionally, Use existing configuration file
|
||||
# Optionally, use existing configuration file
|
||||
# config = Configuration.from_files(["config.json"])
|
||||
|
||||
# Define some constants
|
||||
@ -29,7 +29,7 @@ pair = "BTC_USDT"
|
||||
# Load data using values set above
|
||||
from freqtrade.data.history import load_pair_history
|
||||
|
||||
candles = load_pair_history(datadir=config["data_dir"],
|
||||
candles = load_pair_history(datadir=config["datadir"],
|
||||
timeframe=config["ticker_interval"],
|
||||
pair=pair)
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user