From 583d70ec9c535d6b2ad6275818096bcb2b9fac49 Mon Sep 17 00:00:00 2001 From: xmatthias Date: Sat, 23 Jun 2018 14:18:30 +0200 Subject: [PATCH] add plot module proto --- freqtrade/plot/__init__.py | 0 freqtrade/plot/plotting.py | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 freqtrade/plot/__init__.py create mode 100644 freqtrade/plot/plotting.py diff --git a/freqtrade/plot/__init__.py b/freqtrade/plot/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/freqtrade/plot/plotting.py b/freqtrade/plot/plotting.py new file mode 100644 index 000000000..e04b51726 --- /dev/null +++ b/freqtrade/plot/plotting.py @@ -0,0 +1,13 @@ +import logging + + +logger = logging.getLogger(__name__) + + +try: + from plotly import tools + from plotly.offline import plot + import plotly.graph_objs as go +except ImportError: + logger.exception("Module plotly not found \n Please install using `pip install plotly`") + exit()