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
Time and Sales
Collapse
X
-
Time and Sales
I'm interested in working with the information on Time and Sales, is there a sample code available?Tags: None
-
Hello,
It is possible to work with market depth data in the OnMarketDepth() event. You can pull any state contained within a MarketDepthEventArgs object. For more information on working with market depth, please see the links below:
http://www.ninjatrader.com/support/h...arketdepth.htm
http://www.ninjatrader.com/support/h...heventargs.htm
Also, the reference sample below should shed some more light on accessing Level II data:
http://www.ninjatrader.com/support/f...ead.php?t=3478
Please let me know if I can assist further.Dave I.NinjaTrader Product Management
-
thank you for your reply
Regarding the Links you referred me to, I want to get this right... Are Price and Volume, the Last Price the instrument sold for, and the amount of shares/ contracts of that sale?
Operation.Update/Insert/Remove... What exactly those actions represent?
Comment
-
Hello,
You are correct about Price and Volume. Note that this information specifically represents the last traded price and volume provided by your data feed.
In this context, Operation is a property of MarketDepthEventArgs objects. You can use Operation.Insert, Operation.Remove, and Operation.Update when building your own Level II book. Please note that this property applies to NinjaScript in NinjaTrader 8, and will not apply to your script developed for NinjaTrader 7.Dave I.NinjaTrader Product Management
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by geotrades1, Today, 10:02 AM
|
1 response
4 views
0 likes
|
Last Post Today, 10:19 AM | ||
Started by ender_wiggum, Today, 09:50 AM
|
1 response
5 views
0 likes
|
Last Post Today, 10:10 AM | ||
Started by rajendrasubedi2023, Today, 09:50 AM
|
1 response
12 views
0 likes
|
Last Post Today, 10:05 AM | ||
Started by bmartz, Today, 09:30 AM
|
1 response
9 views
0 likes
|
Last Post Today, 09:48 AM | ||
Started by geddyisodin, Today, 05:20 AM
|
3 responses
26 views
0 likes
|
Last Post Today, 09:36 AM |
Comment