Skip to content

Commit 1dc5026

Browse files
committed
Use 2% as default risk-free rate fallback
1 parent 15aaf2a commit 1dc5026

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

investing_algorithm_framework/services/metrics/risk_free_rate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import logging
22

3-
# Default US 10-year Treasury yield approximation (4%)
4-
DEFAULT_RISK_FREE_RATE = 0.04
3+
# Default US 10-year Treasury yield approximation (2%)
4+
DEFAULT_RISK_FREE_RATE = 0.02
55

66
logger = logging.getLogger("investing_algorithm_framework")
77

0 commit comments

Comments
 (0)