# getPosition()

Returns the position created/impacted by the order.

  • Interface
class MidaOrder {
    getPosition (): Promise<MidaPosition | undefined>;
}
  • Example
const myPosition = await myOrder.getPosition();