From 9636471b87577e2a34d9191601c365622195cb7f Mon Sep 17 00:00:00 2001 From: Quentin Defenouillere Date: Fri, 6 Sep 2019 11:00:22 +0200 Subject: [PATCH] [weboob.capabilities.bank] Add new Investment attributes SRRI (level of risk) from 1 to 7 Asset category (string like 'OPCVM' or 'SCPI') Recommended investment period (string like '3 years minimum' or '1 to 5 years') --- weboob/capabilities/bank.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/weboob/capabilities/bank.py b/weboob/capabilities/bank.py index 17a30083b7..b5d149170e 100644 --- a/weboob/capabilities/bank.py +++ b/weboob/capabilities/bank.py @@ -494,6 +494,9 @@ class Investment(BaseObject): diff_ratio = DecimalField('Difference in ratio (1 meaning 100%) between the buy cost and the current valuation') portfolio_share = DecimalField('Ratio (1 meaning 100%) of the current amount relative to the total') performance_history = Field('History of the performances of the stock (key=years, value=diff_ratio)', dict) + srri = IntField('Synthetic Risk and Reward Indicator of the stock (from 1 to 7)') + asset_category = StringField('Category of the stock') + recommended_period = StringField('Recommended investment period of the stock') # International original_currency = StringField('Currency of the original amount') -- GitLab