fix position initiator + pnl for trade
This commit is contained in:
@@ -451,7 +451,7 @@ export const closeGmxPositionImpl = async (
|
||||
indexPrice: 0n,
|
||||
collateralPrice: 0n,
|
||||
acceptablePrice: position.markPrice,
|
||||
triggerOrderType: OrderType.LimitDecrease,
|
||||
triggerOrderType: OrderType.MarketDecrease,
|
||||
triggerPrice: position.markPrice,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user