Giter Site home page Giter Site logo

eguidotti / rbldatalicense Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 3.0 203 KB

R Interface to Bloomberg Data License

Home Page: http://rbldatalicense.eguidotti.com

License: GNU General Public License v3.0

R 100.00%
bloomberg bloomberg-data bloomberg-datalicense r

rbldatalicense's People

Contributors

igitur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rbldatalicense's Issues

Authentication Failure Issue

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

RblParse error

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.

Unable to download Bloomberg file

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.

Outdated connection defaults?

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

"No definition of jwt found in header or query string" error

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

Requesting monthly data

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.