JI 011:29:50.991 Trades '5245006': cancel order #134078969 buy limit 1.00 RTS-6.17 at 110740 PN 011:29:52.745 Trades '5245006': accepted cancel order #134078969 buy limit 1.00 RTS-6.17 at 110740 RM 011:29:55.329 Trades '5245006': cancel #134078969 buy limit 1.00 RTS-6.17 at market done in4342.061 ms (4281.910 ms on server)
CQ 011:29:55.339 Trades '5245006': exchange buy 1.00 RTS-9.17 at market DJ 011:29:59.405 Trades '5245006': accepted exchange buy 1.00 RTS-9.17 at market DM 011:30:03.851 Trades '5245006': deal #117691016 buy 1.00 RTS-9.17 at 115040 done (based on order #134079385) HP 011:30:03.851 Trades '5245006': order #134079385 buy 1.00 / 1.00 RTS-9.17 at 115040 done in8512.198 ms (8457.310 ms on server)
DQ 011:35:57.511 Trades '5245006': buy limit 1.00 GBPCAD at 1.47480 HH 011:35:59.332 Trades '5245006': accepted buy limit 1.00 GBPCAD at 1.47480 GR 011:36:01.203 Trades '5245006': order #134084771 buy limit 1.00 / 1.00 GBPCAD at market done in3695.461 ms (3643.142 ms on server)
最大的问题是这样的
是6-7毫秒,或者说刹车是无法理解的(917.779)。
SR处理的是交换-交换制动器的可重复 情况。
好了,在这期间。
2017.02.10 19:44:01.554 Trades 'xxxxx': accepted sell limit 1.00 PLD-6.17 at 812.23
2017.02.10 19:44:01.559 Trades 'xxxxx': sell limit 1.00 PLD-6.17 at 812.23 placed for execution in 1196.961 ms
2017.02.10 19:44:01.570 Trades 'xxxxx': cancel order #52377653 sell limit 1.00 PLD-6.17 at 812.23
2017.02.10 19:44:01.575 Trades 'xxxxx': accepted cancel order #52377653 sell limit 1.00 PLD-6.17 at 812.23
2017.02.10 19:44:01.580 Trades 'xxxxx': cancel order #52377653 sell limit 1.00 PLD-6.17 at 812.23 placed for execution in 9.844 ms
好了,在此期间
现在不搬走了。
我还认为,这种延迟不能用网络问题来解释(延迟近5秒)。
2017.02.15 12:16:40.021 trader (NOTK-3.17,H1) CheckOrders: Задержка ответа сервера. Ожидание продолжается...
2017.02.15 12:16:41.035 trader (NOTK-3.17,H1) CheckOrders: Задержка ответа сервера. Ожидание продолжается...
2017.02.15 12:16:42.049 trader (NOTK-3.17,H1) CheckOrders: Задержка ответа сервера. Ожидание продолжается...
2017.02.15 12:15:34.591 Trades 'xxxxx': accepted cancel order #52478062 buy limit 2.00 LKOH-9.17 at 32386
2017.02.15 12:15:34.591 Trades 'xxxxx': cancel order #52478062 buy limit 2.00 LKOH-9.17 at 32386 placed for execution in 7.249 ms
2017.02.15 12:16:37.971 Trades 'xxxxx': buy limit 2.00 NOTK-6.17 at 72453
2017.02.15 12:16:42.212 Trades 'xxxxx': sell limit 2.00 ED-6.17 at 1.0618
2017.02.15 12:16:42.672 Trades 'xxxxx': accepted buy limit 2.00 NOTK-6.17 at 72453
2017.02.15 12:16:42.672 Trades 'xxxxx': buy limit 2.00 NOTK-6.17 at 72453 placed for execution in 4703.252 ms
2017.02.15 12:16:42.672 Trades 'xxxxx': cancel order #52478363 buy limit 2.00 NOTK-6.17 at 72453
2017.02.15 12:16:42.752 Trades 'xxxxx': accepted sell limit 2.00 ED-6.17 at 1.0618
2017.02.15 12:16:42.752 Trades 'xxxxx': sell limit 2.00 ED-6.17 at 1.0618 placed for execution in 532.410 ms
2017.02.15 12:16:42.752 Trades 'xxxxx': accepted cancel order #52478363 buy limit 2.00 NOTK-6.17 at 72453
2017.02.15 12:16:42.752 Trades 'xxxxx': cancel order #52478363 buy limit 2.00 NOTK-6.17 at 72453 placed for execution in 78.942 ms
2017.02.15 12:17:40.500 Trades 'xxxxx': cancel order #52478384 sell limit 2.00 ED-6.17 at 1.0618
2017.02.15 12:17:40.506 Trades 'xxxxx': accepted cancel order #52478384 sell limit 2.00 ED-6.17 at 1.0618
2017.02.15 12:17:40.507 Trades 'xxxxx': cancel order #52478384 sell limit 2.00 ED-6.17 at 1.0618 placed for execution in 6.477 ms
我还认为,这种延迟不能用网络问题来解释(延迟近5秒)。
从SR。
开设了一个新账户。
Пароль: 6 zodtyeh
Инвестор: tcncj7nx
我在上面运行了三次上述脚本
在第二次运行时,它非常缓慢。
2017.02.15 11:29:55.339 Request.action = TRADE_ACTION_REMOVE (8)
2017.02.15 11:29:55.339 Request.magic = 0
2017.02.15 11:29:55.339 Request.order = 134078969
2017.02.15 11:29:55.339 Request.symbol =
2017.02.15 11:29:55.339 Request.volume = 0.0
2017.02.15 11:29:55.339 Request.price = 0.0
2017.02.15 11:29:55.339 Request.stoplimit = 0.0
2017.02.15 11:29:55.339 Request.sl = 0.0
2017.02.15 11:29:55.339 Request.tp = 0.0
2017.02.15 11:29:55.339 Request.deviation = 0
2017.02.15 11:29:55.339 Request.type = ORDER_TYPE_BUY (0)
2017.02.15 11:29:55.339 Request.type_filling = ORDER_FILLING_FOK (0)
2017.02.15 11:29:55.339 Request.type_time = ORDER_TIME_GTC (0)
2017.02.15 11:29:55.339 Request.expiration = 1970.01.01 00:00:00
2017.02.15 11:29:55.339 Request.comment =
2017.02.15 11:29:55.339 Request.position = 0
2017.02.15 11:29:55.339 Request.position_by = 0
2017.02.15 11:29:55.339 Result.retcode = 10009
2017.02.15 11:29:55.339 Result.deal = 0
2017.02.15 11:29:55.339 Result.order = 134078969
2017.02.15 11:29:55.339 Result.volume = 0.0
2017.02.15 11:29:55.339 Result.price = 0.0
2017.02.15 11:29:55.339 Result.bid = 0.0
2017.02.15 11:29:55.339 Result.ask = 0.0
2017.02.15 11:29:55.339 Result.comment = Request executed 4342.134 + 6.068 ms
2017.02.15 11:29:55.339 Result.request_id = 7399
2017.02.15 11:29:55.339 Result.retcode_external = 0
2017.02.15 11:29:55.339
2017.02.15 11:30:03.851 8512149
2017.02.15 11:30:03.851 Request.action = TRADE_ACTION_DEAL (1)
2017.02.15 11:30:03.851 Request.magic = 0
2017.02.15 11:30:03.851 Request.order = 0
2017.02.15 11:30:03.851 Request.symbol = RTS-9.17
2017.02.15 11:30:03.851 Request.volume = 1.0
2017.02.15 11:30:03.851 Request.price = 115130.0
2017.02.15 11:30:03.851 Request.stoplimit = 0.0
2017.02.15 11:30:03.851 Request.sl = 0.0
2017.02.15 11:30:03.851 Request.tp = 0.0
2017.02.15 11:30:03.851 Request.deviation = 100
2017.02.15 11:30:03.851 Request.type = ORDER_TYPE_BUY (0)
2017.02.15 11:30:03.851 Request.type_filling = ORDER_FILLING_RETURN (2)
2017.02.15 11:30:03.851 Request.type_time = ORDER_TIME_DAY (1)
2017.02.15 11:30:03.851 Request.expiration = 1970.01.01 00:00:00
2017.02.15 11:30:03.851 Request.comment = My Position
2017.02.15 11:30:03.851 Request.position = 0
2017.02.15 11:30:03.851 Request.position_by = 0
2017.02.15 11:30:03.851 Result.retcode = 10009
2017.02.15 11:30:03.851 Result.deal = 117691016
2017.02.15 11:30:03.851 Result.order = 134079385
2017.02.15 11:30:03.851 Result.volume = 1.0
2017.02.15 11:30:03.851 Result.price = 115040.0
2017.02.15 11:30:03.851 Result.bid = 114740.0
2017.02.15 11:30:03.851 Result.ask = 115130.0
2017.02.15 11:30:03.851 Result.comment = Request executed 8512.149 + 0.012 ms
2017.02.15 11:30:03.851 Result.request_id = 7400
2017.02.15 11:30:03.851 Result.retcode_external = 0
而在第三次运行时
2017.02.15 11:36:01.213 Request.action = TRADE_ACTION_PENDING (5)
2017.02.15 11:36:01.213 Request.magic = 0
2017.02.15 11:36:01.213 Request.order = 0
2017.02.15 11:36:01.213 Request.symbol = GBPCAD
2017.02.15 11:36:01.213 Request.volume = 1.0
2017.02.15 11:36:01.213 Request.price = 1.4748
2017.02.15 11:36:01.213 Request.stoplimit = 0.0
2017.02.15 11:36:01.213 Request.sl = 0.0
2017.02.15 11:36:01.213 Request.tp = 0.0
2017.02.15 11:36:01.213 Request.deviation = 100
2017.02.15 11:36:01.213 Request.type = ORDER_TYPE_BUY_LIMIT (2)
2017.02.15 11:36:01.213 Request.type_filling = ORDER_FILLING_RETURN (2)
2017.02.15 11:36:01.213 Request.type_time = ORDER_TIME_GTC (0)
2017.02.15 11:36:01.213 Request.expiration = 1970.01.01 00:00:00
2017.02.15 11:36:01.213 Request.comment = My Order
2017.02.15 11:36:01.213 Request.position = 0
2017.02.15 11:36:01.213 Request.position_by = 0
2017.02.15 11:36:01.213 Result.retcode = 10009
2017.02.15 11:36:01.213 Result.deal = 0
2017.02.15 11:36:01.213 Result.order = 134084771
2017.02.15 11:36:01.213 Result.volume = 1.0
2017.02.15 11:36:01.213 Result.price = 0.0
2017.02.15 11:36:01.213 Result.bid = 0.0
2017.02.15 11:36:01.213 Result.ask = 0.0
2017.02.15 11:36:01.213 Result.comment = Request executed 3695.478 + 4.198 ms
2017.02.15 11:36:01.213 Result.request_id = 12774
2017.02.15 11:36:01.213 Result.retcode_external = 0
在启动期间,机器上没有做任何事情。没有摇晃。有一个图表打开,上面只有这个脚本在运行。
PN 0 11:29:52.745 Trades '5245006': accepted cancel order #134078969 buy limit 1.00 RTS-6.17 at 110740
RM 0 11:29:55.329 Trades '5245006': cancel #134078969 buy limit 1.00 RTS-6.17 at market done in 4342.061 ms (4281.910 ms on server)
CQ 0 11:29:55.339 Trades '5245006': exchange buy 1.00 RTS-9.17 at market
DJ 0 11:29:59.405 Trades '5245006': accepted exchange buy 1.00 RTS-9.17 at market
DM 0 11:30:03.851 Trades '5245006': deal #117691016 buy 1.00 RTS-9.17 at 115040 done (based on order #134079385)
HP 0 11:30:03.851 Trades '5245006': order #134079385 buy 1.00 / 1.00 RTS-9.17 at 115040 done in 8512.198 ms (8457.310 ms on server)
DQ 0 11:35:57.511 Trades '5245006': buy limit 1.00 GBPCAD at 1.47480
HH 0 11:35:59.332 Trades '5245006': accepted buy limit 1.00 GBPCAD at 1.47480
GR 0 11:36:01.203 Trades '5245006': order #134084771 buy limit 1.00 / 1.00 GBPCAD at market done in 3695.461 ms (3643.142 ms on server)
我建议升级到1531+。那里的服务器数据
日志完全证实,是服务器,而不是互联网的问题。
SD处理的是速度慢的问题。一个 能快速找到它们的脚本。
不像看起来那么容易....
2017.02.17 11:07:11.379 Trades 'ххххх': accepted sell limit 1.00 PLD-6.17 at 812.23
2017.02.17 11:07:11.380 Trades 'ххххх': sell limit 1.00 PLD-6.17 at 812.23 placed for execution in 2110.281 ms (1.836 ms on server)
订单启动2017.02.17 11:07:09.270
但检查2017.02.17 11:07:11.379(接受卖出限制1.00 PLD-6.17在812.23)。
也就是说,不是服务器的问题,而是终端的速度变慢了11.379 -09.270 = 2.109
这并不像听起来那么简单....
接受--它到底是什么意思?
1533 - 日志中又没有服务器数据。所以要照顾好你的1531。