Skip to content

Commit

Permalink
Fix re-inserting interests
Browse files Browse the repository at this point in the history
  • Loading branch information
VibeNL committed Oct 10, 2023
1 parent 989c90f commit de6dd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ private IEnumerable<MergeOrder> MergeOrders(IEnumerable<Activity> ordersFromFile
private bool AreEquals(Activity fo, RawActivity eo)
{
return
fo.Asset?.Symbol == eo.SymbolProfile?.Symbol &&
(fo.Asset?.Symbol == eo.SymbolProfile?.Symbol || fo.Type == ActivityType.INTEREST) && // Interest create manual symbols
fo.Quantity == eo.Quantity &&
fo.UnitPrice == eo.UnitPrice &&
fo.Fee == eo.Fee &&
Expand Down

0 comments on commit de6dd3c

Please sign in to comment.