Spaces:
Sleeping
Sleeping
Manus AI commited on
Commit ·
0c2f6bc
1
Parent(s): a743675
Fix: Plotting error in core/plot.py by correcting MACD Histogram column name from 'macdh_12_26_9' to 'macdhist_12_26_9'.
Browse files- core/plot.py +1 -1
core/plot.py
CHANGED
|
@@ -76,7 +76,7 @@ def plot_indicators(df, ticker):
|
|
| 76 |
row=3, col=1
|
| 77 |
)
|
| 78 |
fig.add_trace(
|
| 79 |
-
go.Bar(x=df.index, y=df["
|
| 80 |
row=3, col=1
|
| 81 |
)
|
| 82 |
if 'rsi_14' in df:
|
|
|
|
| 76 |
row=3, col=1
|
| 77 |
)
|
| 78 |
fig.add_trace(
|
| 79 |
+
go.Bar(x=df.index, y=df["macdhist_12_26_9"], name="MACD Hist", marker_color="gray"),
|
| 80 |
row=3, col=1
|
| 81 |
)
|
| 82 |
if 'rsi_14' in df:
|