From d38577b4c482bec4f2c9356ff1458260789dcd77 Mon Sep 17 00:00:00 2001 From: CelestialCrafter Date: Wed, 4 Oct 2023 15:23:45 -0500 Subject: [PATCH] fixed imports for colors --- plots/bollinger_bands.py | 2 +- plots/bot_net_worth.py | 2 +- plots/macd.py | 2 +- plots/rsi.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plots/bollinger_bands.py b/plots/bollinger_bands.py index 2e723bc..5671057 100755 --- a/plots/bollinger_bands.py +++ b/plots/bollinger_bands.py @@ -1,7 +1,7 @@ import numpy as np import matplotlib.pyplot as plt from algorithms.bollinger_bands import algorithm as boillinger_bands -import colors +import plots.colors as colors def plot(prices): upper_band, lower_band, middle_band = boillinger_bands(prices) diff --git a/plots/bot_net_worth.py b/plots/bot_net_worth.py index ca12f08..eb590c7 100644 --- a/plots/bot_net_worth.py +++ b/plots/bot_net_worth.py @@ -1,6 +1,6 @@ import numpy as np import matplotlib.pyplot as plt -import colors +import plots.colors as colors def plot(bot_profit): bot_profit = np.array(bot_profit) diff --git a/plots/macd.py b/plots/macd.py index 7081027..c786cc2 100755 --- a/plots/macd.py +++ b/plots/macd.py @@ -1,7 +1,7 @@ import numpy as np import matplotlib.pyplot as plt from algorithms.macd import algorithm as macd -import colors +import plots.colors as colors def plot(prices): macd_line, signal_line = macd(prices) diff --git a/plots/rsi.py b/plots/rsi.py index daeba5b..8f24ed3 100755 --- a/plots/rsi.py +++ b/plots/rsi.py @@ -1,7 +1,7 @@ import numpy as np import matplotlib.pyplot as plt from algorithms.rsi import algorithm as rsi -import colors +import plots.colors as colors def plot(prices): rsi_data = rsi(prices)