2 Replies Latest reply on Aug 13, 2018 7:43 AM by Okechukwu Ossai

    How to calculate cumulative return and display it?

    Yun Feng

      Hi, I have some data like this:

      标题 1标题 2标题 3
      DATESTOCKRETURN
      20180101A0.02
      20180102A0.03
      20180101B0.04
      20180102B-0.02

       

      How to calculate cumulative return for different stock, like STOCK A: (1 + 0.02)(1 + 0.03) - 1 = 0.0506. And display each stock return in bar plot?

       

       

      Thanks!