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
Line
objects.- 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
Portfolio
instance then donβt attach it to the root (used as a reminder), defaults to False
- Returns:
A
Tree
object from therich
package used to display what has been fetched.