portfolio_toolkit.utils.period.get_current_week module
- portfolio_toolkit.utils.period.get_current_week.get_current_week() Period [source]
Returns information about the current ISO week as a Period object.
- Returns:
Period object representing the current ISO week
- Return type:
Example
For July 27, 2025 (which is in ISO week 30): Period(“W30 2025”, date(2025, 7, 21), date(2025, 7, 27))