You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I am trying to retrieve equity prices from Bloomberg using the pdblp module with the BDH function like this below. For some securities, there are dates for which there is no PX_LAST reported and thus I would like to take the previously available in that case. I am using the syntax below but to no success, I believe it's doable but it's probably a detail that I'm missing in the syntax/wording. Note that without the ovrds=[("Fill","P")] part the code executes successfully.
I would get in touch with Bloomberg Help or post to stack overflow with the tag blpapi since this looks like a Bloomberg specific issue as opposed to pdblp issue, which is just a wrapper on top of blpapi.
I finally solved my issue by using the xbbg module instead.
By looking at the source code for the pdblp bdh function, I see that there isn't really a parameter meant to capture those additional optional parameters (if I understand it well), could it be the reason why it wasn't able to recognize these commands? Like it isn't really part of the elms nor ovrds which refers to other things when I looked at the API documentation.
Hello guys,
So I am trying to retrieve equity prices from Bloomberg using the pdblp module with the BDH function like this below. For some securities, there are dates for which there is no PX_LAST reported and thus I would like to take the previously available in that case. I am using the syntax below but to no success, I believe it's doable but it's probably a detail that I'm missing in the syntax/wording. Note that without the ovrds=[("Fill","P")] part the code executes successfully.
I get the following error when I run this line:
If I change the ovrds= to elms=, I get the following error:
Please advice on how to solve this.
Thanks!
The text was updated successfully, but these errors were encountered: