-
Notifications
You must be signed in to change notification settings - Fork 67
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
BDS type of call #25
Labels
Comments
Try a comma after the tuple.
[("END_DATE_OVERRIDE","20150715"), ]
On Tue, Feb 13, 2018 at 10:52 AM ahmasoh1992 ***@***.***> wrote:
Hey Guys,
If I want to do a BDS type of call, say:
=BDS("SPX Index","INDX_MWEIGHT_HIST", "END_DATE_OVERRIDE=20151231")
I assume it's along the lines of:
con.ref(["SPX Index"],"INDX_MWEIGHT_HIST",
[("END_DATE_OVERRIDE","20150715")])
But this seems to throw up:
Traceback (most recent call last):
File "", line 1, in
File "...\Python27\site-packages\pdblp\pdblp.py", line 242, in ref
ovrds, [])
File "...\Python27\site-packages\pdblp\pdblp.py", line 125, in _create_req
for ovrd_fld, ovrd_val in ovrds:
ValueError: need more than 1 value to unpack
Know what's going on?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#25>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF1yH98IUgqEuX-nVYAFLnSAZ5lfxLXJks5tUa-8gaJpZM4SD99N>
.
--
Cedric Yau
cedricyau@gmail.com
|
Wow thanks, why does that work? Is that a bug? |
This is not a bug, the syntax for accessing the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Guys,
If I want to do a BDS type of call, say:
=BDS("SPX Index","INDX_MWEIGHT_HIST", "END_DATE_OVERRIDE=20151231")
I assume it's along the lines of:
Know what's going on?
The text was updated successfully, but these errors were encountered: