Commit 9636471b authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by ntome

[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')
parent 424bd09c
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment