Hey everyone, I am hoping that someone with a little more experience has seen this before and can point me in the right direction. I learn best by doing, so I started hacking around with some of the example algorithms and I am currently stuck with an error message that does not give me any clues on what to try next.
I was trying to use the ta.RSI example with a universe instead of a single security, and it fails about a third of the way in with the attached error message. I get a similar error message if I switch out the RSI func for MACD (though it seems to fail on a different day)
Here is the error message:
Exception: inputs are all NaN
File test_algorithm_sycheck.py:15, in handle_data
File /zipline/transforms/batch_transform.py:202, in handle_data
File /zipline/transforms/batch_transform.py:267, in get_transform_value
File /zipline/transforms/ta.py:54, in zipline_wrapper
File abstract.pyx:331, in talib.abstract.Function.__call__ (talib/abstract.c:5815)
File abstract.pyx:358, in talib.abstract.Function.__call_function (talib/abstract.c:6324)
File func.pyx:7544, in talib.func.RSI (talib/func.c:67938)
My best guess is that it is loading NaN somewhere in data when calculating the RSI, so this leads me to believe that it happens when the universe changes, but from reading the documentation it sounds like that should not be an issue.
Any thoughts on what I need to do to fix this? Any help is appreciated
*note: I did submit feedback, but I am impatient and I figure the community is full of smart people, so we will see who is quicker :)