diff options
| -rw-r--r-- | python/populate_risk_numbers.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/populate_risk_numbers.py b/python/populate_risk_numbers.py index a19d4231..4e8c3f3d 100644 --- a/python/populate_risk_numbers.py +++ b/python/populate_risk_numbers.py @@ -23,6 +23,11 @@ def get_attach_from_name(index_type, series): attach = [0, 15, 25, 35, 100] elif index_type.lower() == "xo": attach = [0, 10, 20, 35, 100] + elif index_type.lower() == 'eu': + if series >= 21: + attach = [0, 3, 6, 12, 100] + else: + attach = [0, 3, 6, 9, 12, 22, 100] return attach def convert(s): |
