I am using history(bar_count=41, frequency='1d', field='close_price', ffill=True) to fetch the price history for some ETFs. My algo posts a trade and then it fails because the history method returns a NaN in the next iteration for ETF ADRA.
My assumption was that if forward fill is true then it should not return NaNs. Please let me know what I am doing wrong here?