RustQuant icon indicating copy to clipboard operation
RustQuant copied to clipboard

Pricers: Re-work `instruments::bonds` module.

Open avhz opened this issue 2 years ago • 5 comments

Re-work bond pricing module once the foundations (such as calendars, day-counting, curves) are implemented.

avhz avatar Aug 24 '23 13:08 avhz

I am open to working on this

joaquinbejar avatar Jun 11 '24 06:06 joaquinbejar

Hi @joaquinbejar, thanks for the interest!

Which part are you keen to work on? The foundational stuff (time/date, schedules, etc) or the higher level pricing stuff ?

avhz avatar Jun 12 '24 06:06 avhz

Hi @avhz,

It's up to you. I think I can work in any area. Let me know what is a priority or blocker, and I'll do my best.

joaquinbejar avatar Jun 12 '24 15:06 joaquinbejar

In order to implement the pricers in a meaningful/useful way, we need the foundational stuff.

In particular a decent amount of work is needed in the time module, and we also need the following two issues:

  • #188
  • #141

In regards to the time module, ideally we need to be able generate schedules (of cashflows) that can be used in conjunction with a model and instrument in order to price the instrument.

At a high level, the idea would be something like:

Screenshot 2024-06-12 at 22 27 40

The time module kinda falls into both the Instrument and Market parts, and those two are the priority I'd say.

You're of course welcome to pick whatever interests you most, or if you have suggestions around implementation feel free to let me know.

avhz avatar Jun 12 '24 20:06 avhz

Let's start with the time module cashflow schedules, then

joaquinbejar avatar Jun 14 '24 10:06 joaquinbejar