rename "Conservative estimate" to "Projected return"
This commit is contained in:
parent
f28d98f708
commit
6e0861c5dd
2 changed files with 6 additions and 6 deletions
|
|
@ -198,11 +198,11 @@ pub fn run(
|
|||
try writeReturnRow(out, color, port_row);
|
||||
try cli.reset(out, color);
|
||||
|
||||
// Conservative estimate
|
||||
// Projected return (conservative estimate from benchmark analytics)
|
||||
{
|
||||
var buf: [16]u8 = undefined;
|
||||
const cell = view.fmtReturnCell(&buf, comparison.conservative_return);
|
||||
try cli.printFg(out, color, cli.CLR_MUTED, "{s: <32}{s: >8}\n", .{ "Conservative estimate", cell.text });
|
||||
try cli.printFg(out, color, cli.CLR_MUTED, "{s: <32}{s: >8}\n", .{ "Projected return", cell.text });
|
||||
}
|
||||
|
||||
// Target allocation note
|
||||
|
|
|
|||
|
|
@ -508,12 +508,12 @@ fn buildHeaderSection(app: *App, arena: std.mem.Allocator, lines: *std.ArrayList
|
|||
const port_row = view.buildReturnRow("Your Portfolio", comparison.portfolio_returns, &port_bufs, true);
|
||||
try appendReturnRow(lines, arena, th, port_row);
|
||||
|
||||
// Conservative estimate
|
||||
// Projected return (conservative estimate from benchmark analytics)
|
||||
{
|
||||
var buf: [16]u8 = undefined;
|
||||
const cell = view.fmtReturnCell(&buf, comparison.conservative_return);
|
||||
try lines.append(arena, .{
|
||||
.text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Conservative estimate", cell.text }),
|
||||
.text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Projected return", cell.text }),
|
||||
.style = th.mutedStyle(),
|
||||
});
|
||||
}
|
||||
|
|
@ -696,12 +696,12 @@ pub fn buildStyledLines(app: *App, arena: std.mem.Allocator) ![]const StyledLine
|
|||
const port_row = view.buildReturnRow("Your Portfolio", comparison.portfolio_returns, &port_bufs, true);
|
||||
try appendReturnRow(&lines, arena, th, port_row);
|
||||
|
||||
// Conservative estimate
|
||||
// Projected return (conservative estimate from benchmark analytics)
|
||||
{
|
||||
var buf: [16]u8 = undefined;
|
||||
const cell = view.fmtReturnCell(&buf, comparison.conservative_return);
|
||||
try lines.append(arena, .{
|
||||
.text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Conservative estimate", cell.text }),
|
||||
.text = try std.fmt.allocPrint(arena, " {s: <30}{s: >8}", .{ "Projected return", cell.text }),
|
||||
.style = th.mutedStyle(),
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue