Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Finance[YieldFromCleanPrice] - calculate the yield of a bond given its clean price
Calling Sequence
YieldFromCleanPrice(bond, price, compounding, opts)
Parameters
bond
-
fixed- or floating-rate bond data structure; bond
price
non-negative constant; bond's clean price
compounding
Simple, Continuous, Compounded, or SimpleThenCompounded; the underlying compounding type
opts
equations of the form option = value where option is one of accuracy, iterations, or evaluationdate; specify options for the YieldFromCleanPrice command
Description
The YieldFromCleanPrice command calculates a bond's yield based on the specified clean price.
The parameter bond can be either a fixed-rate bond or a floating-rate bond.
The parameter price is the desired clean price.
The (optional) parameter compounding specifies what type of compounding will be used to calculate the yield. By default, Continuous compounding is assumed.
Options
accuracy = positive -- This option specifies the desired accuracy of the result. The default value is 1e-9.
evaluationdate = a string containing a date specification in a format recognized by ParseDate or a date data structure -- This option specifies the evaluation date. By default this is set to the global evaluation date (see EvaluationDate).
iterations = posint -- This option specifies the maximum number of iterations. The default value is 100000.
Compatibility
The Finance[YieldFromCleanPrice] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Consider a zero-coupon bond with a face value of 100 maturing in five years.
Consider a 3-year bond with a face value of 100 that pays a fixed coupon of 3% issued on March 15, 2005.
We will use the Thirty360European day counter.
Calculate the bond's clean price given its yield and vice-versa.
See Also
Finance[AccruedAmount], Finance[CleanPrice], Finance[DayCounter], Finance[DirtyPrice], Finance[FixedCouponBond], Finance[FloatingRateBond], Finance[FormatDate], Finance[ParseDate], Finance[YearFraction], Finance[YieldFromDirtyPrice], Finance[ZeroCouponBond]
Download Help Document