|
@ -669,13 +669,15 @@ export class PortfolioCalculator { |
|
|
currencies: { [symbol: string]: string }, |
|
|
currencies: { [symbol: string]: string }, |
|
|
symbols: { [symbol: string]: boolean } |
|
|
symbols: { [symbol: string]: boolean } |
|
|
) { |
|
|
) { |
|
|
for (const item of transactionPointsBeforeEndDate[firstIndex - 1].items) { |
|
|
if (transactionPointsBeforeEndDate.length > 0) { |
|
|
dataGatheringItems.push({ |
|
|
for (const item of transactionPointsBeforeEndDate[firstIndex - 1].items) { |
|
|
dataSource: item.dataSource, |
|
|
dataGatheringItems.push({ |
|
|
symbol: item.symbol |
|
|
dataSource: item.dataSource, |
|
|
}); |
|
|
symbol: item.symbol |
|
|
currencies[item.symbol] = item.currency; |
|
|
}); |
|
|
symbols[item.symbol] = true; |
|
|
currencies[item.symbol] = item.currency; |
|
|
|
|
|
symbols[item.symbol] = true; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|