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
Indicator Lag during period of High market activity
Collapse
X
-
Hello habibalex, thanks for your note.
You can monitor each indicator and bar type that is running from the NinjaScript Utilization Tool. You can run the Playback connection and find spots of high volatility to stress test the indicators.
Please let me know if you have any further questions.Chris L.NinjaTrader Customer Service
-
Fwiw, I don't find playback a reliable way to do this. You. Need to find a volatile mkt and test in realtime. Cl or nq during news! Or a trump tweet is good! Not convinient, but the only way to reproduce some of the issues I've seen... Playback on my machine simply does not do the same thing...
- Likes 1
Comment
-
unfortunately that is not a good way to test as its not easily reproducible. i really would like some way to test this properly. Is there a way to spoof the connection and push data into ninja that way? I would like to create known test data and verify the output.
NTDirect.Client.dll has some of the functionality, but doesn't have any level2 MarketDepth info. Is there a way to send that data as well using NTDirect.Client.dll? If not how do I accomplish this?Last edited by habibalex; 09-14-2019, 12:13 PM.
Comment
-
Hello habibalex, thanks for your reply.
Currently, it's not supported to stream additional ticks for this type of stress testing. The dll interface has LastPlayback, BidPlayback, and AskPlayback methods and this is for synchronizing the playback of a custom application to NinjaTrader, so it seems possible from an external application, but I have never seen one that does this so I can not confirm this.
Best regards.Chris L.NinjaTrader Customer Service
Comment
-
ChrisL, how does the ninjatrader team do their testing if this does not exist?
Also, I made a program that uses NinjaTrader.Client.dll to connect an external connection and the ES 09-19 Level1 data from Thursday when I experienced the lag around 9/12 7:10AM PST to 7:15AM PST. I am not experiencing any lag using the external connection. So I really need a way to add the level 2 data into the mix to see what is going on. I think adding the level2 data to the external connection is fairly simple unless I am mistaken.Last edited by habibalex; 09-15-2019, 07:01 PM.
Comment
-
NinjaTrader_ChrisL I didn't hear back from you. I noticed extreme lag yesterday again. My charts were almost 3 minutes behind live data and then after about 5 minutes it finally caught back up. I really need to test the level2 data to determine where lag is coming from. It's not coming from my level1 feed from my tests above. How do I do this?
- Likes 1
Comment
-
Chris L.NinjaTrader Customer Service
Comment
-
NinjaTrader_ChrisL Thanks for the fast response. Level 2 refers to Market Depth, and it would trigger the OnMarketDepth function in an indicator. What you've sent me is a link to Orders placed, ie: initiating or closing a position. I need a way to test the OnMarketDepth function in ninjatrader to stress test my indicators.
Comment
-
Hi Chris, I know that it can only do level 1 currently (last, inside bid, inside ask). It needs to be able to do level 2 also otherwise we have no way of accurately testing order flow indicators. My question is how does the ninjatrader team test this functionality. I would request they open that up to developers so we can properly test our indicators.
Comment
-
Hello habibalex, thanks for your reply.
NinjaTrader's development team does have tools for testing market rushes and level 2 data but those tools are not publicly available. I will submit a feature request to release these tools for developers. I'll have a feature tracking ID shortly.
Kind regards.Chris L.NinjaTrader Customer Service
Comment
-
ChrisL i still experience lag. Has there been any update to this? For example at 7:15:04 PST today ninja started lagging and was about 30 seconds behind. It wasn't even much an event. I don't experience any lag during market replay and using ntdirect.dll pushing level 1 data. I really need the level2 ability to test this.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by PaulMohn, Today, 05:00 AM
|
0 responses
6 views
0 likes
|
Last Post
by PaulMohn
Today, 05:00 AM
|
||
Started by ZenCortexAuCost, Today, 04:24 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 04:24 AM | ||
Started by ZenCortexAuCost, Today, 04:22 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 04:22 AM | ||
Started by SantoshXX, Today, 03:09 AM
|
0 responses
16 views
0 likes
|
Last Post
by SantoshXX
Today, 03:09 AM
|
||
Started by DanielTynera, Today, 01:14 AM
|
0 responses
5 views
0 likes
|
Last Post
by DanielTynera
Today, 01:14 AM
|
Comment