pdblp
pdblp copied to clipboard
pandas wrapper for Bloomberg Open API
Data returned from making a `ExcelGetGridRequest` seems inconsistent with schema. An `element` is a `blpapi.DataType.CHOICE` however `element.getChoice()` raises an error. This is illustrated below. ```python import blpapi def get_messages(session): msgs...
con = pdblp.BCon(debug=True, port=8194) con.start() ticker = 'IBM US Equity' sd = datetime.datetime(2018, 12, 12, 0,0,0,0).strftime('%Y%m%d') ed = str(datetime.datetime.today().strftime('%Y%m%d')) cols = ['TOT_RETURN_INDEX_NET_DVDS','TOT_RETURN_INDEX_GROSS_DVDS'] px_volume_by_day = con.bdh([ticker],cols,sd,ed) px_volume_by_day Debug options - >>>...
Implementation of the terminal function "SECF" which allows query based lookup of tickers using a search string. This leverages the "instruments" service using the `InstrumentListRequest ` request type. I can...
Currently there are sporadic `pure virtual method called` errors when `bulkref_hist` is called. The general setup looks like ```python import pdblp con = pdblp.BCon() con.sart() con.bulkref_hist("BCOM Index", "INDX_MWEIGHT_HIST", ["20100201"], date_field="END_DATE_OVERRIDE")...
#### 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...
#### Code Sample, a copy-pastable example if possible ```python import pdblp con = pdblp.BCon(debug=False, port=8194, timeout=50000) con.start() con.restart() ``` #### Problem description con.restart() get an error message AttributeError: 'BCon' object...
#### Problem description pdblp got error message when data field is empty or NOT_APPLICABLE_TO_REF_DATA. It looks numpy==2.0.0 changed some exception handling. Could you amend np.nan / np.NaN for numpy =>...