Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Working with removals in level 2 order book
Collapse
X
-
Working with removals in level 2 order book
I copied the sample code for maintaining a level 2 order book then added a few statements of my own. If the following statement is true: (if rows[e.Position].Volume > e.Volume && e.MarketDataType == MarketDataType.Ask && e.Position == 0), this should mean that an order was removed from the order book at the position given by the current ask price. My question is, does this removal mean that a user manually removed an order from the order book or could it also mean that their order has been filled and subsequently removed by the order book. My end goal is to make an indicator that keeps track of orders that were placed within the timeframe of the current bar and filled before the bar close. Is it even possible to accomplish this with the data that is provided?Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
57 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
78 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
41 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
101 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
61 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment