Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Yield to Maturity or Bond Yield

Featured Replies

  • Newbies

Has anyone created a custom function to find the Yield to Maturity of a bond?

There is a function in Excel named Yield(). It takes the following parameters:

Settlement Date

Maturity Date

Coupon Rate

Price per $100 of Face amount

Redemption per $100 of Face amount (this is usually 100)

Frequency of coupon payments per year (usually 2 payments per year)

Basis (Whether the year is calculated at 360 days, 365 days or actual number of days)

The function in Excel uses trial and error to find the Yield. It calculates to the 9th decimal place. The function has to use trial and error as this is the only way to do it. I have taken finance courses, and that is how it is taught. There is no other way to find the yield except through trial and error.

I am thinking that a custom recursive function could be built in Filemaker to do this, but I am not sure how to do it.

Currently, I export the information, then use an excel file with a macro to calculate the yield. Then I import the result.

If anyone has any ideas, it would be helpful.

IIUC, in order to calculate the yield, the function must iterate until the price based on the proposed yield value matches the given price. For this, you would first need to know how to calculate the bond price, given the required yield - which I believe can be done by a non-recursive calculation.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.