Hi,
New to the platform, but having a hard time figuring out how to use some of the datasets, for example:
from quantopian.interactive.data.quandl import rateinf_inflation_usa # Inflation rate
from quantopian.interactive.data.quandl import fred_gnp # GNP
from quantopian.interactive.data.quandl import fred_gdp # GDP
from quantopian.interactive.data.quandl import fred_icsa # Unemployment Claims
from quantopian.interactive.data.quandl import adp_empl_sec # Total Jobs
These datasets are in the form of a Blaze expr. object. I figured out how to make them a Pandas.dataFrame, but I have no idea how to access the nearest time values (asof_date
) in a CustomFactor or in the Pipeline itself.
What I would like to do is this:
For every day, look at the % change for each of the above values (GDP, GNP, etc) between the current value and the value a month ago).
Would appreciate any help on this, as I've been unable to make much progress. Thank you.