From e5afd09b28795d424598323161916dcf940e0344 Mon Sep 17 00:00:00 2001 From: Dick Wolff Date: Tue, 5 Mar 2024 21:08:58 +0100 Subject: [PATCH] Ignore lines without an isin --- src/converters/ibkrConverter.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/converters/ibkrConverter.ts b/src/converters/ibkrConverter.ts index c8e61a6..f01d167 100644 --- a/src/converters/ibkrConverter.ts +++ b/src/converters/ibkrConverter.ts @@ -225,8 +225,9 @@ export class IbkrConverter extends AbstractConverter { /** * @inheritdoc */ - public isIgnoredRecord(_: IbkrRecord): boolean { - return false; + public isIgnoredRecord(record: IbkrRecord): boolean { + + return !!record.isin; } private findExactDividendMatch(dividendRecord: IbkrDividendRecord, symbol: string, activities: GhostfolioActivity[]): GhostfolioActivity {