Skip to Main Content Skip to Search
Product Documentation

reuters.contrib - Contribute data to Reuters datafeed

Syntax

contrib(r,s,fid,fval)

Description

contrib(r,s,fid,fval) contributes data to a Reuters datafeed. r is the Reuters session object, and s is the RIC. Supply the field IDs or names, fid, and field values, fval.

Examples

Contribute data to the Reuters datafeed for the Reuters session object r and the RIC 'myric'. Provide a last trade price of 33.5.

contrib(r,'myric','trdprc_1',33.5)
 

Contribute an additional bid price of 33.8:

contrib(r,'myric',{'trdprc_1','bid'},{33.5,33.8})
 

Submit value 33.5 for field 6 ('trdprc_1'):

contrib(r,'myric',6,33.5)
 

Add the value 33.8 to field 22 ('bid'):

contrib(r,'myric',{6,22},{33.5,33.8})

See Also

reuters | reuters.addric | reuters.deleteric | reuters.fetch

  


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