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

bug error while requesting data into specific currency #82

Open
AlexandreMoulti opened this issue Jun 18, 2020 · 0 comments
Open

bug error while requesting data into specific currency #82

AlexandreMoulti opened this issue Jun 18, 2020 · 0 comments
Labels

Comments

@AlexandreMoulti
Copy link

Hello,
I try to replicate the excel request
=BDH("IBM US Equity",A2,"2019-12-31","2019-12-31","FX=EUR","Dir=H","Dts=H")
by
con.bdh('IBM US Equity', 'ALTMAN_Z_SCORE', date_begin, date_end, ovrds=[("FX","EUR" )])
but it fails !

Message
print(con.bdh(list_ticker, 'ALTMAN_Z_SCORE', date_begin, date_end, ovrds=[("FX","EUR" )]))
File "E:\Anaconda\lib\site-packages\pdblp-0.1.8-py3.7.egg\pdblp\pdblp.py", line 275, in bdh
elms, ovrds)
File "E:\Anaconda\lib\site-packages\pdblp-0.1.8-py3.7.egg\pdblp\pdblp.py", line 307, in _bdh_list
has_security_error = 'securityError' in d['securityData']
KeyError: 'securityData'

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