Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

trpdata

Total return price series data

Syntax

[prc,act,div] = trpdata(y,s,d1,d2,p)

Description

[prc,act,div] = trpdata(y,s,d1,d2,p), where y is the Yahoo!® connection handle, s is the security character vector, d1 is the start date, d2 is the end date, and p is the periodicity flag for Yahoo!, generates a total return price series. prc is the price, act is the action, and div is the dividend returned in the total return price series.

More About

collapse all

Tips

  • Data providers report price, action, and dividend data differently. Verify that the data returned by the trpdata function contains the expected results.

Was this topic helpful?