enhance migration documentation

This commit is contained in:
Matthias
2022-03-05 15:05:03 +01:00
parent 23b98fbb73
commit 36287a84cb
5 changed files with 149 additions and 7 deletions

View File

@@ -110,7 +110,7 @@
"outputs": [],
"source": [
"# Report results\n",
"print(f\"Generated {df['buy'].sum()} buy signals\")\n",
"print(f\"Generated {df['enter_long'].sum()} entry signals\")\n",
"data = df.set_index('date', drop=False)\n",
"data.tail()"
]
@@ -348,7 +348,7 @@
"hist_data = [trades.profit_ratio]\n",
"group_labels = ['profit_ratio'] # name of the dataset\n",
"\n",
"fig = ff.create_distplot(hist_data, group_labels,bin_size=0.01)\n",
"fig = ff.create_distplot(hist_data, group_labels, bin_size=0.01)\n",
"fig.show()\n"
]
},