summaryrefslogtreecommitdiffstats
path: root/openbb_terminal/core/plots/plotly_ta/plugins/momentum_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_terminal/core/plots/plotly_ta/plugins/momentum_plugin.py')
-rw-r--r--openbb_terminal/core/plots/plotly_ta/plugins/momentum_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbb_terminal/core/plots/plotly_ta/plugins/momentum_plugin.py b/openbb_terminal/core/plots/plotly_ta/plugins/momentum_plugin.py
index a2234bba056..7472d2caa26 100644
--- a/openbb_terminal/core/plots/plotly_ta/plugins/momentum_plugin.py
+++ b/openbb_terminal/core/plots/plotly_ta/plugins/momentum_plugin.py
@@ -539,7 +539,7 @@ class Momentum(PltTA):
leading_span_a = ((conversion_line + base_line) / 2).shift(displacement)
# Senkou Span B (Leading Span B)
- lagging_line = df_ta["Close"].shift(-lagging_line_period)
+ lagging_line = df_ta[self.close_column].shift(-lagging_line_period) # type: ignore
leading_span_b = (
(
lagging_line.rolling(window=base_period).max()