Returns the sum of all cash and relative dividend amounts between two dates. Dividends on the 'from' date are not included. Dividends on the 'to' date are included. It is permissible, but not very useful, to supply a to date before the from date, in which case a negative number may be returned.
(&self, from: Date, to: Date)
source not stored for this graph (policy: none)