r/rust • • Aug 24 '23

RustQuant: looking for contributors.

My library RustQuant has grown a little bit and has received some contributions here and there which is awesome.

This is simply a post to try to find some other people who are experienced (or interested) in quantitative finance and would like to contribute to the project as I currently don't have the bandwidth to make regular feature updates myself.

I'd love to hear from anyone who would like to work on things like:

- Instrument/derivatives pricing.
- Model calibration/parameter estimation.
- Python bindings.
- Autodiff.
- Statistics/simulation/scientific computing in general.
- Implementing term structures.

I would like it to be more practical than 'academic', so ensuring real-world problems are accounted for such as date/time is important to the project.

You can see issues here and download the library from https://crates.io/crates/RustQuant.

31 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/RustQuant Nov 02 '23

Thanks a lot for your comment, I share your opinions. RustQuant has kind of been an aggregation of a few (somewhat) related interests, hence the inclusion of regression alongside instrument pricing. Maybe an unintentional mix of P-quant and Q-quant..

I've looked at QuantLib on and off, but I question whether some of the added complexity is necessary/worth it. e.g. is a Quote type really needed?

Nevertheless, my attention has recently shifted to starting a Curves module, and also improving the Time module, both for the reasons you mentioned. But I am very limited in my spare time at the moment though unfortunately.

I was not aware of QLNet though, so thanks for the tip.

I do disagree with autodiff not being relevant for quant finance though, as it it widely used for XVAs, and Greeks in general.

1

u/unski_ukuli Nov 02 '23

Well kinda depends if you want to have Quote type. I think it is included in quantlib to make it work better in production environments where you would probably want to update the quote values in real time. More important are the rate helpers as something like that is needed to do the yield curves well. For example in qlnet here https://github.com/amaggiulli/QLNet/blob/develop/src/QLNet/Termstructures/Yield/Ratehelpers.cs they encapsulate a lot of instrument spesific conventions and handle the date modifications if the fixing is a holiday.

Don’t really disagree with the usefullnes of autodiff, but my point was maybe more about spesialization. There are a couple off autodiff packages already for rust but no complete quantlib alternative.