# Flowchart

## PerpMarket.executeOrderV3

Long 1 ETH with 10 x leverage, the limit price is 101 USD

<img src="https://2254474065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc0gVul8aBiXybg5yIkLr%2Fuploads%2FgYM2EXm8pTtb5PCSKqaa%2Ffile.excalidraw.svg?alt=media&#x26;token=e5166376-6cb0-4f47-97fe-00da72531342" alt="trader perp flow" class="gitbook-drawing">

## GammaTradeMarket.executeTrade

<img src="https://2254474065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc0gVul8aBiXybg5yIkLr%2Fuploads%2FBoFbAUu05S7Nzn5vkYKI%2Ffile.excalidraw.svg?alt=media&#x26;token=99db2893-eea1-470b-aa2f-46f64eb78d5d" alt="" class="gitbook-drawing">

## Reallocate

<img src="https://2254474065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc0gVul8aBiXybg5yIkLr%2Fuploads%2FtVLYZBmYcy6hP1MQy7SZ%2Ffile.excalidraw.svg?alt=media&#x26;token=db652be6-a57b-4803-90e1-ed7a09e5ffc4" alt="" class="gitbook-drawing">

### execLiquidationCall

<img src="https://2254474065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc0gVul8aBiXybg5yIkLr%2Fuploads%2FmSYtAa6od6tZqjGn3nYK%2Ffile.excalidraw.svg?alt=media&#x26;token=a00ae6db-7417-46b4-8f72-e813adb4fa65" alt="" class="gitbook-drawing">
