BookmarkSubscribeRSS Feed
nickf314
Calcite | Level 5

Hello-

I have a dataset of bonds that have been traded in a seconday market, and these bonds pay a coupon (interest) payment every 6 months until they mature. I would like to determine the date of the first coupon payment after the trade occurs. I know the following:

-the date of the first ever coupon date in the lifetime of the bond

-the date that the bond traded

 

Is there a SAS function that wil tell me, for each bond, what the date of the next coupon payment immediately following the trade is (by somehow comparing the first coupon payment date, the trade date, and the fact that the bonds pay a coupon every 6 months)? Any help is appreciated. Thanks!

 

Nick

 

1 REPLY 1
ballardw
Super User

I am NOT a finance guru so I cannot answer directly. There is a datastep function called FINANCE that has as an argument many common finance activities. I suspect that using the results from one or more of the COUP elements you can generate the pieces you need. I'm not sure how COUPDAYSNC, COUPNCD, COUPPCD etc relate as they are defined in terms of "settlement date" which I'm not sure how that relates to your trade date. Perhaps you have better understanding there.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 954 views
  • 0 likes
  • 2 in conversation