Calculates the effective interest rate when an investment is bought for one value and sold for another where no interest or dividends were generated by the investment.
INTRATE(buydate: String, selldate: String, buyprice: Number, sellprice: Number, basis: String = us_nasd) => Number
The date of purchase of the investment.
The date of sale of the investment.
The price at which the investment was purchased.
The price at which the investment was sold.
Method to use for counting days per month/year:
date1 = "2010-01-02T13:06:15+03:00"date2 = "2019-12-31T13:06:15+03:00"date3 = "2009-01-31T13:06:15+03:00"date4 = "2023-10-31T13:06:15+03:00"date5 = "2009-01-30T13:06:15+03:00"date6 = "2023-10-30T13:06:15+03:00"date7 = "2009-01-31T13:06:15+03:00"date8 = "2023-10-30T13:06:15+03:00"