From 959a03a6b097beecf4a0243b9be8cff7f5694447 Mon Sep 17 00:00:00 2001 From: creslin <34645187+creslinux@users.noreply.github.com> Date: Thu, 7 Jun 2018 15:13:55 +0000 Subject: [PATCH 1/2] plotting.md update. include an example or plotting a strategy buy/sell output. --- docs/plotting.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/plotting.md b/docs/plotting.md index ae964fb16..87b25e32a 100644 --- a/docs/plotting.md +++ b/docs/plotting.md @@ -48,6 +48,12 @@ To plot trades stored in a database use `--db-url` argument: python scripts/plot_dataframe.py --db-url tradesv3.dry_run.sqlite -p BTC_ETH ``` +To plot a test strategy the strategy should have first be backtested. +The results may then be plotted with the -s argument: +``` +python scripts/plot_dataframe.py -s Strategy_Name -p BTC/ETH --data-dir users_data/data/ +``` + ## Plot profit The profit plotter show a picture with three plots: From 7bcac064c045c418826ca1ca5d2eaf31af39f27d Mon Sep 17 00:00:00 2001 From: creslin <34645187+creslinux@users.noreply.github.com> Date: Thu, 7 Jun 2018 15:18:19 +0000 Subject: [PATCH 2/2] Update plotting.md typo fixed. --- docs/plotting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plotting.md b/docs/plotting.md index 87b25e32a..242d80005 100644 --- a/docs/plotting.md +++ b/docs/plotting.md @@ -51,7 +51,7 @@ python scripts/plot_dataframe.py --db-url tradesv3.dry_run.sqlite -p BTC_ETH To plot a test strategy the strategy should have first be backtested. The results may then be plotted with the -s argument: ``` -python scripts/plot_dataframe.py -s Strategy_Name -p BTC/ETH --data-dir users_data/data/ +python scripts/plot_dataframe.py -s Strategy_Name -p BTC/ETH --datadir user_data/data// ``` ## Plot profit