finalynx.fetch.source_base_lineο
Module Contentsο
Classesο
APIο
- class finalynx.fetch.source_base_line.SourceBaseLine(name: str, cache_validity: int = 12)[source]ο
Bases:
finalynx.fetch.source_base.SourceBase- fetch(portfolio: finalynx.portfolio.Portfolio, clear_cache: bool, ignore_orphans: bool) rich.tree.Tree[source]ο
Fetch data online from a source that contains investment
Lineobjects.- Parameters:
clear_cache β Delete cached data to immediately fetch data online, defaults to False
ignore_orphans β If a line in your account is not referenced in your
Portfolioinstance then donβt attach it to the root (used as a reminder), defaults to False
- Returns:
A
Treeobject from therichpackage used to display what has been fetched.