Skip to content

Commit 9247421

Browse files
committed
Currency table
1 parent 02b7428 commit 9247421

9 files changed

Lines changed: 564 additions & 81 deletions

File tree

ccy/core/currency.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from typing import Any, Callable, NamedTuple
55

66
from .data import make_ccys
7+
from .daycounter import DayCounter
78

89
usd_order = 5
910

@@ -31,8 +32,8 @@ class ccy(NamedTuple):
3132
name: str
3233
rounding: int
3334
default_country: str
34-
fixeddc: str = "Act/365"
35-
floatdc: str = "Act/365"
35+
fixeddc: DayCounter = DayCounter.ACT365
36+
floatdc: DayCounter = DayCounter.ACT365
3637
fixedfreq: str = ""
3738
floatfreq: str = ""
3839
future: str = ""

0 commit comments

Comments
 (0)