Skip navigation links

Package com.imsl.finance

Financial computations.

See: Description

Package com.imsl.finance Description

Financial computations.

Users can perform financial computations by using pre-defined data types. Most of the financial functions require one or more of the following:

The Bond class provides constants to indicate the number of payments for each year.

Class member Meaning
Bond.ANNUAL One payment per year (Annual payment)
Bond.SEMIANNUAL Two payments per year (Semi-annual payment)
Bond.QUARTERLY Four payments per year (Quarterly payment)

The Finance class provides constants to indicate when payments are due.

Class member Meaning
Finance.AT_END_OF_PERIOD Payments are due at the end of the period
Finance.AT_BEGINNING_OF_PERIOD Payments are due at the beginning of the period

The DayCountBasis class provides constants to indicate the type of day count basis. Day count basis is the method for computing the number of days between two dates.

Class member Day count basis
DayCountBasis.BasisNASD US (NASD) 30/360
DayCountBasis.BasisActualActual Actual/Actual
DayCountBasis.BasisActual360 Actual/360
DayCountBasis.BasisActual365 Actual/365
DayCountBasis.Basis30e360 European 30/360

Additional Information

In preparing the finance and bond functions we incorporated standards used by SIA Standard Securities Calculation Methods.

More detailed information on finance and bond functionality can be found in the following manuals:

Skip navigation links

Copyright © 2020 Rogue Wave Software. All rights reserved.