|
@ -669,6 +669,7 @@ export class PortfolioCalculator { |
|
|
currencies: { [symbol: string]: string }, |
|
|
currencies: { [symbol: string]: string }, |
|
|
symbols: { [symbol: string]: boolean } |
|
|
symbols: { [symbol: string]: boolean } |
|
|
) { |
|
|
) { |
|
|
|
|
|
if (transactionPointsBeforeEndDate.length > 0) { |
|
|
for (const item of transactionPointsBeforeEndDate[firstIndex - 1].items) { |
|
|
for (const item of transactionPointsBeforeEndDate[firstIndex - 1].items) { |
|
|
dataGatheringItems.push({ |
|
|
dataGatheringItems.push({ |
|
|
dataSource: item.dataSource, |
|
|
dataSource: item.dataSource, |
|
@ -678,6 +679,7 @@ export class PortfolioCalculator { |
|
|
symbols[item.symbol] = true; |
|
|
symbols[item.symbol] = true; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
private getRelevantStartAndEndDates( |
|
|
private getRelevantStartAndEndDates( |
|
|
start: Date, |
|
|
start: Date, |
|
|