|
|
|
|
@ -34,7 +34,7 @@
|
|
|
|
|
"# config = Configuration.from_files([\"config.json\"])\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"# Define some constants\n",
|
|
|
|
|
"config[\"ticker_interval\"] = \"5m\"\n",
|
|
|
|
|
"config[\"timeframe\"] = \"5m\"\n",
|
|
|
|
|
"# Name of the strategy class\n",
|
|
|
|
|
"config[\"strategy\"] = \"SampleStrategy\"\n",
|
|
|
|
|
"# Location of the data\n",
|
|
|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
"from freqtrade.data.history import load_pair_history\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"candles = load_pair_history(datadir=data_location,\n",
|
|
|
|
|
" timeframe=config[\"ticker_interval\"],\n",
|
|
|
|
|
" timeframe=config[\"timeframe\"],\n",
|
|
|
|
|
" pair=pair)\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"# Confirm success\n",
|
|
|
|
|
|