Documentation

Actus.IO.Parse

A JSON number, or a numeric string ("1000.0"), to Float.

Equations
Instances For

    ISO-8601 date(-time) string "YYYY-MM-DD[THH:MM:SS]" to LocalTime. (The 23:59:59 end-of-day convention extends accrual to the next midnight but the event is still stamped on the written date, so the date part is taken as-is.)

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

      Is the timestamp end-of-day (…T23:59:59)?

      Equations
      Instances For

        Like parseDate, but a 23:59:59 end-of-day timestamp rolls to the next midnight (used for event dates so computed and expected events align).

        Equations
        Instances For

          ACTUS cycle string, e.g. "P1ML1" (period 1 Month, long stub) or the older "1M-" form, to Cycle. The leading P and a trailing stub marker (L0/L1, or a +/- suffix) are both accepted; L1 or + mark a long stub.

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

                                      Decode a terms object into ContractTerms Float.

                                      Decode a terms object given as a raw JSON string.

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

                                          Build a RiskFactorEnv from a test case's dataObserved, wiring the rate-reset market series (Oʳᶠ(RRMO,·)). Settlement-currency factor is 1 (single-currency reference cases); prepayment/annuity default to none.

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

                                            One expected event from eventsObserved.

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

                                                One actus-tests entry.

                                                Instances For

                                                  Decode one test entry: its terms, horizon to, and expected events (results, falling back to eventsObserved).

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

                                                    Decode a whole actus-tests file: a JSON object keyed by test id.

                                                    Equations
                                                    Instances For

                                                      Decode a whole actus-tests file given as a raw JSON string.

                                                      Equations
                                                      Instances For

                                                        Run the lending engine appropriate to the parsed contractType. Returns [] for contract types outside the implemented lending family.

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

                                                          Parse a test case and compute its cashflows under its own observed risk factors — the full file → cashflows pipeline.

                                                          Equations
                                                          Instances For