Skip to content

Commit 8fc8bff

Browse files
committed
Investement.TickerOutput string (w/ date for ibonds)
1 parent a2c022c commit 8fc8bff

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

library/Models/FamilyData/Investment.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ public string? Ticker
8282
}
8383
}
8484
}
85+
public string? TickerOutput
86+
{
87+
get
88+
{
89+
return Ticker + (this.IsIBond ? $" {FormatUtilities.FormatMonthPlus2DigitYear(this.PurchaseDate)}" : null);
90+
}
91+
}
8592

8693
public double? GetPrice(AssetTypes? assetType, double? price)
8794
{

0 commit comments

Comments
 (0)