visualPaul
visualPaul

Reputation: 125

multiple overrides with Bloomberg API

It seems Bloomberg API can only override with same overridevalues for a list of bonds. for instance, to override Yield with Price, I can only use the SAME price value for a list of different bonds. My problem is: how to override Yield with different Price values for EACH different bonds. Is it possible?

Upvotes: 2

Views: 1495

Answers (1)

ytoledano
ytoledano

Reputation: 3133

In general (and not only for bonds), when using overrides, you are passing the same set of overrides for all the securities/dates of the request. If you want to use a different set of overrides for different securities you need to send multiple requests, each with different overrides. Note that the overrides are added directly to the request object.

When I encountered a similar issue I grouped the securities I was requesting data for by the overrides. I sent one request for each distinct set of overrides.

Upvotes: 2

Related Questions