有没有办法使用Bloomberg OpenAPI生成覆盖字段值列表?

时间:2017-04-21 23:05:32

标签: python bloomberg openapi

例如,如果我想查询特定药品市场的处方,我可以指定市场,例如10MG丸。有没有办法列出该领域所有可能的药物强度清单?

        request.append("securities", "RX_00000 Comdty")
        request.append("fields", 'TOTAL_RETAIL_RX')
        request.set("startDate", "20160101")
        request.set("endDate", "20160331")
        request.set("periodicitySelection", "MONTHLY")
        overrides = request.getElement("overrides")
        override1 = overrides.appendElement()
        override_objects['DRUG_STRENGTH_OVERRIDE'].setElement("value", "10MG")

或在Excel中:

=BDH("RX_00000 Comdty","TOTAL_RETAIL_RX",20160101,20160331,"per","M","DRUG_STRENGTH_OVERRIDE","10MG")

0 个答案:

没有答案