|
|
@ -143,10 +143,10 @@ export abstract class PortfolioCalculator { |
|
|
tags, |
|
|
tags, |
|
|
type, |
|
|
type, |
|
|
date: format(date, DATE_FORMAT), |
|
|
date: format(date, DATE_FORMAT), |
|
|
fee: new Big(feeInAssetProfileCurrency), |
|
|
fee: new Big(feeInAssetProfileCurrency ?? 0), |
|
|
feeInBaseCurrency: new Big(feeInBaseCurrency), |
|
|
feeInBaseCurrency: new Big(feeInBaseCurrency ?? 0), |
|
|
quantity: new Big(quantity), |
|
|
quantity: new Big(quantity ?? 0), |
|
|
unitPrice: new Big(unitPriceInAssetProfileCurrency) |
|
|
unitPrice: new Big(unitPriceInAssetProfileCurrency ?? 0) |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
|