Microservice : ASL

Returns the value of a single life annuity.

This is an interactive microservice.

Inputs

Function NameValueExample
Table nameSelect table from dropdown list
Interest rateDouble, use 0.05 for 5%
Increase rateDouble, use 0.05 for 5 %
Age payable fromInteger eg 65
Guarantee periodInteger eg 5


Results

Output NameValueVariable Name
Annuity Single LifeASL

RunTime Information

Error message
Microservice not called

JSON text
---

Calculation audit
---

Function Information


Function name
ASL
Description
Single life annuity
API sample signature (new window)
https://ptxapp.azurewebsites.net/api/ASL/?GET&1DMortalityTable=PMA92_B_1977&ConstantInterestRate=0.03&ConstantInPaymentIncreaseRate=0.033&AgeFrom=60&GuaranteePeriod=5
Inputs required
1DMortalityTable [String eg PMA92_B_1977],
ConstantInterestRate [Rate as a Double eg use 0.03 for 3%],
ConstantInPaymentIncreaseRate [Rate as a Double eg use 0.033 for 3.3%],
AgeFrom [Integer],
GuaranteePeriod [Integer]

Outputs
json, class, ASL [Double]
Version number
Beta V0.0.2 20210429
Technical notes
PTX.App microservice.
Single life annuity, continuous payment. This version uses a fixed discount and increase rate.





PenTechX.Com Back to the Lab


This product is a work in progress and should be treated as such. Whilst all reasonable efforts have been made to ensure the accuracy of this document, errors may sometimes occur. Please report any documentation issues to RPM IT Consulting as soon as possible. RPM IT Consulting and PenTechX accepts no liability arising from inaccuracies or omissions in this website, blog and attached documents, and reserves the right to revise the contents without notice.

Terms And Conditions


API source : [BETA] [HTML]
PenTechX is a trading name of RPM IT Consulting Ltd.

 © 2025 - PenTechX, PTX.Lab Web Application : PenTechX and RPM IT Consulting Ltd