Calculate the year fraction between two dates using a specified day count convention. The year fraction is used to calculate accrued interest, coupon payments, and discount factors. Different conventions are used in different markets (money markets use ACT/360, bonds use 30/360, etc.).
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Start date of the period in ISO format (YYYY-MM-DD)
"2024-01-15"
End date of the period in ISO format (YYYY-MM-DD)
"2024-07-15"
Day count convention to use. Common conventions: ACT/360 (money markets), ACT/365 (UK gilts), 30/360 (US corporate bonds), ACT/ACT ISDA (US Treasury)
ACT/360, ACT/365, ACT/365 Actual, ACT/ACT ISDA, 30/360, 30E/360, 30E/360 ISDA, 30/360 European, Business/252 "ACT/360"