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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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