Re:QuantMath: Financial maths library for risk-neutral prici...
by surfsvammel on Sunday January 17, 2021 @03:31PM
(#25814637)
Interesting. I will keep an eye on this. Two comments though: trying to handle corporate actions, instruments, pricing, risk as well as settlement in one library might be a bit too ambitious. Maybe it would be better to focus on just the pricing, or the risk part of things?
The other comment, is that I would probably split products from the pricing. I looked at one of the product definitions and it seemed to be intertwined with pricing. Products and pricing can both be complex in an of themselves, and they are not necessarily conceptually coupled. Just my two cents.
Re:QuantMath: Financial maths library for risk-neutral prici...
by fancyfredbot on Sunday January 17, 2021 @03:12PM
(#25814458)
Great to see Morgan Stanley allow quants to work on open source projects directly related to their day job. I do not think all banks are as open minded!
Re:QuantMath: Financial maths library for risk-neutral prici...
by orange_tee on Sunday January 17, 2021 @03:19PM
(#25814522)
I am guessing but since this is for pricing and risk, it's a very different game from trading.
In this particular situation they prefer to have a reliable piece of software that is shared and used by all.
Just guessing.
Re:QuantMath: Financial maths library for risk-neutral prici...
by twic on Monday January 18, 2021 @07:30AM
(#25821105)
Fun, but seems extremely limited. I can't see a way to bootstrap a yield curve for interest rates, which is the first thing i would need to do. The standard model for curves seems to bake in assumptions about day count convention and interpolation:
Re:QuantMath: Financial maths library for risk-neutral prici...
by arthurcolle on Sunday January 17, 2021 @06:31PM
(#25816384)
Nice, this is great. I was recently looking for some QuantLib bindings for Rust and its not really there yet.
There's a great book called Implementing QuantLib by Fabio Ballabio that is a really nice introduction to QuantLib for those that are interesting. It is really nice, has lots of term structure data structures built in and some datetime abstractions useful for pricing/risk calcs, and supports lots of financial instruments, like CDS, vanilla/exotic options, bond calculations. Just wonderful.
https://github.com/MarcusRainbow/QuantMath/blob/b51ffacc2cfe...
There is no provision for swaps or futures. Perhaps this is not aimed at rates use cases?
There's a great book called Implementing QuantLib by Fabio Ballabio that is a really nice introduction to QuantLib for those that are interesting. It is really nice, has lots of term structure data structures built in and some datetime abstractions useful for pricing/risk calcs, and supports lots of financial instruments, like CDS, vanilla/exotic options, bond calculations. Just wonderful.
https://en.wikipedia.org/wiki/Mathematical_finance
https://en.wikipedia.org/wiki/Black%E2%80%93Scholes_model
https://en.wikipedia.org/wiki/Valuation_of_options
https://en.wikipedia.org/wiki/Binomial_options_pricing_model
https://en.wikipedia.org/wiki/Replicating_portfolio
https://en.wikipedia.org/wiki/Greeks_(finance)
https://en.wikipedia.org/wiki/Delta_neutral