pdblp | pandas wrapper for Bloomberg Open API | Development Tools library
kandi X-RAY | pdblp Summary
kandi X-RAY | pdblp Summary
pandas wrapper for Bloomberg Open API
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- A context manager that opens a connection
- Start the session
- Get a logger
- Stops the session
- Convert to json
- Parse the string representation
- Returns a list of dicts
pdblp Key Features
pdblp Examples and Code Snippets
Community Discussions
Trending Discussions on pdblp
QUESTION
I have a list of CUSIPs that I would like gather data for using pdblp (https://matthewgilbert.github.io/pdblp/tutorial.html).
For example:
List of CUSIPs (around 5,000 in total):
/cusip/xxxxxxxxx, /cusip/yyyyyyyyy ...
...ANSWER
Answered 2021-Oct-26 at 21:03You can create a pivot table:
QUESTION
I am using pdblp package to gather supply chain data. But I am facing two problems. First, it just gives me the just first five suppliers of current date, not even all. Also, it does not give any historical data. By changing any date, still get the same results. I searched all web, there is no manual of tutorial for gathering supply chain data from Bloomberg. So, I was wondering if anybody has any experience or solution for this. Thank you so much!
The following shows my codes which I used con.bulkref_hist() and con.bulkref() in order to gather the suppliers of APPLE Inc. As shown in output, I just get 5 suppliers of Apple? Not all and even I cannot change the date.
...ANSWER
Answered 2020-Aug-02 at 07:32In [1]: from xbbg import blp
In [2]: blp.bds('AAPL US Equity', 'SUPPLY_CHAIN_SUPPLIERS', Supply_Chain_Count_Override=10)
Out[2]:
equity_ticker
AAPL US Equity 2317 TT Equity
AAPL US Equity 4938 TT Equity
AAPL US Equity 2382 TT Equity
AAPL US Equity 601138 CH Equity
AAPL US Equity 2330 TT Equity
AAPL US Equity 034220 KS Equity
AAPL US Equity 005930 KS Equity
AAPL US Equity INTC US Equity
AAPL US Equity JBL US Equity
AAPL US Equity 2324 TT Equity
QUESTION
I am trying to create a tkinter gui that performs a certain calculation. I create a window to ask for input to do the calculations. However, each time I run my code 2 windows pop up instead of one. Is there a way to automatically close the blank window when I run my code such that the user would only see the window that asks for input.
For simplicity I changed all buttons to close the applications.
...ANSWER
Answered 2020-Aug-14 at 11:07The following two lines will create an instance of Tk()
because there is no instance of Tk()
when they are executed:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pdblp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page