Rblpapi (version 0.3.10)

blpAuthenticate: Authenticate Bloomberg API access

Description

This function authenticates against the the Bloomberg API

Usage

blpAuthenticate(uuid, host = "localhost", ip.address,
  con = defaultConnection())

Arguments

uuid

A character variable with a unique user id token. If this is missing the function will attempt to connect to bpipe using the connection. It is assumed that an app_name was set. See blpConnect() for app_name information

host

A character variable with a hostname, defaults to 'localhost'

ip.address

An optional character variable with an IP address

con

A connection object as created by a blpConnect call, and retrieved via the internal function. This is the only required argument to authenticate a bpipe connection with a appName. defaultConnection.

Value

The returned object should be passed to subsequent data calls via bdp(), bds(), etc.

Examples

Run this code
# NOT RUN {
blpConnect(host=blpHost, port=blpPort)
blpid <- blpAuthenticate(uuid=blpUUID, ip=blpIP_address)
bdp("IBM US Equity", "NAME", identity=blpid)
# }

Run the code above in your browser using DataLab