# close()

Places an order for entirely closing the position.

  • Interface
class MidaPosition {
    close (): Promise<MidaOrder>;
}
  • Example
await myPosition.close();