matthewgilbert / blp

Pythonic interface for Bloomberg Open API
Apache License 2.0
115 stars 25 forks source link

How do I get B-PIPE to work ? #5

Closed rshah2019 closed 2 years ago

rshah2019 commented 2 years ago

bquery = blp.BlpQuery(host='', app='').start() results = bquery.bdh( ["SPY US Equity", "TLT US Equity"], ["LAST_PRICE"], start_date="20211101", end_date="20211101", )

I get an error: 'Data is not available for non-BPS Managed B-PIPE users. [nid:2938] ', 'subcategory': 'NOT_ENTITLED_FIELD'}}}}}

My Bloomberg Rep tells me App should have permission to load LAST_PRICE from B-PIPE. what I am doing wrong ?

matthewgilbert commented 2 years ago

I would try and troubleshoot makign raw connections via the blpapi library against bpipe first as I have limited experience interfacing with bpipe and there are several different authentication mechanisms.

rshah2019 commented 2 years ago

got it, will do thank you