# getPosition()
Returns the position created/impacted by the order.
- Interface
class MidaOrder {
getPosition (): Promise<MidaPosition | undefined>;
}
- Example
const myPosition = await myOrder.getPosition();
Returns the position created/impacted by the order.
class MidaOrder {
getPosition (): Promise<MidaPosition | undefined>;
}
const myPosition = await myOrder.getPosition();