In: prices_yr
Out:
Dimensions: 3 (items) x 252 (major_axis) x 68 (minor_axis)
Items axis: high to close_price
Major_axis axis: 2016-01-04 00:00:00+00:00 to 2016-12-30 00:00:00+00:00
Minor_axis axis: Equity(33583 [ENRJ]) to Equity(42931 [IRG])
In: type(prices_yr['high'])
Out:
In: ATR_prices = talib.ATR(prices_yr['high'], prices_yr['low'], prices_yr['close_price'], timeperiod=1)
Out: AssertionError: high has wrong dimensions
How calculate ATR for many stocks with pandas.core.panel.Panel?