diff --git a/src/mappings/services/assetService.ts b/src/mappings/services/assetService.ts index c185b75e..9ac45288 100644 --- a/src/mappings/services/assetService.ts +++ b/src/mappings/services/assetService.ts @@ -230,7 +230,7 @@ export class AssetService extends Asset { this.unrealizedProfitAtMarketPrice = atMarketPrice this.unrealizedProfitAtNotional = atNotional - this.unrealizedProfitByPeriod = this.outstandingQuantity.mul(this.currentPrice - this.periodPrice) + this.unrealizedProfitByPeriod = this.outstandingQuantity * (this.currentPrice - this.periodPrice) this.periodPrice = this.currentPrice }