portfolio_toolkit.utils.period.get_current_year module

portfolio_toolkit.utils.period.get_current_year.get_current_year() Period[source]

Returns information about the current year as a Period object.

Returns:

Period object representing the current year

Return type:

Period

Example

For July 27, 2025: Period(“2025”, date(2025, 1, 1), date(2025, 12, 31))