Documentation Center

  • Trial Software
  • Product Updates

fieldinfo

Bloomberg V3 field information

Syntax

Description

example

d = fieldinfo(c,f) returns field information on Bloomberg® V3 connection object c given a field mnemonic f.

Examples

expand all

Retrieve Information for the Bloomberg Last Price Field

Create a Bloomberg connection.

c = blp;

Retrieve the Bloomberg field information for the LAST_PRICE field.

d = fieldinfo(c,'LAST_PRICE');

Display the returned Bloomberg information.

celldisp(d)
d{1} =
 
Last price for the security. Field updates in realtime.

Equities:
  Returns the last price provided by the exchange. For securities that trade Monday through Friday, this field will be populated only if such information has been provided by the exchange in the past 30 trading days. For all other securities, this field will be populated only if such information was provided by the exchange in the last 30 calendar days. This applies to common stocks, receipts, warrants, and real estate investment trusts (REITs).
...
 
d{2} =
 
RQ005
 
 
d{3} =
 
LAST_PRICE
 
 
d{4} =
 
Last Trade/Last Price
 
 
d{5} =
 
Double

The columns in d contain the following:

  • Field help with the Bloomberg descriptive information

  • Field identifier

  • Field mnemonic

  • Field name

  • Field data type

Close the Bloomberg connection.

close(c);

Input Arguments

expand all

c — Bloomberg connectionconnection object

Bloomberg connection, specified as a connection object created using blp.

f — Field mnemonicstring

Field mnemonic, specified as a string that is used to retrieve Bloomberg field information.

Data Types: char

Output Arguments

expand all

d — Return datacell array

Return data, returned as an N-by-5 cell array containing the field help, field identifier, field mnemonic, field name, and field data type.

See Also

| | | | |

Was this topic helpful?