-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in bdh_Impl(con, securities, fields, start.date, end.date, options, : Choice sub-element not found for name 'securityData'. #246
Comments
No idea what is R> bdh("AAPL US Equity", fields="PX_LAST", start.date=Sys.Date()-7, end.date=Sys.Date()-1)
date PX_LAST
1 2017-10-03 154.48
2 2017-10-04 153.48
3 2017-10-05 155.39
4 2017-10-06 155.30
5 2017-10-09 155.84
R>
|
@Derek-Ych-Qi your code works as-is for me:
I suggest you ask BBG about your data permissions. Also why not use the more descriptive field name, which is
|
Hello @eddelbuettel I have ran into the same problem as mentioned in the topic of this post. I have done some looking into the topic and I saw you commented on another post that there could be settings in the terminal itself causing issues. Any chance you could elaborate further on this? Best, |
Can you see the data in your terminal? If not check your data permissions. Also try an alternative field name for this as I mentioned above. |
|
Try turning |
Thanks Dirk, also thanks for making the package. Really appreciated.
…On Wed, Feb 27, 2019 at 6:26 AM Dirk Eddelbuettel ***@***.***> wrote:
Try turning verbose=TRUE to see more. In most cases it means that if some
data came back in came in a form that upset our parsing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#246 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHbOArU-BP_J89N9AkTR3SeQ9JPKzlsJks5vRmtRgaJpZM4P0UC4>
.
|
Thanks @eddelbuettel , by running |
Same problem with economic indicators. They are not returned, and setting verbose = TRUE doesn’t give details about what could be overwritten: bdh("ROGDESD Index", "PX_LAST", start.date="2020-01-01", verbose = TRUE) gives the error mentioned above. blp.bdh(tickers='ROGDESD Index', flds=['PX_LAST', 'last_price'],start_date='2020-01-01', ) returns both (identical) values: 'PX_LAST' and 'last_price'. |
You can get this message from bdh() if you've breached a request limit. The terminal condition becomes apparent if you try to use getBars() instead of bdh(), you'll then get a proper request limit error message. |
connector<-blpConnect() bdh("AAPL US EQUITY", start.date = Sys.Date() - 365, end.date = Sys.Date(), fields = "RK003", con = connector)
I simply called the code above but get this type of error. What does that mean?
The text was updated successfully, but these errors were encountered: