Comments (2)
I would get in touch with Bloomberg Help or post to stack overflow with the tag blpapi
since this looks like a Bloomberg specific issue as opposed to pdblp
issue, which is just a wrapper on top of blpapi
.
from pdblp.
Hey
I finally solved my issue by using the xbbg module instead.
By looking at the source code for the pdblp bdh function, I see that there isn't really a parameter meant to capture those additional optional parameters (if I understand it well), could it be the reason why it wasn't able to recognize these commands? Like it isn't really part of the elms nor ovrds which refers to other things when I looked at the API documentation.
def bdh(self, tickers, flds, start_date, end_date, elms=None,ovrds=None, longdata=False):
where as in the xbbg bdh source code I see a place for other args (in the **kwargs)
def bdh( tickers, flds=None, start_date=None, end_date='today', adjust=None, **kwargs) -> pd.DataFrame:
which allows me to do something like this:
pref_px_bbg = blp.bdh(tickers=CUSIPS, flds=['PX_Last'], start_date=Date2, end_date=Date1,Fill='P', Days='A')
That's what I observed, but maybe I am wrong about it..
Thanks!
from pdblp.
Related Issues (20)
- Commodity curve CCRV HOT 1
- Commodity curve CCRV HOT 2
- Getting an error when tryning to pip install the package
- why restart not working ? thank you very much
- Options chain data not loading from Bloomberg
- Supply chain data (SPLC) History HOT 3
- Issue with overwrite field HOT 1
- Curve ref_hist with Nans
- BEQS HOT 1
- pdblp BDH Overrides with CDR HOT 3
- bdh() sometimes gets data arbitrary
- HIGH_52WEEK does not return historical data with ref_hist function HOT 1
- 'GSERFCI INDEX' cause problem HOT 1
- BDH function raises an error for certain securities without returning data for other securities HOT 2
- Intraday bar data pulled with bdib doesn't match BBG QR HOT 3
- Override release date HOT 1
- BSRCH help HOT 1
- issue regarding BSRCH (only 5 results returned)
- Timeout on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdblp.