rblpapi:在“彭博数据系列(bds)替代中的日期”调用中忽略的日期

时间:2019-12-18 22:58:07

标签: bloomberg

似乎bds()调用未正确(或完全没有)使用覆盖。这是与已经问过Rblpapi R Bloomberg data download的问题相同的问题,但是我不确定如何在目前没有声誉的情况下对此进行评论。

示例-尝试拉动收益率曲线的纽带(新西兰主权)。 2018年12月17日和2019年12月17日之间应该有一些区别

require(Rblpapi)
bbg = blpConnect()

overrd = c("START_DT"="20181217", "END_DT"="20181217")
constituents2018 = bds("YCGT0049 Index", "Curve members",overrides = overrd)[,1]
overrd = c("START_DT"="20191217", "END_DT"="20191217")
constituents2019 = bds("YCGT0049 Index", "Curve members",overrides = overrd)[,1]

setdiff(constituents2018,constituents2019) #this should not be empty

0 个答案:

没有答案