diff --git a/src/portfolio.js b/src/portfolio.js index 75617e229b..23c89b3653 100644 --- a/src/portfolio.js +++ b/src/portfolio.js @@ -195,7 +195,7 @@ const getBHWCV: GetBalanceHistoryWithCountervalue = (account, r, calc) => { cryptoChange.percentage = null; countervalueChange.percentage = // in case there were no receive, we just track the market change - countervalueReceiveSum.isZero() + countervalueReceiveSum.isZero() && account.operations.length > 0 ? cvRef && lastPointRef && meaningfulPercentage(lastPointRef.minus(cvRef), cvRef)