Skip to content
Snippets Groups Projects
  1. Nov 25, 2023
    • Reinhold Kainhofer's avatar
      Fix Docs syntax error · a7ec5457
      Reinhold Kainhofer authored
      a7ec5457
    • Reinhold Kainhofer's avatar
      Implement rounding intermediate values using the new RoundingHelper class. · d25482c2
      Reinhold Kainhofer authored
      * Add the $Hooks$Rounding parameter to hold the RoundingHelper
        object (in the constructor, a named list of rounding specs
        can be given, which will be coverted to a RoundingHelper by
        the InsuranceTariff constructor).
      * Use the helper in most places where rounding intermediate values
        makes sense
      * Each use of the rounding helper is indicated by a separate ID, so
        each rounding occurrence can (and must) be configured separately
      * By default, no rounding occurs, unless a rounding accuracy (nr of
        digits) was explicitly configured for the ID
      * Add documentation
      d25482c2
  2. Nov 21, 2023
  3. Nov 06, 2023
  4. Oct 30, 2023
  5. Oct 27, 2023
  6. Oct 22, 2023
  7. Oct 21, 2023
  8. Oct 20, 2023
  9. Oct 19, 2023
  10. Sep 13, 2023
  11. Sep 12, 2023
  12. Jul 20, 2023
  13. Feb 11, 2023
    • Reinhold Kainhofer's avatar
      Implement premiumRefundPeriod · 69df5949
      Reinhold Kainhofer authored
      For deferred contracts, by default the premium refund only applies during the deferral period, for all other contracts during the whole contract. This can be overwritten with the premiumRefundPeriod parameter (implemented as a function premiumRefundPeriod.default).
      
      Fixes #86
      69df5949
  14. Jan 29, 2023
  15. Jan 22, 2023
    • Reinhold Kainhofer's avatar
      Fixes for sumInsured calculation, addExtension · 752dbb85
      Reinhold Kainhofer authored
      * Fix sumInsured calcualtion from given premium
      * unittest for addExtension with different tariff
      * Fix policyPeriod for main contract with multiple blocks (e.g. addExtension)
      * Clean up unit tests
      752dbb85
    • Reinhold Kainhofer's avatar
      Implement contract$addExtension to add a contract extension after maturity... · ba38b54a
      Reinhold Kainhofer authored
      Implement contract$addExtension to add a contract extension after maturity (both premium-free and with regular premiums)
      
      * Allow premiumPeriod=0, indicating no premiums are paid (so an initial capital must be given)
      * Fix aggregating values of child-blocks that go beyond the main contract's duration
      * move sumInsured calculation to its own function for cleaner premium calculation. That function will be called earlier, so the CF data frames already use the correct sumInsured
      * The additional_capital cash flow is no longer relative to the sumInsured, but gives the absolute capital
      ba38b54a
  16. Jan 19, 2023
  17. Jan 12, 2023
Loading