Open barl0g opened 4 years ago
diff --git a/utils.py b/utils.py index 1211118..bbd1f29 100644 --- a/utils.py +++ b/utils.py @@ -9,7 +9,7 @@ def compute_returns(p): def plot_p(df): import matplotlib.pyplot as plt - from matplotlib.finance import candlestick2_ohlc + from mpl_finance import candlestick2_ohlc fig, ax = plt.subplots() candlestick2_ohlc(ax, df['price_open'].values, @@ -26,7 +26,7 @@ def plot_p(df): def save_to_file(df, filename): import matplotlib.pyplot as plt - from matplotlib.finance import candlestick2_ohlc + from mpl_finance import candlestick2_ohlc fig, ax = plt.subplots() candlestick2_ohlc(ax, df['price_open'].values,
@barl0g how did the bot work ?