Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Order Flow Cumulative Delta shows no data
Collapse
X
-
I have some disturbing news. Deleting the db/cache folder was previously working for me for months, but now it has stopped working. Even after deleting that folder and restarting I am still seeing nothing on the Order Flow indicator. So, that may have been a cargo cult solution.
I'm currently running 8.0.23.1, I will upgrade after today's session.
-
Hello aworldnervelink,
Thank you for your reply.
When you re-enable the strategies after making code changes, are you completely removing them from the chart and re-adding them? This would be recommended if you are not.
What version of NinjaTrader are you currently using? We've released a new version since this thread was started, 8.0.23.2. Does this persist after updating to the latest version?
Thanks in advance; I look forward to assisting you further.
Leave a comment:
-
I've been seeing a pattern lately:- Start NT and run my strategies. Everything works OK. Strategies run for a while (e.g. 20 hours).
- Disable the strategies, possibly make some small code changes and recompile. Re-enable strategies. Order flow is now corrupted on one or more charts.
- Stop NT, delete the db/cache folder, everything works OK again.
So, I can conclude that (1) the issue is definitely corruption in the data cache, and (2) it happens very quickly, within the span of one day. I should mention that at the moment I am only looking at one market (MES) with a few tick charts of various resolution.
Leave a comment:
-
I just ran into the issue again and deleting the cache folder again fixed the problem.
Leave a comment:
-
This turned out to be a good morning to test as I started up and several charts showed the data problem. I deleted the cache folder and restarted and was able to get all indicators to load normally. Seems like this could definitely be a factor.
Leave a comment:
-
Hello aworldnervelink,
Thank you for sending in your log and trace files.
In looking these over, the only issue I'm seeing regarding data is the following:
2020-12-07 08:53:41:599|3|4|Failed to resolve instrument for market data: F.US.M6B.U20 could not be resolved.
Basically, this is saying you're not getting data for the M6B, which just means you have a window somewhere in the platform that is requesting data for that instrument but failing to get it.
Since we're looking at the MES 12-20, that doesn't help us much.
I suspect there may be a bar caching issue occurring, however. Do you see the same occur if you clear the cache?
To delete the cache, follow the steps below.- Shut down NinjaTrader.
- Open the Documents > NinjaTrader 8 > db folder.
- Delete the sub-folder named 'cache'.
- Restart NinjaTrader and test.
Please let us know if we may be of further assistance.
Leave a comment:
-
Hello aworldnervelink,
Thank you for your reply.
I've been completely unable to replicate this on the current version using NinjaTrader Continuum data. I'd like to take a look at your log and trace files to see if there's any errors occurring when NinjaTrader tries to retrieve tick data. However, since these may contain personally identifiable information, I'd want you to send those in directly. You can do this by going to Help > Email Support. Log and Trace files should be automatically checked. Please put 2859461 ATTN Kate W. in the subject line.
Thanks in advance; I look forward to assisting you further.
Leave a comment:
-
See above in the thread, I am running 8.0.23.1. I have been seeing this problem for several months on at least two, possibly 3 different versions.
Leave a comment:
-
Hello aworldnervelink,
Thank you for your replies.
I've tested these on a number of instruments and haven't been able to replicate this on my end. I'd make sure you're on the current version of the software. You can check this under Help > About. The current version is 8.0.23.1. If you're on a different version, please update using the steps below and test:- First, copy your license key from NinjaTrader under Help> License Key then exit NinjaTrader
- Click on the link: https://ninjatrader.com/PlatformDirect
- Enter your license key and press Submit
- Select 'NinjaTrader 8'
- Select 'Download'
- Critical: Before running the installer, ensure NinjaTrader is closed.
Leave a comment:
-
I removed all Strategies, selected "Reload All Historical Data", applied my Strategy, and it came up OK. Can't guarantee that this was the cure as the problem is intermittent but in this case it worked. Strategy code is attached.
Attached Files
Leave a comment:
-
I was just able to replicate the problem with a strategy containing only the code shown above. This was on a chart of the MES 12-20 with 500 tick bars. It's been a while since I have looked at other markets but I seem to recall the problem showing up on various micro currency charts as well.
I also noticed that the problem seems to be "sticky" to the chart... if it doesn't work the first time on the particular chart, it will continue to fail.
Leave a comment:
-
Hello aworldnervelink,
Thank you for your post.
Does this occur only on certain instruments, or on all instruments?
Can you replicate this using a strategy that is empty except for the above code?
Thanks in advance; I look forward to assisting you further.
Leave a comment:
-
I use NinjaTrader Continuum as my data connection.
I started NT in safe mode and applied the Order Flow Cumulative Delta to several charts. I was not able to replicate the issue. Since my strategy is not available in safe mode it is not a great test but it's a start. For reference, my strategy creates and adds the indicator to the chart automatically:
Code:else if (State == State.Configure) {[INDENT]AddDataSeries(Data.BarsPeriodType.Tick, 1);[/INDENT] } else if (State == State.DataLoaded) {[INDENT]orderFlow = OrderFlowCumulativeDelta(CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Bar, 0); AddChartIndicator(orderFlow);[/INDENT] }
Thanks for the help!
Leave a comment:
-
Hello aworldnervelink,
Thank you for your note.
To be able to assist further please let me know who you are connected to?
Additionally, so we can further diagnose your system, please start NinjaTrader in Safe Mode.
Safe Mode will prevent NinjaTrader from:- Loading workspaces.
- Connecting on start-up.
- Loading custom assemblies.
- Getting instrument updates from the server.
To enable safe mode, please use the following steps:- Exit NinjaTrader.
- Hold the CONTROL key and double click the NinjaTrader icon.
- Keep the CONTROL key held down until you see the Control Center.
- You can verify you are in safe mode by going to Help -> About.
Thank you I'll await your reply.
Leave a comment:
-
Was the original post not clear? 70% of the time the indicator works as expected... 30% of the time it comes up with no data. I use solely one provider.
Leave a comment:
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by stalt, 12-28-2015, 01:36 PM
|
6 responses
1,536 views
0 likes
|
Last Post
by giulyko00
Today, 09:16 AM
|
||
Started by Tburg1073, Today, 08:36 AM
|
0 responses
5 views
0 likes
|
Last Post
by Tburg1073
Today, 08:36 AM
|
||
Started by alexstox, 10-16-2018, 03:29 PM
|
10 responses
333 views
0 likes
|
Last Post
by Tburg1073
Today, 08:32 AM
|
||
Started by smartromain, 03-13-2024, 01:42 AM
|
6 responses
98 views
0 likes
|
Last Post
by smartromain
Today, 08:30 AM
|
||
Started by Jonker, 04-27-2024, 01:19 PM
|
4 responses
29 views
0 likes
|
Last Post
by Jonker
Today, 08:26 AM
|
Leave a comment: