4.1. investor module¶
- class investor.Investor(start_date, end_date)¶
Bases:
object
This is a conceptual class representation of an investor in Switzerland
- Parameters
start_date (str) – Current date in %Y-%m-%d format.
end_date (str) – Expected date of retirement or fund withdrawal in %Y-%m-%d format.
- Raises
ValueError – if end_date before start_date
- invest()¶
- open_account()¶
- withdraw()¶