Skip to content

Commit

Permalink
Investement.TickerOutput string (w/ date for ibonds)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrelyea committed Jun 9, 2024
1 parent a2c022c commit 8fc8bff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions library/Models/FamilyData/Investment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ public string? Ticker
}
}
}
public string? TickerOutput
{
get
{
return Ticker + (this.IsIBond ? $" {FormatUtilities.FormatMonthPlus2DigitYear(this.PurchaseDate)}" : null);
}
}

public double? GetPrice(AssetTypes? assetType, double? price)
{
Expand Down

0 comments on commit 8fc8bff

Please sign in to comment.