You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIU, it's not a bug, because ta.trend.macd(df.close, window_slow = 26, window_fast = 12) is a shorthand for ta.trend.MACD(df.close, window_slow = 26, window_fast = 12, window_sign = 9).macd()
you don't need a signal line to calculate .macd() hence parameter window_sign is not needed for it. it's needed only for ta.trend.macd_signal(...) and ta.trend.macd_diff().
Version 0.10.1
ta.trend.MACD(df.close, window_slow = 26, window_fast = 12, window_sign = 9) is outputing <ta.trend.MACD object at 0x000001C2823C7280>
ta.trend.macd(df.close, window_slow = 26, window_fast = 12, window_sign = 9) is outputing TypeError: macd() got an unexpected keyword argument 'window_sign'
ta.trend.macd(df.close, window_slow = 26, window_fast = 12) output ok
The text was updated successfully, but these errors were encountered: