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

@@ -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)