eguidotti / rbldatalicense Goto Github PK
View Code? Open in Web Editor NEWR Interface to Bloomberg Data License
Home Page: http://rbldatalicense.eguidotti.com
License: GNU General Public License v3.0
R Interface to Bloomberg Data License
Home Page: http://rbldatalicense.eguidotti.com
License: GNU General Public License v3.0
Good afternoon. I'm trying to connect to Bloomberg (I'm Using Bloomberg Anywhere via Citrix) using R software (RblDataLicence package) and I'm getting the following error:
Authentication failure: check your configurations and whitelist the IP address in use. Contact Bloomberg support for help.[1] FALSE
Here is how I'm trying to connect:
RblConnect(user = "roh...",
pw = "....",
host = "dlsftp.bloomberg.com",
port = "30206",
protocol = "sftp",
verbose = TRUE
)
Thank you,
Rich O'Hara
Trying the simple example, can see the req file uploaded. When I try to run RblParse the following error is returned. "Error in if (programname == "gethistory") { : argument is of length zero"
Tried several different permutations of the example request, diff days, diff securities. I have a valid data license account that is used regularly as well.
Trying the All in one example. I can see the req file uploaded, Checking if file Rbl_xxxxx.out.gz is availale and then the message - file not yet available which run till timeout.
Using RblFiles() the file is listed, trying RblDownload() to extract the file I get the same message - file not yet available which run till timeout.
Tried several different days, diff securities still not able to download the file from Bloomberg.
Hi,
I'm not sure if this is a general issue, but the default values for the sftp server seem to have changed. What works for me now is
res_connect = RblConnect(user = bl_user, pw = bl_pw, host = "sftp.bloomberg.com", port = 22)
Best regards,
Owe
Hi,
I am following the README of the package.I first connect using the webservice (not the SFTP)
library('RblDataLicense')
RblConnect(user = Sys.getenv("BLP_USER"),
pw = Sys.getenv("BLP_PASSWORD"),
host = "api.bloomberg.com/eap/notifications/sse",
protocol = "https")
which returns me
TRUE
Then I build the dummy request as follows:
RblRequest <-
RblRequestBuilder(
header = c(FIRMNAME = RblUser(),
PROGRAMNAME = 'gethistory',
DATERANGE = '20050101|20151231'),
fields = c('PX_LAST'),
identifiers = c('SXXE Index')
)
when I do
cat(RblRequest)
it returns
START-OF-FILE
FIRMNAME=f7f0b8f9989c6cce7676fbcd891ea2a9
PROGRAMNAME=gethistory
DATERANGE=20050101|20151231
START-OF-FIELDS
PX_LAST
END-OF-FIELDS
START-OF-DATA
SXXE Index
END-OF-DATA
END-OF-FILE
then I proceed with
req <- RblUpload(RblRequest)
and I get the error:
Uploading file Rbl_1122205655.req
{"errors":[{"title":"unauthorized_client","id":"0bff2dbc-6a44-48e7-c8fe-d1d9c91db0cc","meta":{"server-time":1700686615},"errorCode":"unauthorized-client","status":401,"detail":"No definition of jwt found in header or query string."}],"error_description":"No definition of jwt found in header or query string.","error":"unauthorized_client"}
Successfully uploaded file Rbl_1122205655.req
How can I fix it? Does it have to do with webservice connection?
Cheers,
Davide
Hi
I used Rblconnect . Then, it showed up like this
"Authentication failure: check your credentials and whitelist the IP address in use. Contact Bloomberg support for help.[1] FALSE"
How can I fix this problem
Hi,
I'm trying to request monthly data but I'm not sure about which function should I use and what is the parameter to establish that. Thank you for your time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.