요새. 실행 질문 - 페이지 84

 
prostotrader :

대부분의 질문은

즉, 6-7ms입니다. 그렇지 않으면 브레이크를 이해할 수 없습니다( 917.779 ).

SD에서는 교환 브레이크 의 재현 가능한 경우가 고려됩니다.
 
fxsaber :
SD에서는 교환 브레이크 의 재현 가능한 경우가 고려됩니다.

좋아, 지금은

2017.02 . 10 19 : 44 : 01.393 trader (PLD- 3.17 ,H1)    CheckOrders: Задержка ответа сервера. Ожидание продолжается...
2017.02 . 10 19 : 44 : 00.362 Trades   'xxxxx' : sell limit 1.00 PLD- 6.17 at 812.23
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
 
prostotrader :

좋아, 지금은

이제 나가지 마세요.
 

나는 또한 그러한 지연을 인터넷 문제로 설명 할 수 없다고 생각합니다 (지연은 거의 5 초)

2017.02 . 15 12 : 16 : 39.007  trader (NOTK- 3.17 ,H1)     CheckOrders: Задержка ответа сервера. Ожидание продолжается...
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.581 Trades   'xxxxx' : cancel order # 52478062 buy limit 2.00 LKOH- 9.17 at 32386
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
 
prostotrader :

나는 또한 그러한 지연을 인터넷 문제로 설명 할 수 없다고 생각합니다 (지연은 거의 5 초)

SD에서

새 계정을 개설함

Логин:  5245006  
Пароль:  6 zodtyeh 
Инвестор: tcncj7nx

그것에 세 번 위의 스크립트를 실행

  1. FOREX+MOEX+DGCX의 기호.
  2. MOEX+USDUSD.
  3. 외환.
스크립트에서 오류가 발생하지 않고 수동으로 중지되었습니다. 시작할 때마다 브레이크가 있었습니다(로그 참조).

두 번째 실행에서는 매우 큰 브레이크가 고정됩니다.

2017.02 . 15   11 : 29 : 55.339   4342134
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   3695478
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

시작하는 동안 시스템에 아무 작업도 수행되지 않았습니다. 흔들의자는 없습니다. 하나의 차트가 열리고 이 스크립트만 실행되었습니다.

재생산 및 분석을 위한 모든 것은 개발자가 받습니다.
 
1531+로 업그레이드하는 것이 좋습니다. 서버에 데이터가 있습니다
JI       0        11 : 29 : 50.991     Trades   '5245006' : cancel order # 134078969 buy limit 1.00 RTS- 6.17 at 110740
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)
로그는 인터넷이 아니라 서버가 느려지고 있음을 완전히 확인합니다.
 
fxsaber :
1531+로 업그레이드하는 것이 좋습니다. 서버에 데이터가 있습니다

로그는 인터넷이 아니라 서버가 느려지고 있음을 완전히 확인합니다.
위대한 혁신. 이제 다른 DC의 기술 지원이 당신을 공격할 수 없을 것입니다. 그들은 당신이 스스로 바보이고 인터넷이 느리다고 말합니다! 이 일을 할 때가 되었습니다.
 
SD에서는 브레이크 문제를 다룹니다. 빠르게 찾을 수 있도록 스크립트 를 작성합니다.
 
fxsaber :
SD에서는 브레이크 문제를 다룹니다. 빠르게 찾을 수 있도록 스크립트 를 작성합니다.

생각보다 간단하지가 않네요....

2017.02 . 17 11 : 07 : 10.540 trader (PLD- 3.17 ,H1)    CheckOrders: Задержка ответа сервера. Ожидание продолжается...
2017.02.17 11:07:09.270 Trades  'ххххх': sell limit 1.00 PLD-6.17 at 812.23
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 ( 812.23에서 허용되는 판매 한도 1.00 PLD-6.17 ),

즉, 서버가 아닌 것으로 밝혀졌지만 터미널 속도가 11.379 - 09.270 = 2.109 로 느려집니다.  

 
prostotrader :

생각보다 간단하지가 않네요....

수락됨 - 정확히 무엇을 의미합니까?

1533 - 서버 데이터가 로그에서 다시 누락되었습니다. 그러니 1531을 잘 관리하세요.