Hello,
When I try to use TAlib's AROON like this
def handle_data(context, data):
#Get a trailing window of data
prices = history(PERIOD + 1, '1d', 'price')
# Use pandas dataframe.apply to get the last RSI value
# for each stock in our basket
rsi_data = prices.apply(ta.RSI, timeperiod=PERIOD).iloc[-1]
aroon_data = prices.apply(ta.AROON, timeperiod=PERIOD).iloc[-1]
it keeps returning a build error
Runtime exception: TypeError: AROON() takes at least 2 positional arguments (1 given)
but in the docs it only needs timeperiod.
Any ideias?
Thanks,
JM