Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currency overrides with bdh #62

Open
Vivianhe116 opened this issue Apr 16, 2019 · 2 comments
Open

Currency overrides with bdh #62

Vivianhe116 opened this issue Apr 16, 2019 · 2 comments
Labels

Comments

@Vivianhe116
Copy link

Code Sample, a copy-pastable example if possible

# Your code here, this should be a minimal reproducible example, see https://stackoverflow.com/help/mcve

Problem description

[this should explain why the current behaviour is a problem and why the expected output is a better solution.]

Expected Output

Version Information

[paste the output of pdblp.__version__ here below this line]

@Vivianhe116
Copy link
Author

Hi I am trying to do the below to get historical data just in a different currency.
con.bdh(['BA US Equity'],['PX_LAST'],'20150629', '20150630', ovrds = [('CRNCY','EUR')])

However, the result is still in USD. It seems it was not override. But if you do the same in BDH in excel, you could get the EUR number by "CRNCY=USD". How can I do that in pdblp?

@matthewgilbert matthewgilbert changed the title Hi I am trying to use bdh function to get historical price, but override the curncy to a different one than default. like Using currency overrides with bdh Apr 21, 2019
@matthewgilbert matthewgilbert changed the title Using currency overrides with bdh Currency overrides with bdh Apr 21, 2019
@matthewgilbert
Copy link
Owner

I have deleted https://github.com/matthewgilbert/pdblp/issues/61 since it was a duplicate. The original post you made is a template which you are meant to fill out but have ignored. Please take a bit of time to research the etiquette of using github issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants