Hello API support,
I found the latency(local GMT time of VPS - ITick.getTime()) between VPS and Server was changing all the time. As images show, the maximum latency was 35 seconds, and they were almost above 30 ms. The original data is on the cloud(
https://pan.baidu.com/s/1jHElLSa, password:uk8e). In my another post(
https://www.dukascopy.com/swiss/english ... 65&t=54593), orders to open positions for EURUSD at market price with 1 pip slippage were always rejected, on account of the real market price changed during such long time. After using 5 pips slippage, only several orders were rejected, and the average real slippage was about 3 pips.
The Ping time to server is just 4 ms. The distance between London Equinix LD4(UltraFx) and Geneva is near 1000 km, and the signal travelling time = 1000 / 300000 * 1000 = 3.33 ms. So, the latency must be within 4 ms( travelling time and protocol processing time). How can i make any configure to the java trading program to decrease and stabilize the latency?
Thank you!