{# The portfolio's return over every period at once — a day, a week, a month, three, the year so far, a year, three years, since the first trade. Each tile: the time-weighted return and the gain in money, both with the flows of the period taken out, so a deposit is not a gain and a withdrawal not a loss. Needs `perf` (performance.periods) and `s.base_currency`. #} {% set labels = {"1d": _("1 day"), "1w": _("1 week"), "1m": _("1 month"), "3m": _("3 months"), "ytd": _("YTD"), "1y": _("1 year"), "3y": _("3 years"), "all": _("Since start")} %}