# Market depth

### General info

The Market Depth panel allows view the number of opening buy and sell orders at different price levels for a selected trading instrument. Thanks to this panel you can better understand the current market liquidity and determine where the supply and demand levels are.

![General view of Market Depth](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LGf0-d3AHGaulqWqgAb%2F-LGf6C9u9KePNvIYVCdl%2FMarket%20Depth%20in%20action.gif?alt=media\&token=50cddb78-fccb-4d52-8c72-84d3df979bf0)

### Main parts of MD panel

Market Depth panel consists of the following parts:

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LHcvuiSX4zDu0NiGbZ8%2F-LHcwLbp6F-eXzFqzAmR%2FParts%20of%20MD%20panel.png?alt=media\&token=f50c1542-80fb-4659-bfe4-2db4a99cfa38)

1. **Order Entry** where you can set the order quantity and other parameters before placing it.
2. **Level 1 bar** shows market data for the selected instrument for the current trading session.
3. **Position bar** displays a brief information about opened positions (average open price, quantity and current P/L)
4. **Additional columns** that can be activated to display the extended market data.

### Trading with Market Depth

Market depth panel gives you the ability to quickly and safely enter orders for an instrument with a single click. Using the order entry to configure an order in MD, you can select an account, order quantity, TIF and place an order by market or by Ask/Bid quote.

To enter an order in MD:

* Select an account and order restriction (TIF) in the order entry;
* Enter an order quantity;
* Click on the Bid, Ask or Market button to place your order;
* Confirm your placement by first checking all the parameters.

### Market Depth settings

Additional settings of the market depth allow you to customize the appearance of the panel, set the custom name of the panel, and also set the color schemes of the table.

#### View settings

![View settings in market depth panel](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LI6IT_g3zormc37_grz%2F-LI6J-qkfB8HwdWmqVMd%2FView%20settings%20in%20MD.png?alt=media\&token=b6fa1c2c-9bba-4b94-bc3a-40cb17f66310)

* **Aggregate size by price.** Allows to merge Bid size and Ask size by the same price that came from different ECNs (BATS, ARCA, IEX etc.);
* **Show order entry.** This option shows/hides an Order Entry on the panel for quick order placement;
* **Show toolbar.** This option shows/hides the top toolbar with the trading symbol and expands the "useful" area of the panel. It is recommended to use this option with the symbol link;
* **Show Level 1.** Shows/hides the header pane, which contains Level 1 market data for the selected instrument.

#### Coloring settings

The Market depth panel has different coloring methods for Level 2 quotes which allow you to adjust the colors according to the specified conditions.

![Coloring methods in market depth](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LI6IT_g3zormc37_grz%2F-LI6K-lOMttrbIrso9nN%2FColoring%20methods%20MD.gif?alt=media\&token=db4f332d-1c99-4967-a1d1-a1cd177a2829)

* **By price level.** Coloring system by color levels depending on price tier;
* **Relative to volume.** Level 2 quotes are colored on the assumption that the max volume has the most saturated color;
* **Step to max volume.** Level 2 quotes are colored on the assumption that the max volume value which is set in the settings has the most saturated color. Here you can set Max volume value and pick the most saturated Ask and Bid colors.

#### Position bar settings

At the bottom of the Market Depth is the Position Bar, which displays a brief info about an open position on the current trading instrument  — the number of contracts, the average open price, current profit and loss.

![Position bar settings in market depth panel](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LI6IT_g3zormc37_grz%2F-LI6UybuDQIAcuC1QScb%2FPosition%20bar%20settings.png?alt=media\&token=11f87f13-8ccb-486f-a294-d614f37bef9f)

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.quantower.com/quantower/trading-panels/market-depth.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
