diff --git a/ts/client/src/accounts/mangoAccount.ts b/ts/client/src/accounts/mangoAccount.ts index fbc6ef76d..b63b4bf90 100644 --- a/ts/client/src/accounts/mangoAccount.ts +++ b/ts/client/src/accounts/mangoAccount.ts @@ -1478,7 +1478,7 @@ export class PerpPosition { const baseNative = I80F48.fromI64( this.basePositionLots.mul(perpMarket.baseLotSize), - ); + ).abs(); const positionValue = I80F48.fromNumber( perpMarket.stablePriceModel.stablePrice, )