finalynx.analyzer.envelopes

Module Contents

Classes

AnalyzeEnvelopes

Aims to agglomerate the children’s asset classes and return the amount represented by each asset class.

API

class finalynx.analyzer.envelopes.AnalyzeEnvelopes(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

analyze() 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.

_recursive_merge(node: finalynx.portfolio.Node) Dict[str, float][source]

Internal method for recursive searching.

chart() Dict[str, Any][source]
Returns:

A Highcharts configuration with the data to be displayed.