Closed julius-datajunkie closed 3 years ago
fut_sym = "HC1 Index" df_tmp = blp.bdh(fut_sym, "PX_LAST", start_date="2019-01-01", end_date="2019-12-31") df_tmp.head()
yields
HC1 Index -- 9710.851 9739.567 9909.881 10030.685 10042.567
But when I ran this without the end date
df_tmp = blp.bdh(fut_sym, "PX_LAST", start_date="2019-01-01") df_tmp.head()
HC1 Index -- 9410.969 9438.798 9603.853 9720.926 9732.441
It was a problem with my GFUT roll defaults setting that was messing things up.
yields
But when I ran this without the end date
yields