From 829da096e23072269562da4e57a42e199a292161 Mon Sep 17 00:00:00 2001 From: kryofly Date: Fri, 12 Jan 2018 11:49:50 +0100 Subject: [PATCH] plotting docs --- docs/plotting.md | 18 ++++++++++++++++++ scripts/plot_dataframe.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 docs/plotting.md diff --git a/docs/plotting.md b/docs/plotting.md new file mode 100644 index 000000000..56b44400c --- /dev/null +++ b/docs/plotting.md @@ -0,0 +1,18 @@ +# Plotting +This page explains how to plot prices, indicator, profits. + +## Table of Contents +- [Plot price and indicators](#plot-price-and-indicators) + +## Plot price and indicators +Usage for the price plotter: +script/plot_dataframe.py [-h] [-p pair] + +Example +``` +python script/plot_dataframe.py -p BTC_ETH +``` + +The -p pair argument, can be used to specify what +pair you would like to plot. + diff --git a/scripts/plot_dataframe.py b/scripts/plot_dataframe.py index f07033637..e9bf65f47 100755 --- a/scripts/plot_dataframe.py +++ b/scripts/plot_dataframe.py @@ -21,7 +21,7 @@ def plot_parse_args(args ): return parser.parse_args(args) -def plot_analyzed_dataframe(args) -> None: +def plot_analyzed_dataframe(args): """ Calls analyze() and plots the returned dataframe :param pair: pair as str