Bloomberg Data License Request Builder



Create a Bloomberg Data License request file getdatarequest.req using the Bloomberg Data License Request Builder. Submit the request file to Bloomberg Data License using c. 03 // 04 BLOOMBERG DATA LICENSE With Bloomberg Data License, every function and system across your firm can use exactly the same data–in the front, mid- and back-offices–without discrepancies. Bloomberg is unique in its ability to give you a multi-asset, single-source, global.

Retrieve Data Using Bloomberg Data License

This example shows how to retrieve Bloomberg® DataLicense data with a request file using a Bloomberg Data Licenseconnection. To create a successful Bloomberg connection, see Connect to Bloomberg.To access the code for this example, enter edit BloombergDataLicenseWorkflow.m.

Connect to Bloomberg Data License

Create the Bloomberg Data License connection c.This code assumes the following:

  • The Bloomberg Data License SFTP server loginname is 'xxxxx'.

  • The Bloomberg Data License SFTP server passwordis 'xxxxxxxx'.

  • The Bloomberg Data License SFTP server name is 'dlsftp.bloomberg.com'.

  • The Bloomberg Data License SFTP port number is 30206.

  • The decryption code is 'nAcLeZ'.

bdl connects to Bloomberg Data Licenseat port number 30206 with password authentication.

Request Bloomberg Data File

Create a Bloomberg Data License request file getdatarequest.req usingthe Bloomberg Data License Request Builder. Submit the requestfile to Bloomberg Data License using c.

Retrieve the folder listing to see if the output fileexists using c.

The output file getdataoutput.out is available.

Bloomberg Data License Request Builder

Save the output file to the current folder. The firstargument is the name of the generated output file from the Bloomberg DataLicense server. The second argument is the name of the saved fileon the local machine.

The current folder contains the output file getdataoutput.out.

If the file is encrypted, run the Bloomberg DataLicense decryption software. You can download the decryption softwarefrom Bloomberg. For questions, contact Bloomberg.

Import Bloomberg Data into MATLAB

Convert the contents of the output file to a MATLAB® structureusing the sample function bdlloader.

d is a structure with these fields:

  • Output file header information

  • Security identifier

  • Return code

  • Number of fields requested and received

  • Open price

  • Last price

  • High price

  • Low price

  • Date of last close

To access the code for bdlloader, see bdlloader.m.

Bloomberg Data License Request Builder

Display the output file header information.

Close Bloomberg Data License Connection

See Also

bdl | close | dir

Related Examples

More About

Retrieve Data Using Bloomberg Data License

Bloomberg Data License Request Builder License

This example shows how to retrieve Bloomberg® DataLicense data with a request file using a Bloomberg Data Licenseconnection. To create a successful Bloomberg connection, see Connect to Bloomberg.To access the code for this example, enter edit BloombergDataLicenseWorkflow.m.

Connect to Bloomberg Data License

Create the Bloomberg Data License connection c.This code assumes the following:

  • The Bloomberg Data License SFTP server loginname is 'xxxxx'.

  • The Bloomberg Data License SFTP server passwordis 'xxxxxxxx'.

  • The Bloomberg Data License SFTP server name is 'dlsftp.bloomberg.com'.

  • The Bloomberg Data License SFTP port number is 30206.

  • The decryption code is 'nAcLeZ'.

bdl connects to Bloomberg Data Licenseat port number 30206 with password authentication.

Request Bloomberg Data File

Create a Bloomberg Data License request file getdatarequest.req usingthe Bloomberg Data License Request Builder. Submit the requestfile to Bloomberg Data License using c.

Bloomberg Data License Request Builder

Retrieve the folder listing to see if the output fileexists using c.

The output file getdataoutput.out is available.

Save the output file to the current folder. The firstargument is the name of the generated output file from the Bloomberg DataLicense server. The second argument is the name of the saved fileon the local machine.

Bloomberg Data License Request Builder

Bloomberg Request Builder Manual

The current folder contains the output file getdataoutput.out.

Bloomberg Data License Request Builder

If the file is encrypted, run the Bloomberg DataLicense decryption software. You can download the decryption softwarefrom Bloomberg. For questions, contact Bloomberg.

Bloomberg Data License Request Builder Registration

Import Bloomberg Data into MATLAB

Convert the contents of the output file to a MATLAB® structureusing the sample function bdlloader.

d is a structure with these fields:

  • Output file header information

  • Security identifier

  • Return code

  • Number of fields requested and received

  • Open price

  • Last price

  • High price

  • Low price

  • Date of last close

To access the code for bdlloader, see bdlloader.m.

Display the output file header information.

Close Bloomberg Data License Connection

See Also

bdl | close | dir

Bloomberg Data License Request Builder Site

Related Examples

Bloomberg Data License Request Builder Job

More About