![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2008
Posts: 39
Thanks: 0
Thanked 0 times in 0 posts
|
Is it possible to access some of the info that is in the DOM?
For example, the DOM shows how many lots are being bid/asked for each tick around the current price. Can my strategy access that somehow? Can someone show me some code that does so? |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Yes you can. See GetCurrentAsk() and GetCurrentBid(). Also in NT6.5 please take note that you can build your own Level II book. Take a look at this reference sample: http://www.ninjatrader-support.com/v...ead.php?t=3478
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Rumpled one info | Bogan7 | Indicator Development | 3 | 09-21-2009 06:50 PM |
| SuperDOM asks for confirmation when placing limit order | Sniemiec | SuperDOM and other Order Entry Windows | 3 | 02-14-2008 08:38 AM |
| Retrieving DOM info | cohvi | SuperDOM and other Order Entry Windows | 3 | 10-22-2007 02:39 AM |
| Info on NT 6 | dandxg | Miscellaneous Support | 1 | 03-21-2007 11:11 AM |
| bids and asks not displaying | gdargento | SuperDOM and other Order Entry Windows | 6 | 02-28-2007 05:19 AM |