# Limit Order

<figure><img src="https://content.gitbook.com/content/YQMiWMjQNj4QgmzaRycI/blobs/vJqi8mdCxaW9IvSrTn6c/15.png" alt=""><figcaption></figcaption></figure>

#### Limit Orders

Rest on order book at specified price. Execute when market reaches price level or better.

**Parameters:**

* `instrument`: Trading pair
* `side`: LONG or SHORT
* `size`: Position size
* `price`: Exact execution price
* `timeInForce`: GTC (Good-Till-Cancel) or IOC (Immediate-Or-Cancel)

**Order Book Placement:**

* Buy orders: Stored in descending price order
* Sell orders: Stored in ascending price order
* Price-time priority: Orders at same price fill chronologically
