finalynx.analyzer.investment_state
ο
Module Contentsο
Classesο
Aims to agglomerate the childrenβs asset classes and return the amount represented by each asset class. |
APIο
- class finalynx.analyzer.investment_state.AnalyzeInvestmentStates(node: finalynx.portfolio.Node)[source]ο
Bases:
finalynx.analyzer.analyzer.Analyzer
Aims to agglomerate the childrenβs asset classes and return the amount represented by each asset class.
- Returns:
a dictionary with asset classes as keys and the corresponding total amount contained in the children.
Initialization
- GRAPH_COLORSο
None
- analyze(target_date: datetime.date) Dict[str, float] [source]ο
- Returns:
A dictionary with keys as the asset class names and values as the sum of investments corresponding to each class.