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

 

재고 시간과의 동기화 문제는 매우 간단하게 해결할 수 있습니다.

 struct MqlBookInfo 
  { 
   ENUM_BOOK_TYPE    type;       // тип заявки из перечисления ENUM_BOOK_TYPE 
   double            price;       // цена 
   long              volume;     // объем 
  };

Plaza 2 사양에서

즉, MqlBookInfo 구조에 시간을 추가하면 됩니다. :)

 struct MqlBookInfo 
  { 
   ENUM_BOOK_TYPE    type;       // тип заявки из перечисления ENUM_BOOK_TYPE 
   double            price;       // цена 
   long              volume;     // объем 
   ulong             moment;     // время (добавить)    
  };
 
fxsaber :

잘 모르겠지만 위의 스크립트와 관련이 없습니다. 문제가 발생한 거래 계좌에서 그가 발행한 것을 보여주십시오.

맞는 스크립트가 아니었어요 :)

 2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508923 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508924 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508925 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508926 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508927 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508928 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryOrderGetInteger ( 87849076 , ORDER_TIME_DONE_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryOrderGetInteger ( 87849076 , ORDER_TIME_SETUP_MSC )) = 2018.04 . 25 16 : 49 : 23.000
 
Dennis Kirichenko :

스마일!

 
prostotrader :

재고 시간과의 동기화 문제는 매우 간단하게 해결할 수 있습니다.

Plaza 2 사양에서

즉, MqlBookInfo 구조에 시간을 추가하면 됩니다. :)

그러나 이것이 로그 읽기와 관련된 문제를 어떻게 해결할 것입니까? 내가 한 번 작성하고 교환/서버에 다른 시간이 있을 때?

어쨌든 이것은 우리에게 제공되지 않습니다.

 
Aleksey Vyazmikin :
 2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508923 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508924 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508925 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508926 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508927 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryDealGetInteger ( 48508928 , DEAL_TIME_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryOrderGetInteger ( 87849076 , ORDER_TIME_DONE_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryOrderGetInteger ( 87849076 , ORDER_TIME_SETUP_MSC )) = 2018.04 . 25 16 : 49 : 23.000

그런 다음 그것은 훨씬 더 말도 안되는 것으로 판명되었습니다. 시간이 서버 로그와 일치하지 않습니다

거래, 자동 거래 시스템 및 거래 전략 테스트에 관한 포럼

요새. 실행 질문

알렉세이 뱌즈미킨 , 2018.04.26 12:56

클라이언트 측에서 네트워크 지연 처럼 보입니다. 거래 서버 측에서 실행이 어떻게 진행되었는지는 다음과 같습니다.

 0        6        2018.04 . 25 16 : 49 : 24.024 85.*** . ***.***      '***' : exchange buy 10.00 Si- 6.18 at market ( 62785 / 62788 / 62787 )
0        6        2018.04 . 25 16 : 49 : 24.024 85.*** . ***.***      '***' : request transfered to dealers, rule 'FORTS Gateway #real' (exchange buy 10.00 Si- 6.18 at market)
0        6        2018.04 . 25 16 : 49 : 24.028 127.0 . 0.1        '2' : request from '***' (exchange buy 10.00 Si- 6.18 at market)
0        6        2018.04 . 25 16 : 49 : 24.029 127.0 . 0.1        '2' : placed for execution for '***' (exchange buy 10.00 Si- 6.18 at market)( 62785 / 62788 / 62787 ) 
0        6        2018.04 . 25 16 : 49 : 24.029 85.*** . ***.***      '***' : order placed for execution [# 87849076 buy 10.00 Si- 6.18 at market], time 5.98 ms
0        6        2018.04 . 25 16 : 49 : 24.030 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 Si- 6.18 at market request new due execution [request new order # 87849076 ], time: 0.05 ms
0        6        2018.04 . 25 16 : 49 : 24.036 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 Si- 6.18 at market placed due execution [added order # 87849076 , buy limit 10.00 Si- 6.18 at 65426 [based on order '30444116819' ]], time: 0.18 ms
0        6        2018.04 . 25 16 : 49 : 24.041 FORTS Gateway #real     '***' : deal performed [# 48508923 buy 1.00 Si- 6.18 at 62788 ]
0        6        2018.04 . 25 16 : 49 : 24.041 '***' : order performed partially buy 1.00 at 62788 [# 87849076 buy 10.00 Si- 6.18 at market]
0        6        2018.04 . 25 16 : 49 : 24.041 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 Si- 6.18 at market filled due execution [filled order # 87849076 , buy 1.00 Si- 6.18 at 62788 [based on deal '2026006054' ]], time: 2.06 ms
0        6        2018.04 . 25 16 : 49 : 24.043 FORTS Gateway #real     '***' : deal performed [# 48508924 buy 1.00 Si- 6.18 at 62788 ]
0        6        2018.04 . 25 16 : 49 : 24.043 '***' : order performed partially buy 1.00 at 62788 [# 87849076 buy 10.00 / 1.00 Si- 6.18 at market]
0        6        2018.04 . 25 16 : 49 : 24.043 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 / 1.00 Si- 6.18 at market filled due execution [filled order # 87849076 , buy 1.00 Si- 6.18 at 62788 [based on deal '2026006055' ]], time: 3.02 ms
0        6        2018.04 . 25 16 : 49 : 24.048 FORTS Gateway #real     '***' : deal performed [# 48508925 buy 5.00 Si- 6.18 at 62788 ]
0        6        2018.04 . 25 16 : 49 : 24.048 '***' : order performed partially buy 5.00 at 62788 [# 87849076 buy 10.00 / 2.00 Si- 6.18 at market]
0        6        2018.04 . 25 16 : 49 : 24.048 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 / 2.00 Si- 6.18 at market filled due execution [filled order # 87849076 , buy 5.00 Si- 6.18 at 62788 [based on deal '2026006056' ]], time: 1.73 ms
0        6        2018.04 . 25 16 : 49 : 24.050 FORTS Gateway #real     '***' : deal performed [# 48508926 buy 1.00 Si- 6.18 at 62789 ]
0        6        2018.04 . 25 16 : 49 : 24.050 '***' : order performed partially buy 1.00 at 62789 [# 87849076 buy 10.00 / 7.00 Si- 6.18 at market]
0        6        2018.04 . 25 16 : 49 : 24.050 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 / 7.00 Si- 6.18 at market filled due execution [filled order # 87849076 , buy 1.00 Si- 6.18 at 62789 [based on deal '2026006057' ]], time: 3.40 ms
0        6        2018.04 . 25 16 : 49 : 24.053 FORTS Gateway #real     '***' : deal performed [# 48508927 buy 1.00 Si- 6.18 at 62789 ]
0        6        2018.04 . 25 16 : 49 : 24.053 '***' : order performed partially buy 1.00 at 62789 [# 87849076 buy 10.00 / 8.00 Si- 6.18 at market]
0        6        2018.04 . 25 16 : 49 : 24.053 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 / 8.00 Si- 6.18 at market filled due execution [filled order # 87849076 , buy 1.00 Si- 6.18 at 62789 [based on deal '2026006058' ]], time: 1.49 ms
0        6        2018.04 . 25 16 : 49 : 24.054 FORTS Gateway #real     '***' : deal performed [# 48508928 buy 1.00 Si- 6.18 at 62789 ]
0        6        2018.04 . 25 16 : 49 : 24.055 '***' : order performed buy 1.00 at 62789 [# 87849076 buy 10.00 / 9.00 Si- 6.18 at market]
0        6        2018.04 . 25 16 : 49 : 24.055 FORTS Gateway #real     '***' : order # 87849076 buy 10.00 / 9.00 Si- 6.18 at market filled due execution [filled order # 87849076 , buy 1.00 Si- 6.18 at 62789 [based on deal '2026006059' ]], time: 4.03 ms

또한 MT5 거래 기록이 거짓말을 하고 있어 모든 것이 완벽하게 진행되었음을 보여줍니다.

 

이것은 특히 중요하다

주문 및 실행 시간은 동일합니다 :)

 2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryOrderGetInteger ( 87849076 , ORDER_TIME_DONE_MSC )) = 2018.04 . 25 16 : 49 : 23.000
2018.04 . 26 17 : 14 : 39.691 tTest (Si Splice,M15)   TimeMscToString( HistoryOrderGetInteger ( 87849076 , ORDER_TIME_SETUP_MSC )) = 2018.04 . 25 16 : 49 : 23.000
 
prostotrader :

주문 및 실행 시간은 동일합니다 :)

시간이 초의 배수라는 이상한 우연의 일치입니다(점 뒤의 밀리초 없음).

 
fxsaber :

그런 다음 그것은 훨씬 더 말도 안되는 것으로 판명되었습니다. 시간이 서버 로그와 일치하지 않습니다

또한 MT5 거래 기록이 거짓말을 하고 있어 모든 것이 완벽하게 진행되었음을 보여줍니다.


 
fxsaber :

시간이 초의 배수라는 이상한 우연의 일치입니다(점 뒤의 밀리초 없음).

네 저도 귀찮긴 한데 서버 설정인 것 같아요.

 
prostotrader :

이것은 특히 중요하다

주문 및 실행 시간은 동일합니다 :)

누가 디스커버리 출신이 아닌지 궁금합니다. 또한 밀리세컨드 없이 모든 것이 역사상 무엇입니까?