| Contents | Index |
c = blp
c = blp(P,IP,etimeout)
c = blp makes a connection to the local Bloomberg V3 communications server. You must have a Bloomberg software license for the host on which the Datafeed Toolbox and MATLAB software are running.
c = blp(P,IP,etimeout) makes a connection to the local Bloomberg communications server. P is the port number and IP is the IP address of the local machine. etimeout is the time out value (in milliseconds), specifying how long the connection is attempted before timing out if the connection cannot be made.
Note If you have not used the blp function before, you will need to add the file blpapi3.jar to the MATLAB Java classpath. Use the javaaddpath function or edit your classpath.txt file. For more information, see Using Java Libraries from MATLAB. |
Establish a connection, c, to a Bloomberg data server:
c = blp
Establish a connection using the default port of 8194 and 'localhost' as the IP address, with a timeout value of 10 seconds.
c = blp([],[],10000)
blp.category | blp.close | blp.fieldinfo | blp.fieldsearch | blp.getdata | blp.history | blp.realtime | blp.timeseries
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |