like: 8, 5 and 10, the vol from MarketData() will only show the 10 contracts, and not all three. Or is it going sooo fast that I'm not able to see it?
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
OnMarketData vs OnMarketDepth...
Collapse
X
-
OnMarketData vs OnMarketDepth...
Ok, help me to understand. I checked out your SampleMarketDepth code, and it uses OnMarketDepth() to display ladder, I checked out the ShowBidAndAsk indicator, which uses OnMarketData(). OnMarketData() shows me "lastPrice" and vol. OnMarketDepth() only shows bid and ask and vol. (according to data vendor, correct?) I'm using ZenFire/Amp. I wrote a script that shows me the "last price and vol" and I am running the 'SampleMarketDepth' ladder, AND I have the T&S window open. What I see is that the MarketDepth volume coincides with T&S volume and MarketData cannot keep up with the amount of sales that's scrolling by. For example, if T&S spits out 3 rows of contracts traded at ES 1207.75 with vols
like: 8, 5 and 10, the vol from MarketData() will only show the 10 contracts, and not all three. Or is it going sooo fast that I'm not able to see it?Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
2 responses
13 views
0 likes
|
Last Post Today, 02:05 PM | ||
Started by Kaledus, Today, 01:29 PM
|
2 responses
7 views
0 likes
|
Last Post
by Kaledus
Today, 02:04 PM
|
||
Started by frankthearm, Yesterday, 09:08 AM
|
13 responses
45 views
0 likes
|
Last Post
by frankthearm
Today, 01:52 PM
|
||
Started by PaulMohn, Today, 12:36 PM
|
2 responses
16 views
0 likes
|
Last Post
by PaulMohn
Today, 01:48 PM
|
||
Started by Conceptzx, 10-11-2022, 06:38 AM
|
2 responses
56 views
0 likes
|
Last Post
by PhillT
Today, 01:47 PM
|
Comment