Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend Monte-Carlo valuation to general contracts #14

Closed
wants to merge 4 commits into from

Conversation

drsk0
Copy link

@drsk0 drsk0 commented Apr 16, 2023

This extends the Monte-Carlo model to be able to price all well-formed contracts. The abstract model is extended as well. The implementation seems straightforward, but I'd really appreciate a review from someone with more financial experience than me.

It would be nice to add some golden tests for this. I'm happy to add them if you could provide me with contracts for which the value has been determined with a correct MC implementation.

This extends the monte carlo model to be able to price all well-formed
contracts. The abstract model is extended as well.
@aviks
Copy link
Member

aviks commented May 20, 2023

Nice, this looks good. As you say, would be good to add some tests to this before merging.

@drsk0
Copy link
Author

drsk0 commented May 21, 2023

Great! I'll try to find contracts without analytic solutions for which the valuation is known and add them to the golden tests. Let me know if you have any examples that you'd like to add.

@drsk0
Copy link
Author

drsk0 commented Sep 12, 2023

Would you be happy with just golden tests? To get some ground truth in this case proves to be more complicated than I thought, I would somehow have to get access to contracts and their valuation, for which I also know the correct model implementation in Miletus.

A simple implementation of value observables, i.e. other contracts.
This adds support for the valuation of simple barrier options via monte
carlo.
This change allows for different underlyings to have different
startprices. For this, `Singlestock` now allows for an identifier and a
model contains a map from identifiers to startprices.
@drsk0
Copy link
Author

drsk0 commented Nov 8, 2023

Closing this PR for the time being due to inactivity.

@drsk0 drsk0 closed this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants