Products & Services Solutions Academia Support User Community Company

Learn more about Datafeed Toolbox   

bloomberg.pricevol - Price and volume (demonstration)

Syntax

pricevol(InputList)

Arguments

InputListFields from which you request real-time data.

Description

pricevol(InputList) demonstrates the Bloomberg real-time data import functionality, where InputList is an input list of elements as described in the following table.

InputList(1) = COM.Bloomberg.Data.1Bloomberg handle
InputList(2) = 1Event ID
InputList(3) = ('Security')Security string
InputList(4) = 1Cookie
InputList(5) = 2Field number ID
InputList(6) = {[43.58]}Return data for the given tick
InputList(7) = 0Status
InputList(8) Structure containing the previous fields
InputList(9) = 'Data'Event type

The input argument InputList(8) contains the information required to process real-time events.

Examples

Display the most recent Trade and Volume values in a figure window and show the most recent trade with volumes:

b = bloomberg;
d = fetch(b, 'ABC US Equity', 'REALTIME', ...
{'Last_Trade', 'Volume'}, 'pricevol');

See Also

bloomberg.showtrades, bloomberg.stockticker

  


Free Interactive Computational Finance CD

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-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS