Hi,
I am new here. I did search the forum for how to get RSI in 30 minutes time frame. Though similar question has been asked before, I don't see a satisfactory answer.
I clone the RSI sample and try to do :
prices_1m = data.history(context.stocks, 'price', 14*30, '1m')
prices = prices_1m.resample('30T', closed='left')
for stock in context.stocks:
# Get the rsi of this stock.
rsi = talib.RSI(prices[stock], timeperiod=14)[-1]
rsis[stock] = rsi
print rsi
...
the rsi result is "nan". Therefore no RSI value is plotted.
Please help!
Kevin