Calculate year fractions for multiple date pairs in a single request using the same day count convention. Efficient for processing multiple coupon periods, calculating accruals for a portfolio of bonds, or batch interest calculations. Returns results in the same order as input.
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Array of date pairs [[start1, end1], [start2, end2], ...] in ISO format
2 elements[
["2024-01-01", "2024-07-01"],
["2024-07-01", "2025-01-01"],
["2025-01-01", "2025-07-01"]
]Day count convention to apply to all date pairs
ACT/360, ACT/365, ACT/365 Actual, ACT/ACT ISDA, 30/360, 30E/360, 30E/360 ISDA, 30/360 European, Business/252 "30/360"