Day trading through a wi-fi connection at home?

I don't see the need for faster than 250ms, as that means already 4 times per second. I tried it but the calulations were lagging in fast markets. At 100ms, the CPU has to calculate already 2.5 times faster. And at that speed you can never see all the refreshed values at it means that valies change 10 times per second.
You need a very powerful CPU for fast refresh rates. And surely don't open too much workspaces at the same time. Even at 250ms refresh rate you never know what price you will get unless you use a limit order. I always go for market price to be sure to be filled.
If you put an order in the market, the refresh rate is irrelevant as the exchange will fill you at the price of the order. Your refresh rate has no impact on the fill.

I would tend to agree with that. As far as I can see - 250ms should be sufficient for most purposes. After all - I'm not an HFT. :)

Regardless, the problem remains unresolved. I sent my trace/log files to Ninja, so maybe they'll find something.

I will have to double check that, but I'm pretty sure I have only one workspace open.

Thank you for helping.

PS: I'm wondering what the actual improvements from NT7 was. For me, it's been a lot of problems and frustrations. I thought everything was resolved by now, but then this is happening. Hopefully it's fixable.

EDIT: No other workspaces open. In fact - I don't have any other workspaces than my main one right now.
 
I would tend to agree with that. As far as I can see - 250ms should be sufficient for most purposes. After all - I'm not an HFT. :)

Regardless, the problem remains unresolved. I sent my trace/log files to Ninja, so maybe they'll find something.

I will have to double check that, but I'm pretty sure I have only one workspace open.

Thank you for helping.

PS: I'm wondering what the actual improvements from NT7 was. For me, it's been a lot of problems and frustrations. I thought everything was resolved by now, but then this is happening. Hopefully it's fixable.

EDIT: No other workspaces open. In fact - I don't have any other workspaces than my main one right now.

Maybe graphic card is not good enough. If I remember well the charting lagged in my test. So might be the graphic card.
 
Maybe graphic card is not good enough. If I remember well the charting lagged in my test. So might be the graphic card.

That would be natural to suspect. However, I think it should be sufficient. On another computer now so don't have the accurate specifications, but I'm trading from a gaming laptop with an NVidia graphics card. It should be able to handle trading software.

I experienced something similar in the past and I then suspected it was because the computer was running on battery at the time and the computer was saving resources. I later over-rided those power settings to always run at high performance regardless.
 
That would be natural to suspect. However, I think it should be sufficient. On another computer now so don't have the accurate specifications, but I'm trading from a gaming laptop with an NVidia graphics card. It should be able to handle trading software.

I experienced something similar in the past and I then suspected it was because the computer was running on battery at the time and the computer was saving resources. I later over-rided those power settings to always run at high performance regardless.

I found all these complaints about NT8 too. Almost all people complain about charts lagging, DOM seems to be OK. So that points in the direction of the graphic card.
 
NT suggests installing the latest version. LOL. I have a hunch that's not going to help, but let's see.

I can only describe it as the charts being very jagged and unstable. Having watched the ES contract forever I know it doesn't move like this - unless something changed over the last 4 weeks.
 
I would tend to agree with that. As far as I can see - 250ms should be sufficient for most purposes. After all - I'm not an HFT. :)

Regardless, the problem remains unresolved. I sent my trace/log files to Ninja, so maybe they'll find something.

I will have to double check that, but I'm pretty sure I have only one workspace open.

Thank you for helping.

PS: I'm wondering what the actual improvements from NT7 was. For me, it's been a lot of problems and frustrations. I thought everything was resolved by now, but then this is happening. Hopefully it's fixable.

EDIT: No other workspaces open. In fact - I don't have any other workspaces than my main one right now.

Hi @Laissez Faire the chart lag you're experiencing could also be related to the way NinjaTrader 8 handles multi-threading. Please take a look at this from the NinjaTrader support forum: https://ninjatrader.com/support/for...lize-multiple-cpu-cores?p=1076757#post1076757

Essentially, in order for an instrument to not become out of sync with itself, NinjaTrader runs each instrument on a single CPU thread. A single instrument will only use 1 thread, and multiple charts with the same instrument still only run on that same thread.

As NinjaTrader_PatrickG points out, depending on how you're using NinjaTrader, you may be bottle-necking a thread.

So when comparing computers for NinjaTrader, it is more important to compare Single Thread Rating. In task manager, what is the name of your CPU?

upload_2021-9-3_11-12-4.png


Now search for your CPU on www.cpubenchmark.net to compare the Single Thread Rating. For reference, here is the Single Thread Rating of the CPU we use in our virtual private servers is https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+9+3900X&id=3493

upload_2021-9-3_11-17-33.png


I am speculating a little here, but another thing you could try if you haven't already is increasing the priority of NinjaTrader process. In task manager, click on the details tab, right click on NinjaTrader.exe and adjust Set Priority. However I don't know if this will lead to a noticeable performance difference.

upload_2021-9-3_11-18-38.png


Lastly, in that same NinjaTrader support forum, other users chime in with things they have done to increase their chart performance. https://ninjatrader.com/support/for...lize-multiple-cpu-cores?p=1096510#post1096510
 
Last edited:
Hi @Laissez Faire the chart lag you're experiencing could also be related to the way NinjaTrader 8 handles multi-threading. Please take a look at this from the NinjaTrader support forum.

Great reply, Andrew. Thank you! :)

A bit busy now, but I'll get back to you on this over the weekend.

NT also suggests that this could be the problem, i.e., mostly one instrument on my workspace.

Have a great weekend.
 
Hi again, Andrew,

Finding the time to get back to you now.

Essentially, in order for an instrument to not become out of sync with itself, NinjaTrader runs each instrument on a single CPU thread. A single instrument will only use 1 thread, and multiple charts with the same instrument still only run on that same thread.

As NinjaTrader_PatrickG points out, depending on how you're using NinjaTrader, you may be bottle-necking a thread.

So I'm learning. However, this is a huge disappointment for those of us who focus on one instrument mostly. Seems like a design error to me.

For what it's worth, I've been using this type of workspace for well over a year now and didn't have any issues. The only time I had issues was when I was disconnected from my power cable and the laptop defaulted to a mode with lower performance priorities.

So when comparing computers for NinjaTrader, it is more important to compare Single Thread Rating. In task manager, what is the name of your CPU?

upload_2021-9-7_0-9-41.png


https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-7700HQ+@+2.80GHz&id=2906

upload_2021-9-7_0-10-32.png


How does this look? :)

I am speculating a little here, but another thing you could try if you haven't already is increasing the priority of NinjaTrader process. In task manager, click on the details tab, right click on NinjaTrader.exe and adjust Set Priority. However I don't know if this will lead to a noticeable performance difference.

Lastly, in that same NinjaTrader support forum, other users chime in with things they have done to increase their chart performance. https://ninjatrader.com/support/for...lize-multiple-cpu-cores?p=1096510#post1096510

Thank you. I will try this.

I'm also re-building my workspace right now from scratch.

I've seen some advice that this should be done from time to time. Some even say you should do it on a daily basis, but that sounds very cumbersome.
 
So, I deleted my workspace, installed the latest version of NT8 and rebuilt my workspace from scratch using templates.

Today, the problem appears to be solved and everything seems to be running smoothly. Basically, my charts are updating as price changes or as new bars prints (on my volume chart) smoothly.

I found some performance tips a few years back which I saved to my computer. Essentially, you should clear the DB/DB files regularly.

Also, it was recommend to not use workspaces. See quote below. Re-building my workspace on a daily basis is something I don't have time to do, but it's possible it's something which should be done once in a while:

DO NOT use any WORKSPACES on NinjaTrader 7 or 8 (They are cumulative and whatever is in them will keep adding data to the file until it crashes). Trust me on this I've been using NinjaTrader for several years. DELETE ALL WORKSPACES in NINJATRADER 7 and 8, you should ONLY use templates to load your charts...yes, it is a bit more work, but your system will RUN EXCELLENT (especially if you do this listed below).
 
So, I deleted my workspace, installed the latest version of NT8 and rebuilt my workspace from scratch using templates.

Today, the problem appears to be solved and everything seems to be running smoothly. Basically, my charts are updating as price changes or as new bars prints (on my volume chart) smoothly.

I found some performance tips a few years back which I saved to my computer. Essentially, you should clear the DB/DB files regularly.

Also, it was recommend to not use workspaces. See quote below. Re-building my workspace on a daily basis is something I don't have time to do, but it's possible it's something which should be done once in a while:

..."DO NOT use any WORKSPACES on NinjaTrader 7 or 8 (They are cumulative and whatever is in them will keep adding data to the file until it crashes). Trust me on this I've been using NinjaTrader for several years. DELETE ALL WORKSPACES in NINJATRADER 7 and 8, you should ONLY use templates to load your charts...yes, it is a bit more work, but your system will RUN EXCELLENT (especially if you do this listed below)..."

As a user of NT7 for many years, I can tell you that workspaces are not the problem. The workspace in NT7 is simply a .xml file, which loads up the charts configured with the templates (also .xml files) and they are all very very simple files that do not grow over time, unless you add to them over time.

The problem is in a little-noticed filed called NinjaTrader.sdf.

THAT is the file that grows and grows over time, and that is the primary cause of the issue. But you cannot clear out that file. Bets thing to do is simply reset the DB file in the options section and clear out the Ninja cache folder on occasion.[/QUOTE]
 
Back
Top