Returns Calendar
A monthly returns heatmap for funds, strategies and backtests, with a compounded yearly column and spans you select to compound returns.
Returns Calendar
A monthly returns heatmap for funds, strategies and backtests, with a compounded yearly column and spans you select to compound returns.
When to use it
The diverging version, for values that can be positive or negative against a meaningful zero. The compounded year column is what makes it a summary rather than only a grid.
Props · ReturnsCalendar
| Prop | Type | Default |
|---|---|---|
| title? | string | "Monthly returns" |
| hint? | string | "hover a month · year = compounded" |
| years? | number[] | DEFAULT_YEARS |
| returns? | number[][] | DEFAULT_RETURNS |
Generated from the component source. Run npm run props:extract after changing a signature.
