# getUnrealizedGrossProfit()
Returns the position unrealized gross profit.
- Interface
class MidaPosition {
getUnrealizedGrossProfit (): Promise<MidaDecimal>;
}
- Example
const unrealizedGrossProfit = await myPosition.getUnrealizedGrossProfit();
Returns the position unrealized gross profit.
class MidaPosition {
getUnrealizedGrossProfit (): Promise<MidaDecimal>;
}
const unrealizedGrossProfit = await myPosition.getUnrealizedGrossProfit();