bloomberg.stockticker - Trades with volumes (demonstration)
Syntax
stockticker(InputList)
Arguments
| InputList | Fields from which you request real-time data. |
Description
stockticker(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.
Examples
Retrieve a list of trades with volumes for each requested security:
b = bloomberg;
d = fetch(b, {'IBM US Equity', 'EMC US Equity', 'NTAP US Equity'}, ...
'REALTIME', {'Last_Trade', 'Volume'}, 'stockticker');
** EMC US Equity ** 0 @ 12.65 08-Apr-2005 10:24:57
** IBM US Equity ** 0 @ 88.17 08-Apr-2005 10:24:57
** NTAP US Equity ** 0 @ 29.02 08-Apr-2005 10:24:57
** EMC US Equity ** 200 @ 12.66 08-Apr-2005 10:24:58
** EMC US Equity ** 1400 @ 12.65 08-Apr-2005 10:24:58
** EMC US Equity ** 3100 @ 12.66 08-Apr-2005 10:25:00
** IBM US Equity ** 1300 @ 88.17 08-Apr-2005 10:25:00
.
.
.
See Also
bloomberg.pricevol, bloomberg.showtrades
 | bloomberg.showtrades | | bloomberg.stop |  |
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.