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

Options chain data not loading from Bloomberg #104

Open
JennyCon opened this issue Jun 28, 2023 · 0 comments
Open

Options chain data not loading from Bloomberg #104

JennyCon opened this issue Jun 28, 2023 · 0 comments

Comments

@JennyCon
Copy link

Code Sample, a copy-pastable example if possible

Import the pdblp wrapper

import pdblp

Create a BCon object

con = pdblp.BCon(debug=True, port=8194, timeout=5000)
con.start()

Fetch the Options Chain from Bloomberg and print it out

OPTChain = con.bulkref('CO1 COMDTY', flds='OPT_CHAIN')
print(OPTChain)

#### Problem description

For some reason Bloomberg is telling me that the field does not apply to CO1 COMDTY anymore which is strange as it worked yesterday.  Does anyone have any idea why?

 errorInfo = {
                        source = "19390:rsfrdsvc-slow1"
                        code = 9
                        category = "BAD_FLD"
                        message = "Field not applicable to security"
                        subcategory = "NOT_APPLICABLE_TO_REF_DATA"


#### Expected Output

#### Version Information

[paste the output of ``pdblp.__version__`` here below this line]
 errorInfo = {
                        source = "19390:rsfrdsvc-slow1"
                        code = 9
                        category = "BAD_FLD"
                        message = "Field not applicable to security"
                        subcategory = "NOT_APPLICABLE_TO_REF_DATA"

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

No branches or pull requests

1 participant