Particle LAMM Dev Handbook
  • Introduction
  • Logic
    • Overview
    • Open Long
    • Close Long
    • Open Short
    • Close Short
  • Developer
    • Liquidity Provision
    • Open Position
    • Close Position
    • Liquidate Position
    • Long/Short Symmetry
    • Trading Fees
    • Premium Accounting
    • Reclaim Liquidity
Powered by GitBook
On this page
  1. Logic

Open Short

PreviousClose LongNextClose Short

Last updated 1 year ago

Notes:

  • When using tokenTo to short tokenFrom, the protocol is swapping tokenFrom into tokenTo;

  • In practice, marginFom in "Open Short" is 0;

  • Can also borrow out-of-range liquidity, but currentPrice must only be on the left of tickUppwer.