Synchroniser l'heure locale de Windows avec le serveur MT5 - page 9

 

Changement deCOPY_TICKS_ALL enCOPY_TICKS_INFO

et toujours pas de correspondance.

2017.01.23 23:05:58.985 TestTicks (ALRS-3.17,H1)        New test start.
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Total 2000 ticks.
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.109 last =60497.0 flags = 2
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:01.110 last =60496.0 flags = 6
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:01.113 last =60496.0 flags = 4
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:01.700 last =60498.0 flags = 2
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:02.675 last =60498.0 flags = 6
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:13.854 last =60495.0 flags = 6
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:14.210 last =60495.0 flags = 4
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:16.726 last =60494.0 flags = 4
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:17.109 last =60495.0 flags = 4
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:17.543 last =60494.0 flags = 4
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:17.543 last =60494.0 flags = 2
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:18.272 last =60496.0 flags = 4
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:19.144 last =60493.0 flags = 2
2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:19.147 last =60492.0 flags = 4
 

Le journal de CopyTicks montre 1 tick en 1 seconde

2017.01.23 23:05:59.077 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.109 last =60497.0 flags = 2

Et dans le journal de la bourse

replID            replRev     replAct     id_ord      sess_id   isin_id amount amount_rest id_deal xstatus status  price              moment           dir    action  deal_price
61121596561     61121596561     0       24657039482     5205    795262  5       5       0       5121    5121    60498.00000     2017-01-20 23:49:00.017 2       1       0.00000
61121596564     61121596564     0       24657039483     5205    795262  2       2       0       5121    5121    60497.00000     2017-01-20 23:49:00.020 1       1       0.00000
61121596784     61121596784     0       24653666035     5205    795262  1       0       0       2102273 2102273 60226.00000     2017-01-20 23:49:00.060 1       0       0.00000
61121596860     61121596860     0       24653666013     5205    795262  1       0       0       2102273 2102273 60898.00000     2017-01-20 23:49:00.060 2       0       0.00000
61121596863     61121596863     0       24657039505     5205    795262  5       5       0       5121    5121    60499.00000     2017-01-20 23:49:00.060 2       1       0.00000
61121596874     61121596874     0       24657011636     5205    795262  100     0       0       2102273 2102273 60421.00000     2017-01-20 23:49:00.063 1       0       0.00000
61121596881     61121596881     0       24656457983     5205    795262  1       0       0       2102273 2102273 60386.00000     2017-01-20 23:49:00.063 1       0       0.00000
61121596944     61121596944     0       24656457986     5205    795262  1       0       0       2102273 2102273 60596.00000     2017-01-20 23:49:00.067 2       0       0.00000
61121597008     61121597008     0       24657039527     5205    795262  100     100     0       5121    5121    60397.00000     2017-01-20 23:49:00.073 1       1       0.00000
61121597151     61121597151     0       24657039552     5205    795262  3       3       0       1025    1025    60497.00000     2017-01-20 23:49:00.087 2       1       0.00000
61121597221     61121597221     0       24657039555     5205    795262  22      22      0       1026    1026    60494.00000     2017-01-20 23:49:00.090 2       1       0.00000
61121597250     61121597250     0       24657039400     5205    795262  1000    0       0       2102273 2102273 60477.00000     2017-01-20 23:49:00.093 1       0       0.00000

Les 2/3 ne sont pas adaptés :( seulement 69 ticks
 

Vérification du journal de la bourse pour isin_id (instrument) partout seulement 795262 ( Si-3.17)

Ajouté

Changement deCOPY_TICKS_INFO enCOPY_TICKS_TRDAE

Je ne comprends pas non plus les accords...

61121597156     61121597156     0       24657039552     5205    795262  3       0       1693721366      1                               1       60497.00000     2017-01-20 23:49:00.087 2       2       60497.00000
61121597157     61121597157     0       24657038660     5205    795262  3       60      1693721366      9223372034707296257     -2147479551     60497.00000     2017-01-20 23:49:00.087 1       2       60497.00000
61121597226     61121597226     0       24657039555     5205    795262  22      0       1693721376      9223372034707292162     -2147483646     60494.00000     2017-01-20 23:49:00.090 2       2       60497.00000
61121597227     61121597227     0       24657038660     5205    795262  22      38      1693721376      9223372034707296257     -2147479551     60497.00000     2017-01-20 23:49:00.090 1       2       60497.00000
61121597265     61121597265     0       24657039558     5205    795262  2       0       1693721380      1                               1       60497.00000     2017-01-20 23:49:00.093 2       2       60497.00000
61121597266     61121597266     0       24657038660     5205    795262  2       36      1693721380      9223372034707296257     -2147479551     60497.00000     2017-01-20 23:49:00.093 1       2       60497.00000
2017.01.23 23:40:10.786 TestTicks (ALRS-3.17,H1)        New test start.
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Total 2000 ticks.
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.88 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.90 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.94 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.109 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.114 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.114 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.114 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.114 last = 60497.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.147 last = 60496.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.502 last = 60496.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.529 last = 60496.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.581 last = 60496.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.624 last = 60496.0 flags = 88
2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.669 last = 60498.0 flags = 56

il y a des achats et des ventes (dir - direction de l'ordre 1 - ACHETER ; 2 - VENDRE) (action : 0 - ordre retiré ; 1 - ordre établi ; 2 - transaction) (amount_rest - solde)

61121597156     61121597156     0       24657039552     5205    795262  3       0       1693721366      1                               1       60497.00000     2017-01-20 23:49:00.087 2       2       60497.00000
61121597157     61121597157     0       24657038660     5205    795262  3       60      1693721366      9223372034707296257     -2147479551     60497.00000     2017-01-20 23:49:00.087 1       2       60497.00000

Et nous avons seulement vendu

2017.01.23 23:40:11.947 TestTicks (ALRS-3.17,H1)        Symbol = Si-3.17 Time = 2017.01.20 23:49:00.88 last = 60497.0 flags = 88

Peut-être est-ce parce que ces deux transactions ont été fusionnées en une seule (leur id_deal est le même)1693721366

Ajouté

Il s'avère que seulCOPY_TICKS_TRDAE fonctionne correctement?

(Tous les tests ont été effectués sur Otkritie réel, build 1495, 64-bit, Access server IV)

 

Je n'ai pas été paresseux et j'ai édité le fichier Exchange et il s'est avéré que par minute sur Si-3.17

460 transactions ont été effectuées, et le test CopyTicks() avecCOPY_TICKS_TRDAE a montré qu'il y avait 294 transactions.

Bûches dans le sous-sol

Dossiers :
Si_deals.zip  45 kb
 
prostotrader:

Je n'ai pas été paresseux et j'ai édité le fichier Exchange et il s'est avéré que par minute sur Si-3.17

460 transactions ont été effectuées, et le test CopyTicks() avecCOPY_TICKS_TRDAE a montré qu'il y avait 294 transactions.

Bûches dans le sous-sol

CopyTicks ment - urgent à SR !
 
fxsaber:
CopyTicks ment - d'urgence au SD !

Demande déjà publiée#1656450

Ajouté par

Seulement, je pense que c'est l'historique des tics qui ment.

A l'époque j'écrivais l'indicateur "indicateur de tous les métiers"

J'avais des incohérences avec l'histoire.

 

Oooop`s !

La béquille a fonctionné correctement !

2017.01.24 10:00:00.005 Time_sync_forts (URKA-3.17,H1)  Local time sync is done. Symbol = RTS-3.17 Sync hour = 10 Sync min = 0 Sync sec = 0 Sync ms = 5
2017.01.24 10:00:02.764 trader (ED-3.17,H1) OnTradeTransaction: Сделка совершена. Билет = 51601238


Et le travail est fait !

2017.01.24 10:00:02.763 Trades  'ххххх': deal #33631469 sell 1.00 ED-3.17 at 1.0761 done (based on order #51601238)


Code expert joint.

Dossiers :
 

J'ai ajouté l'effacement en journée, mais l'effacement en soirée ne fonctionne pas,

parce que les enchères commencent à 19 h et à 19 h 05.

Dossiers :
 
fxsaber:
CopyTicks ment - de toute urgence au SR !
Le SR a écrit que la demande a été acceptée pour exécution...
 
prostotrader:
Le SR a écrit que la demande a été acceptée pour exécution...
Restez en contact, s'il vous plaît. @Dmitriy Skub a affirmé que l'historique de Copytix correspond aux données de la bourse à 100%.