This class is used to create and pass YieldTypes reported by Bond Lab analytics and reported to investors. It does not calculate yield to maturity rather it holds the value in decimal number, basis, and decimal string form.
YieldDecimala numeric value the yield to maturity in decimal number form
YieldBasisa numeric value the yield to maturity in basis form
YieldDecimalStringa character string the yield to maturity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.