portfolio_toolkit.asset.market.market_asset module

class portfolio_toolkit.asset.market.market_asset.MarketAsset(ticker: str, prices: pandas.core.series.Series, info: Dict, currency: str | None = None)[source]

Bases: object

ticker: str
prices: Series
info: Dict
currency: str | None = None
sector: str
country: str
to_dict() Dict[str, Any][source]

Convert to a dictionary representation.

__init__(ticker: str, prices: Series, info: Dict, currency: str | None = None) None