Two general formulae for many functions

This section is optional since it is quite complex in terms of mathematical expression. Skipping this section would not have any impact on the understanding of the other chapters. Thus, this section is for advanced learners. Up to now in this chapter, we have learnt the usage of several functions, such as pv(), fv(), nper(), pmt(), and rate() included in the SciPy module or numpy.lib.financial submodule. The first general formula is related to the present value:

Two general formulae for many functions

On the right-hand side of the preceding equation, the first one is the present value of one future cash flow, while the second part is the present ...

Get Python for Finance - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.