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

 
Sergey Kudryavtsev :

여보세요,

단말 장치에 대해 질문이 있습니다.

예를 들어 OrderSend(...) 명령으로 주문을 보내면 응답과 티켓에서 true를 얻고,

그런 다음 OrderSelect(ticket) 명령을 호출하면 응답에서 false를 얻을 수 있습니다.

(이 경우 주문은 활성 주문 중에서 나타납니다.)

질문은 다음과 같습니다. 활성 주문이 있었습니다. 응답 false에서 OrderSelect(티켓) 명령과 함께 수신됨,

그런 다음 HistoryOrderSelect(ticket) 명령을 실행한 다음 다시 false를 얻을 수 있습니다(즉, 주문이 기록에 있을 시간이 없음).

5-10ms를 기다렸다가 다시 시도하면 됩니다.

사실은 즉시 트랜잭션 확인을 받지만 트랜잭션의 전체 세부 정보는 그 이후에 비동기식으로 도착한다는 것입니다. 0~Nms가 소요될 수 있으며 일반적으로 1~2ms 이내입니다(물론 ping에 따라 다름).

 
정말 감사합니다!
 
coderex :

이제 그 외에 누가 그것을 측량하리요? 모두가 금지를 두려워합니다 :)

해결되지 않은 것 같습니다.

빌드 1395 추가, 실제 오프닝

 2016.09 . 14 17 : 30 : 03.100 Trades   'xxxxx' : sell limit 5.00 BR- 12.16 at 47.56
2016.09 . 14 17 : 30 : 06.849 Trades   'xxxxx' : accepted sell limit 5.00 BR- 12.16 at 47.56
2016.09 . 14 17 : 30 : 06.849 Trades   'xxxxx' : sell limit 5.00 BR- 12.16 at 47.56 placed for execution in 3750.466 ms
2016.09 . 14 17 : 30 : 06.851 Trades   'xxxxx' : cancel order # 44309414 sell limit 5.00 BR- 12.16 at 47.56
2016.09 . 14 17 : 30 : 10.014 Trades   'xxxxx' : deal # 29388895 sell 1.00 BR- 12.16 at 47.56 done (based on order # 44309414 )
2016.09 . 14 17 : 30 : 10.014 Trades   'xxxxx' : exchange buy 1.00 BR- 11.16 at market
2016.09 . 14 17 : 30 : 10.385 Trades   'xxxxx' : deal # 29388914 sell 4.00 BR- 12.16 at 47.56 done (based on order # 44309414 )
2016.09 . 14 17 : 30 : 12.374 Trades   'xxxxx' : accepted exchange buy 1.00 BR- 11.16 at market
2016.09 . 14 17 : 30 : 12.375 Trades   'xxxxx' : exchange buy 1.00 BR- 11.16 at market placed for execution in 2360.902 ms
2016.09 . 14 17 : 30 : 12.398 Trades   'xxxxx' : deal # 29389024 buy 1.00 BR- 11.16 at 47.25 done (based on order # 44309578 )
2016.09 . 14 17 : 30 : 12.401 Trades   'xxxxx' : exchange buy 4.00 BR- 11.16 at market
2016.09 . 14 17 : 30 : 13.006 Trades   'xxxxx' : accepted exchange buy 4.00 BR- 11.16 at market
2016.09 . 14 17 : 30 : 13.007 Trades   'xxxxx' : exchange buy 4.00 BR- 11.16 at market placed for execution in 606.852 ms
2016.09 . 14 17 : 30 : 13.009 Trades   'xxxxx' : deal # 29389140 buy 4.00 BR- 11.16 at 47.25 done (based on order # 44309644 )
2016.09 . 14 17 : 30 : 13.015 Trades   'xxxxx' : buy limit 5.00 BR- 12.16 at 47.74
2016.09 . 14 17 : 30 : 13.357 Trades   'xxxxx' : accepted buy limit 5.00 BR- 12.16 at 47.74
2016.09 . 14 17 : 30 : 13.357 Trades   'xxxxx' : buy limit 5.00 BR- 12.16 at 47.74 placed for execution in 342.736 ms
2016.09 . 14 17 : 30 : 13.668 Trades   'xxxxx' : buy limit 5.00 BR- 12.16 at 47.79
2016.09 . 14 17 : 30 : 13.712 Trades   'xxxxx' : accepted buy limit 5.00 BR- 12.16 at 47.79
2016.09 . 14 17 : 30 : 13.716 Trades   'xxxxx' : buy limit 5.00 BR- 12.16 at 47.79 placed for execution in 48.228 ms
2016.09 . 14 17 : 30 : 13.718 Trades   'xxxxx' : deal # 29389165 buy 5.00 BR- 12.16 at 47.79 done (based on order # 44309680 )
2016.09 . 14 17 : 30 : 13.721 Trades   'xxxxx' : exchange sell 5.00 BR- 11.16 at market
2016.09 . 14 17 : 30 : 13.740 Trades   'xxxxx' : accepted exchange sell 5.00 BR- 11.16 at market
2016.09 . 14 17 : 30 : 13.741 Trades   'xxxxx' : exchange sell 5.00 BR- 11.16 at market placed for execution in 20.867 ms
2016.09 . 14 17 : 30 : 13.778 Trades   'xxxxx' : deal # 29389166 sell 5.00 BR- 11.16 at 47.29 done (based on order # 44309682 )
 
prostotrader :

해결되지 않은 것 같습니다.

빌드 1395 추가, 실제 오프닝

그리고 그는 Intel Core i7 - 6850K 에서 모든 것이 괜찮다고 자랑했습니다.)
 
Sergey Chalyshev :
그리고 그는 Intel Core i7 - 6850K 에서 모든 것이 괜찮다고 자랑했습니다.)
글쎄, 당신은 복수입니다 .... :)
 
prostotrader :
글쎄, 당신은 복수입니다 .... :)

아니, 보복하지 않지만 기억은 신에게 감사하며 여전히 정상입니다))

하이퍼스레딩 이 활성화되어 있습니까? 프로세서에는 몇 개의 코어가 있습니까?

i7이 더 잘 작동했을 때 그렇습니다. AMD에서 물리적 코어, Intel에서 하이퍼스레딩이 활성화된 가상 코어, 하나의 물리적 코어는 2개의 스레드로 나뉩니다. 하이퍼스레딩을 비활성화하는 것이 좋습니다.

 
Sergey Chalyshev :

아니, 보복하지 않지만 기억은 신에게 감사하며 여전히 정상입니다))

하이퍼스레딩 이 활성화되어 있습니까? 프로세서에는 몇 개의 코어가 있습니까?

i7이 더 잘 작동했을 때 그렇습니다. AMD에서 물리적 코어, Intel에서 하이퍼스레딩이 활성화된 가상 코어, 하나의 물리적 코어는 2개의 스레드로 나뉩니다. 하이퍼스레딩을 비활성화하는 것이 좋습니다.

 
prostotrader :
하이퍼 스레딩 이 활성화된 것 같으며 MT5의 경우 비활성화하는 것이 좋습니다.
 

여기요!

아래 배틀 계정 예시를 보면 MT5 서버 부분이나 브로커의 하드웨어에 문제가 있음을 분명히 알 수 있습니다.

지연이 증가했다가 감소합니다.

 2016.09 . 21 03 : 31 : 10.568 Terminal        Открытие Брокер MetaTrader 5 СР x64 build 1430 started (ОАО '' Брокерский дом '' ОТКРЫТИЕ '' )

2016.09 . 21 17 : 30 : 00.156 Trades   'xxxxx' : modify order # 44620664 buy limit 5.00 ROSN- 3.17 at 36438 sl: 0 tp: 0 -> 36470 , sl: 0 tp: 0 placed for execution in 19.086 ms
2016.09 . 21 17 : 30 : 00.157 Trades   'xxxxx' : buy limit 5.00 BR- 12.16 at 47.66 placed for execution in 19.185 ms
2016.09 . 21 17 : 30 : 00.160 Trades   'xxxxx' : deal # 29616740 buy 5.00 BR- 12.16 at 47.66 done (based on order # 44620667 )
2016.09 . 21 17 : 30 : 01.064 Trades   'xxxxx' : exchange sell 5.00 BR- 11.16 at market
2016.09 . 21 17 : 30 : 02.004 Trades   'xxxxx' : cancel order # 44620664 buy limit 5.00 ROSN- 3.17 at 36470
2016.09 . 21 17 : 30 : 04.827 Trades   'xxxxx' : accepted exchange sell 5.00 BR- 11.16 at market
2016.09 . 21 17 : 30 : 04.827 Trades   'xxxxx' : exchange sell 5.00 BR- 11.16 at market placed for execution in 3764.451 ms
2016.09 . 21 17 : 30 : 04.829 Trades   'xxxxx' : deal # 29616752 sell 5.00 BR- 11.16 at 47.33 done (based on order # 44620682 )
2016.09 . 21 17 : 30 : 05.799 Trades   'xxxxx' : cancel order # 44613523 sell limit 1.00 TRNF- 3.17 at 149398
2016.09 . 21 17 : 30 : 07.929 Trades   'xxxxx' : accepted cancel order # 44620664 buy limit 5.00 ROSN- 3.17 at 36470
2016.09 . 21 17 : 30 : 07.929 Trades   'xxxxx' : cancel order # 44620664 buy limit 5.00 ROSN- 3.17 at 36470 placed for execution in 5926.927 ms
2016.09 . 21 17 : 30 : 08.738 Trades   'xxxxx' : modify order # 44620340 buy limit 1.00 TATN- 3.17 at 32276 sl: 0 tp: 0 -> 32278 , sl: 0 tp: 0
2016.09 . 21 17 : 30 : 08.775 Trades   'xxxxx' : accepted cancel order # 44613523 sell limit 1.00 TRNF- 3.17 at 149398
2016.09 . 21 17 : 30 : 08.776 Trades   'xxxxx' : cancel order # 44613523 sell limit 1.00 TRNF- 3.17 at 149398 placed for execution in 2977.588 ms
2016.09 . 21 17 : 30 : 09.585 Trades   'xxxxx' : accepted modify order # 44620340 buy limit 1.00 TATN- 3.17 at 32276 sl: 0 tp: 0 -> 32278 , sl: 0 tp: 0
2016.09 . 21 17 : 30 : 09.590 Trades   'xxxxx' : modify order # 44620340 buy limit 1.00 TATN- 3.17 at 32276 sl: 0 tp: 0 -> 32278 , sl: 0 tp: 0 placed for execution in 852.561 ms
2016.09 . 21 17 : 30 : 09.597 Trades   'xxxxx' : modify order # 44620340 buy limit 1.00 TATN- 3.17 at 32278 sl: 0 tp: 0 -> 32312 , sl: 0 tp: 0
2016.09 . 21 17 : 30 : 09.637 Trades   'xxxxx' : accepted modify order # 44620340 buy limit 1.00 TATN- 3.17 at 32278 sl: 0 tp: 0 -> 32312 , sl: 0 tp: 0
2016.09 . 21 17 : 30 : 09.638 Trades   'xxxxx' : modify order # 44620340 buy limit 1.00 TATN- 3.17 at 32278 sl: 0 tp: 0 -> 32312 , sl: 0 tp: 0 placed for execution in 40.658 ms
2016.09 . 21 17 : 30 : 10.053 Trades   'xxxxx' : cancel order # 44620340 buy limit 1.00 TATN- 3.17 at 32312
2016.09 . 21 17 : 30 : 10.075 Trades   'xxxxx' : accepted cancel order # 44620340 buy limit 1.00 TATN- 3.17 at 32312
2016.09 . 21 17 : 30 : 10.079 Trades   'xxxxx' : cancel order # 44620340 buy limit 1.00 TATN- 3.17 at 32312 placed for execution in 25.974 ms
2016.09 . 21 17 : 30 : 44.537 Trades   'xxxxx' : sell limit 1.00 BR- 12.16 at 48.04
2016.09 . 21 17 : 30 : 44.669 Trades   'xxxxx' : accepted sell limit 1.00 BR- 12.16 at 48.04
2016.09 . 21 17 : 30 : 44.669 Trades   'xxxxx' : sell limit 1.00 BR- 12.16 at 48.04 placed for execution in 132.352 ms
2016.09 . 21 17 : 30 : 45.165 Trades   'xxxxx' : sell limit 10.00 Si- 6.17 at 70449
2016.09 . 21 17 : 30 : 45.179 Trades   'xxxxx' : accepted sell limit 10.00 Si- 6.17 at 70449
2016.09 . 21 17 : 30 : 45.180 Trades   'xxxxx' : sell limit 10.00 Si- 6.17 at 70449 placed for execution in 14.720 ms

중개업체에 연락했는데 "문제 원인을 조사 중"이라고 답함

오늘의 전체 로그가 첨부되어 있습니다.

파일:
MT-5-1.zip  54 kb
 
prostotrader :

여기요!

아래 예시를 보면 MT5 서버 부분이나 브로커의 하드웨어에 문제가 있음을 분명히 알 수 있습니다.

지연이 증가했다가 감소합니다.

중개업체에 문의했는데 "문제 원인을 조사 중"이라고 답함

그날의 전체 로그가 첨부되어 있습니다.

로그를 보고 저도 같은 인상을 받았습니다. 최대 50ms까지 증가한 다음 10ms로 급격히 떨어집니다. 두 번째 지연 - 따로따로.

지연 문제를 연구하기 위해 모든 로그가 이런 방식으로 제공된다면.