| Datafeed Toolbox™ | ![]() |
pricevol(InputList)
| InputList | Fields from which you request real-time data. |
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.1 | Bloomberg handle |
| InputList(2) = 1 | Event ID |
| InputList(3) = ('Security') | Security string |
| InputList(4) = 1 | Cookie |
| InputList(5) = 2 | Field number ID |
| InputList(6) = {[43.58]} | Return data for the given tick |
| InputList(7) = 0 | Status |
| InputList(8) | Structure containing the above fields |
| InputList(9) = 'Data' | Event type |
The input argument InputList(8) contains the information required to process real-time events.
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');

bloomberg.showtrades, bloomberg.stockticker
![]() | bloomberg.isconnection | bloomberg.showtrades | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |