digital-asset / contingent-claims

Apache License 2.0
5 stars 0 forks source link

Introduce revisited valuation semantics #112

Closed matteolimberto-da closed 1 year ago

matteolimberto-da commented 2 years ago

This PR introduces a revisited fundamental asset pricing formula.

The existing one did the following:

The revisited FAPF does only the first step: map a claim to a stochastic process representing its value at time t. The process primitives that are used are the ones outlined in the PJ paper: exch, disc, observable (in the future also snell and absorb.

Moreover, we now handle the propagation of acquisition time, such that

There are still a couple of things to iron out, specifically

I would like to hear your feedback on this and also discuss whether we need support for printing out the formula in e.g. MathML like it's currently done for the existing fapf.

The tests can give you an idea of the output which is currently generated.

matteolimberto-da commented 2 years ago

A nice POC would be to implement a bond pricer in e.g. Typescript that

matteolimberto-da commented 1 year ago

Will close this one and open in Daml Finance