Download Datafeed Toolbox User`s Guide

Transcript
3
Data Provider Workflows
• The IP address serverip for the machine running the Bloomberg B-PIPE process is
'111.11.11.112'.
• The port number is 8194.
authorizationtype = 'OS_LOGON';
applicationname = '';
serverip = {'111.11.11.112'};
portnumber = 8194;
c = bpipe(authorizationtype,applicationname,serverip,portnumber)
c =
bpipe with properties:
appauthtype:
authtype:
appname:
user:
session:
ipaddress:
port:
timeout:
''
'OS_LOGON'
[]
[1x1 com.bloomberglp.blpapi.impl.aT]
[1x1 com.bloomberglp.blpapi.Session]
{'111.11.11.112'}
8194.00
0
bpipe connects to Bloomberg B-PIPE at the port number 8194. bpipe creates the
Bloomberg B-PIPE connection object c.
Close the B-PIPE connection.
close(c)
Create the Bloomberg Data License Connection
Create the Bloomberg Data License connection. This code assumes the following:
• The Bloomberg Data License SFTP server login name is 'dl338'.
• The Bloomberg Data License SFTP server password is 'Lb=cYaZ'.
• The Bloomberg Data License SFTP server name is 'dlsftp.bloomberg.com'.
• The Bloomberg Data License SFTP port number is 30206.
• The decryption code is 'pDyJaV'.
username = 'dl338';
password = 'Lb=cYaZ';
3-4