Compute holding period return from buy and sell prices and dividends received.
输入买入价、卖出价与期间股息,求持有期收益率。