From 6efd74449754d2e5ed6f9e529b9513d97e5677b9 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Sun, 4 Feb 2018 09:40:29 +0200 Subject: [PATCH] change buy and sell markers in plot_dataframe --- scripts/plot_dataframe.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/scripts/plot_dataframe.py b/scripts/plot_dataframe.py index b60b60b82..71d887d60 100755 --- a/scripts/plot_dataframe.py +++ b/scripts/plot_dataframe.py @@ -80,7 +80,14 @@ def plot_analyzed_dataframe(args) -> None: y=df_buy.close, mode='markers', name='buy', - marker=dict(symbol='x-dot') + marker=dict( + symbol='triangle-up-dot', + size=9, + line=dict( + width=1, + ), + color='green', + ) ) df_sell = df[df['sell'] == 1] sells = go.Scattergl( @@ -88,7 +95,14 @@ def plot_analyzed_dataframe(args) -> None: y=df_sell.close, mode='markers', name='sell', - marker=dict(symbol='diamond') + marker=dict( + symbol='triangle-down-dot', + size=9, + line=dict( + width=1, + ), + color='red', + ) ) bb_lower = go.Scatter(