Assuming the current price of a contract is 949.00 and the orderbook shows there is 400 offered at 950.25 and then all of sudden there's 300 offered at 950.25, does that mean that someone has cancelled 100 at 950.25? And is that what Operation.Remove would show? or Update?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
OnMarketDepth()
Collapse
X
-
OnMarketDepth()
The eventArgs have e.Operation == Operation.Remove, Operation.Update, etc.
Assuming the current price of a contract is 949.00 and the orderbook shows there is 400 offered at 950.25 and then all of sudden there's 300 offered at 950.25, does that mean that someone has cancelled 100 at 950.25? And is that what Operation.Remove would show? or Update?Tags: None
-
That would be an update. Operation.Remove is when you completely remove the price from the ladder. Update just updates something already on the ladder. Insert would be to add a price to the ladder. As far as why it would update the price, it could very well mean someone cancelled.Josh P.NinjaTrader Customer Service
-
Originally posted by funk101 View PostThe eventArgs have e.Operation == Operation.Remove, Operation.Update, etc.
Assuming the current price of a contract is 949.00 and the orderbook shows there is 400 offered at 950.25 and then all of sudden there's 300 offered at 950.25, does that mean that someone has cancelled 100 at 950.25? And is that what Operation.Remove would show? or Update?
* Change can mean:
- someone cancelled.
- someone added new orders
- an order changed in size
- a trade executed at that price (as: every fill not only fills the order, it also changes the outstanding amount still to be filled, which is shown in the ladder).
* Remove means:
- no more price at that point. THis can be because of a move of best bid/ask, as the ladders are not indefinite in depth. So, elements "falling off" the long side (like 11th element on CME, which publishes ticks deep) get removed when the price moves.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by love2code2trade, 04-17-2024, 01:45 PM
|
4 responses
31 views
0 likes
|
Last Post Yesterday, 10:31 PM | ||
Started by cls71, Today, 04:45 AM
|
2 responses
10 views
0 likes
|
Last Post
by eDanny
Today, 11:11 AM
|
||
Started by proptrade13, Today, 11:06 AM
|
0 responses
5 views
0 likes
|
Last Post
by proptrade13
Today, 11:06 AM
|
||
Started by kulwinder73, Today, 10:31 AM
|
1 response
10 views
0 likes
|
Last Post Today, 11:01 AM | ||
Started by RookieTrader, Today, 09:37 AM
|
3 responses
15 views
0 likes
|
Last Post Today, 10:32 AM |
Comment