I've attached an algorithm that uses coarse and fine filters to select a universe and rebalances every 20 days. Everything is working as expected, however, I'm seeing “The security does not have an accurate price” even though I'm only placing orders if data.ContasKey(symbol) is True. I've searched through the forum and that seems like it should be the solution but it's not working. 

This works fine with daily data but I'd like to use minute data as recommended here. If I'm rebalancing every 20 days, does minute data even matter? Will I get more accurate results with minute data? 

I've noticed not all of the changes in onSecuritiesChand are making it to onData within the same minute, hence my use of buy and sell lists. Is there a better way to place orders when using minute data? Thanks in advance for any help! 

Author

Justin Busa

January 2022