WebCab Bonds for COM v2.01

FixedInterestBonds.CurrentPrice Method 

Calculates the current price of a fixed-interest bond where there is an integer number of years until the redemption of the bond.

public double CurrentPrice(
   double coupon,
   double grossRedemption,
   DateTime evaluationDate,
   DateTime redemptionDate,
   string businessCalendarName
);

Parameters

coupon
Annual coupon of the bond.
grossRedemption
The gross redemption yield of the fixed-interest bond.
evaluationDate
The evaluation date.
redemptionDate
The redemption date of the bond.
businessCalendarName
The name of one of the implemented business calendars, "London" by default.

Return Value

The current price of the fixed-interest bond.

See Also

FixedInterestBonds Class | WebCab.COM.Finance.Bonds Namespace