MCPcopy Create free account
hub / github.com/MarcusRainbow/QuantMath / discounted_sum_from_base

Method discounted_sum_from_base

src/data/divstream.rs:364–386  ·  view source on GitHub ↗

Returns the NPV of all cash and relative dividend amounts up to the given date. We start counting from the base date. All amounts are discounted to the base date.

(&self, to: Date)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

discounted_sumMethod · 0.80
check_discounted_divsFunction · 0.80
forwardMethod · 0.80

Calls 1

cmpMethod · 0.45

Tested by 1

check_discounted_divsFunction · 0.64