Back to Community
Inflation hedging on Quantopian

Hi all,

I want to short the SP500 index whenever the inflation indicator is bearish: the current trailing inflation is higher than that of 3 months ago. I know that Quandl supports the data but there is little documentation on how to use it. It is also frustrating that it's not indexed by time but by integers. This notebook is what I have so far and would love to see if anybody come up with a way to calculate the indicator. Thanks!

Loading notebook preview...