mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update plotting.md
Fix pairs and db-url in the doc
This commit is contained in:
parent
b6e1020f39
commit
68ddd1b951
|
@ -24,7 +24,7 @@ script/plot_dataframe.py [-h] [-p pair] [--live]
|
||||||
|
|
||||||
Example
|
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
|
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:
|
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):
|
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.
|
Timerange doesn't work with live data.
|
||||||
|
|
||||||
To plot trades stored in a database use `--db-url` argument:
|
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.
|
To plot a test strategy the strategy should have first be backtested.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user