Skip to content

ISDA day-count conventions with year-fractions and daycounts

Notifications You must be signed in to change notification settings

miradulo/isda_daycounters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

isda_daycounters

ISDA day-count conventions with year-fractions and day-counts


A very minimal ISDA day-count function collection, for the conventions

  • Actual/360
  • Actual/365
  • Actual/Actual
  • Thirty/360
  • ThirtyE/360 (Eurobond)
  • ThirtyE/360 (ISDA)

as defined in the 2006 ISDA definition guidelines and 2008 ISDA definitions.

Each day count convention is placed in its own module with both day_count() and year_fraction() functions, to leverage Python's treatment of modules as first-class objects.

Why?

For a small instrument valuation tool I was working on in Python I needed ISDA-convention day counters, but didn't particularly feel like using Fincad or QuantLib Python bindings purely for day-count convention implementations for an otherwise independent project.


About

ISDA day-count conventions with year-fractions and daycounts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages