daycount
Day count, in finance, refers to the convention used to determine the fraction of a year between two dates for interest accrual, pricing, and settlement calculations. The day count fraction converts calendar days into a year-long equivalent so that interest, yields, and cash flows can be computed consistently. Different markets and products specify different conventions, and the choice can materially affect amounts over time.
The most common conventions include Actual/Actual, Actual/360, Actual/365 (Fixed), and 30/360 with several variants. Actual/Actual uses
The day count convention affects accrued interest, coupon calculations, and pricing. Since different conventions yield different