Skip to content

Commit ed76bfc

Browse files
committed
insert conventions directly inside class
1 parent 1cd2117 commit ed76bfc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

quantlib/time/daycounters/actual_actual.pyx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ from . cimport _actual_actual as _aa
1717
from quantlib.time.schedule cimport Schedule
1818

1919
cdef class ActualActual(DayCounter):
20+
ISMA = Convention.ISMA
21+
Bond = Convention.Bond
22+
ISDA = Convention.ISDA
23+
Historical = Convention.Historical
24+
AFB = Convention.AFB
25+
Euro = Convention.Euro
2026

2127
def __init__(self, Convention convention=Convention.ISDA, Schedule schedule=Schedule.__new__(Schedule)):
2228
""" Actual/Actual day count

0 commit comments

Comments
 (0)