Hello, 

I wanted to see if someone smarter than myself could help me with this very simple program.  I piggybacked on Derek Melchin's CPI importer (

)

 to build a portfolio that changes its 60/40 holdings based on yield curve and CPI (research from @wifeyAlpha on twitter 

)

However when I run the attached backtest, my if data.containsKey(self.CPI_symbol) on line XXX is never true so my CPI data never updates and I am looped on whatever the start date CPI is. 

Why is the data.containsKey not seeing the CPI data?

Can anyone help a normie noob out?

Thanks in advance.

Author