# getUnrealizedGrossProfit()

Returns the position unrealized gross profit.

  • Interface
class MidaPosition {
    getUnrealizedGrossProfit (): Promise<MidaDecimal>;
}
  • Example
const unrealizedGrossProfit = await myPosition.getUnrealizedGrossProfit();