Documentation

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 string, 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.

See Also

|

Was this topic helpful?