finalynx.analyzer.lines๏ƒ

Module Contents๏ƒ

Classes๏ƒ

AnalyzeLines

Aims to agglomerate the childrenโ€™s pf lines and return the amount represented by each line.

API๏ƒ

class finalynx.analyzer.lines.AnalyzeLines(node: finalynx.portfolio.Node)[source]๏ƒ

Bases: finalynx.analyzer.analyzer.Analyzer

Aims to agglomerate the childrenโ€™s pf lines and return the amount represented by each line.

Returns:

a dictionary with lines 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, Any][source]๏ƒ

Internal method for recursive searching.