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
SuperDOM / Data question...
Collapse
X
-
SuperDOM / Data question...
I'm creating an AddOn what is a DataGrid which displays information that includes the Last trade (similar to the SuperDOM). However, I notice when viewing along side the SuperDOM, the SuperDOM receives the same info about a couple of milliseconds before my custom datagrid. Is it just something in my programming that I haven't quite nailed yet, or is there something built in that the SuperDOM is first in the chain and we are not able to achieve this at the AddOn stage?Tags: None
-
Hello funk101,
The subscription to the marketData.Update and marketDepth.Update events are not timed and will trigger as the event happens.
The output window itself does have an update interval.
Are you displaying this information in the Output window or are you displaying this in a control on the Addon Window?Chelsea B.NinjaTrader Customer Service
Comment
-
It's a datagrid in an AddOn. So what you're saying is there shouldn't be any difference in the timing of when the SuperDOM column or my addon get the information? Does the SuperDOM utilize Dispatcher.InvokeAsync? Is there any special args like DispatchPriority settings?Last edited by funk101; 12-26-2016, 02:12 PM.
Comment
-
Hello funk101,
Thank you for your response.
There should be no difference in the update of the information in the AddOn versus the SuperDOM. The SuperDOM would not perform anything specific in order to be faster (such as forcing refresh).
If you Print() the values to the Output, are they updating faster?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by gravdigaz6, Today, 11:40 PM
|
1 response
7 views
0 likes
|
Last Post Today, 11:49 PM | ||
Started by MarianApalaghiei, Today, 10:49 PM
|
3 responses
10 views
0 likes
|
Last Post Today, 11:33 PM | ||
Started by XXtrader, Today, 11:30 PM
|
0 responses
4 views
0 likes
|
Last Post
by XXtrader
Today, 11:30 PM
|
||
Started by love2code2trade, Yesterday, 01:45 PM
|
4 responses
28 views
0 likes
|
Last Post Today, 10:31 PM | ||
Started by funk10101, Today, 09:43 PM
|
0 responses
9 views
0 likes
|
Last Post
by funk10101
Today, 09:43 PM
|
Comment