Hi Quants
First of all, I'm new to both Quantopian and object-oriented programming so I might have overlooked (not been aware of) something very basic, my apologies.
However, the challenge that I'm facing is that my CustomFactor for calculating the parabolic SAR value for all Q1500US securities does not work on specific dates, e.g. 2014-05-06.
I can't seem to figure out why the custom factor returns only nan values for this date as there should be same (amount of) daily high, low, and close data available on this very date as on e.g. 2014-05-05 which works fine.
Any help, tips and tricks, code comments or whatsoever is very much appreciated.
FYI: I know that this trading "strategy" is not profitable. I just want to get a grip on the process of creating and testing custom factors.