I'd like to ask you about certain technical parameters in connectors for optimizing the whole performance in NT7 with a live strategy ( data receiving, strategy processing and orders submitting ) through a fast connection to Interactive Brokers.
1. Since Gateway is lighter than TWS, would it gain some speed even if it's little ?
2. The parameters of Gateway and TWS is:
C:\ProgramData\Oracle\Java\javapath\javaw.exe -cp jts.jar;total.2012.jar -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true -Xmx768M -XX:MaxPermSize=128M ibgateway.GWClient C:\Jts
So, given my hardware, please let me know what is the best parameters that I can set for optimal performance in either of above connections.
My hardware-Software for this purpose is:
Processor: Intel Core i7-5500U @ 2.40 GHz
Ram: 8GG
OS: Windows 10 - 64bit
Java: 8.121
Internet ISP: Speed 15MG, Latency 62 MS, Latency to IB server 90 MS
I'll leave here two notes that I've found in regards to this matter, please confirm or deny:
a) For users running TWS with a 64 bit version of Java, the MINIMUM memory for the heap size is 384 MB, and for the permanent generation space is 192 MB.
b) Starting with Java 8, the XX:MaxPermSize parameter has been deprecated. When running TWS with Java 8, the XX:MaxPermSize parameter will be ignored at runtime if present; this parameter could be simply omitted from the start-up script.
3. Sooner or later I'll have to migrate to NT8 which it 'll make me to change all my scripts besides other checks I must do first to use it. What is the TWS or Gateway version optimal for NT8 ( speed and stability )
Thanks in advance
Comment