Documentation

Actus.Contract.Engine

Cyclic schedule for one event family, as Times.

  • no cycle and no anchor ⇒ the event is not scheduled ([]);
  • no cycle but an explicit anchor ⇒ a single occurrence at the anchor;
  • a cycle ⇒ the cyclic times up to md, with the anchor defaulting to IED + cycle when not given.
Equations
Instances For

    Maturity date: the explicit maturityDate, or — for amortizers that omit it — the redemption-count-derived t⁻ + ⌈NT/PRNXT⌉·PRCL (§7.2 Md init), where t⁻ is the principal-redemption anchor (or IED + PRCL). This is the LAM formula; NAM/ANN's interest-adjusted period count is approximated by it.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Build the full event schedule for a lending contract. includePR adds the principal-redemption cycle (LAM/NAM/ANN). mEOD/tEOD mark the maturity / termination as end-of-day (23:59:59): the structure uses the written date, but those settlement events are rolled to the next midnight.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Maturity date on the Time axis (0 if it cannot be determined).

        Equations
        Instances For

          Stamp each cash flow on its business-day settlement date. For CS* conventions the schedule (and hence all accruals) used the unshifted date; this applies the deferred shift to the event timestamp only. Identity for SC*/NULL.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            When the contract is purchased mid-life, the analyzing party's cash flows start at the purchase date: drop everything strictly before it (the state still evolved through those events, but they belong to the seller).

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Number of PR events in a schedule.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Shift a date onto a business day per the contract's business-day convention and calendar (identity when no convention is set).

                Equations
                Instances For

                  Order a cashflow list by (time, event-type priority).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For