From 68ddd1b951e06d1686b482bbd42712b0ea37d1a4 Mon Sep 17 00:00:00 2001 From: peterkorodi Date: Sat, 14 Jul 2018 00:07:38 +0200 Subject: [PATCH] Update plotting.md Fix pairs and db-url in the doc --- docs/plotting.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/plotting.md b/docs/plotting.md index 242d80005..54a4bb4b8 100644 --- a/docs/plotting.md +++ b/docs/plotting.md @@ -24,7 +24,7 @@ script/plot_dataframe.py [-h] [-p pair] [--live] Example ``` -python scripts/plot_dataframe.py -p BTC_ETH +python scripts/plot_dataframe.py -p BTC/ETH ``` The `-p` pair argument, can be used to specify what @@ -34,18 +34,18 @@ pair you would like to plot. To plot the current live price use the `--live` flag: ``` -python scripts/plot_dataframe.py -p BTC_ETH --live +python scripts/plot_dataframe.py -p BTC/ETH --live ``` To plot a timerange (to zoom in): ``` -python scripts/plot_dataframe.py -p BTC_ETH --timerange=100-200 +python scripts/plot_dataframe.py -p BTC/ETH --timerange=100-200 ``` Timerange doesn't work with live data. 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 +python scripts/plot_dataframe.py --db-url sqlite:///tradesv3.dry_run.sqlite -p BTC/ETH ``` To plot a test strategy the strategy should have first be backtested.