matthewgilbert / pdblp

pandas wrapper for Bloomberg Open API
MIT License
240 stars 69 forks source link

BSRCH help #97

Closed sswat38 closed 2 years ago

sswat38 commented 2 years ago

Code Sample, a copy-pastable example if possible

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

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

#this works
con.bdh('SPY US Equity', 'PX_LAST',
                '20150629', '20150630')

#this doesn't work
con.bsrch("COMDTY:NGFLOW")

Problem description

Hi - thank you for building this package, it's great! I am new to python and Bloomberg and was exploring the functionalities, and wanted to check if anyone knew why I was experiencing this behavior with the BSRCH function. I am able to run bdh functions, but BSRCH gives an error. Am I required to do any extra setup on Bloomberg/python?

pdblp_error

Secondly, what are the possible things I can use BSRCH to pull out? Is there any documentation I can read to figure that out?

Expected Output

Version Information

'0.1.8'

EricNeville commented 2 years ago

Did you resolve this?