Skip to content

Commit

Permalink
DOC: move pricing mechanismn
Browse files Browse the repository at this point in the history
  • Loading branch information
attack68 committed Aug 8, 2023
1 parent 7873631 commit 9297b52
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/source/g_mechanisms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ Pricing Mechanisms
Summary
**************************

*Rateslib's* API design for valuing and obtaining risk sensitivities of *Instruments*
follows the first two :ref:`pillars of its design philosophy:<pillars-doc>`

1) Maximise flexibility : minimise user input,
2) Prioritise risk sensitivities above valuation.

This means the arguments required for the
:meth:`Instrument.npv()<rateslib.instruments.BaseMixin.npv>`,
:meth:`Instrument.delta()<rateslib.instruments.Sensitivities.delta>` and
:meth:`Instrument.gamma()<rateslib.instruments.Sensitivities.gamma>`


The pricing mechanisms in ``rateslib`` require ``Instruments`` and
``Curves``. ``fx`` objects (usually ``FXForwards``) may also be required
(for multi-currency instruments), and these
Expand Down
2 changes: 2 additions & 0 deletions docs/source/i_about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ early 2024 under the working title of *Coding Interest Rates: FX, Swaps and Bond
:target: https://www.amazon.com/Pricing-Trading-Interest-Rate-Derivatives/dp/0995455538
:width: 92

.. _pillars-doc:

Five Pillars of Rateslib's Design Philosophy
*********************************************

Expand Down

0 comments on commit 9297b52

Please sign in to comment.