I am trying to get the MACD for the entire current day so that I can compare each minute to the 2 previous minutes. Right now my MACD looks like this:
prices = data.history(context.secshorted, 'close', 26, '1m')
macd, macdsignal, macdhist = talib.MACD(prices, 12, 26, 9)
This gives me the error AssertionError: real has wrong dimensions. I tried everything including previous solutions to no avail. Also prices is returning the values from the previous day not the current day which is another issue.