> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# Creating your own Level II data book (Accessing market depth)

Level II data is important for the momentum trader. It allows them to determine which way the market makers are trading and can be useful in helping the trader decide which way the momentum is going.

## Key concepts in this example

* Storing Level II data in a custom object list
* Printing Level II books for discretionary trading

## Important related documentation

* [List](https://msdn.microsoft.com/en-us/library/6sh2ey19\(v=vs.110\).aspx)
* [MarketDepthEventArgs](/developer/desktop-sdk/references/common/onmarketdepth/marketdeptheventargs)
* [Operations](https://ninjatrader.com/support/helpguides/nt8/operations.htm)
* [Position](/developer/desktop-sdk/references/strategy/position)
* [Price](/developer/desktop-sdk/references/drawing-tools/chartanchor/price)
* [Volume](/developer/desktop-sdk/references/common/system-indicator-methods/volume)
* [Time](/developer/desktop-sdk/references/common/iseriest/timeseries/time)

## Import instructions

1. Download the file contained in this Help Guide topic to your PC desktop
2. From the Control Center window, select the menu Tools > Import > NinjaScript
3. Select the downloaded file

[SampleLevel2Book\_NT8.zip](https://ninjatrader.com/support/helpGuides/nt8/samples/SampleLevel2Book_NT8.zip))