Sembrano ritardi di rete sul lato client, ecco come è andata l'esecuzione sul lato server commerciale:
062018.04.2516:49:24.02485.***.***.***'***': exchange buy 10.00 Si-6.18 at market (62785 / 62788 / 62787)
062018.04.2516:49:24.02485.***.***.***'***': request transfered to dealers, rule 'FORTS Gateway #real' (exchange buy 10.00 Si-6.18 at market)
062018.04.2516:49:24.028127.0.0.1'2': request from'***' (exchange buy 10.00 Si-6.18 at market)
062018.04.2516:49:24.029127.0.0.1'2': placed for execution for'***' (exchange buy 10.00 Si-6.18 at market)(62785 / 62788 / 62787)
062018.04.2516:49:24.02985.***.***.***'***': order placed for execution [#87849076 buy 10.00 Si-6.18 at market], time 5.98 ms
062018.04.2516: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
062018.04.2516: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
062018.04.2516:49:24.041 FORTS Gateway #real '***': deal performed [#48508923 buy 1.00 Si-6.18 at 62788]
062018.04.2516:49:24.041'***': order performed partially buy 1.00 at 62788 [#87849076 buy 10.00 Si-6.18 at market]
062018.04.2516: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
062018.04.2516:49:24.043 FORTS Gateway #real '***': deal performed [#48508924 buy 1.00 Si-6.18 at 62788]
062018.04.2516:49:24.043'***': order performed partially buy 1.00 at 62788 [#87849076 buy 10.00 / 1.00 Si-6.18 at market]
062018.04.2516: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
062018.04.2516:49:24.048 FORTS Gateway #real '***': deal performed [#48508925 buy 5.00 Si-6.18 at 62788]
062018.04.2516:49:24.048'***': order performed partially buy 5.00 at 62788 [#87849076 buy 10.00 / 2.00 Si-6.18 at market]
062018.04.2516: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
062018.04.2516:49:24.050 FORTS Gateway #real '***': deal performed [#48508926 buy 1.00 Si-6.18 at 62789]
062018.04.2516:49:24.050'***': order performed partially buy 1.00 at 62789 [#87849076 buy 10.00 / 7.00 Si-6.18 at market]
062018.04.2516: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
062018.04.2516:49:24.053 FORTS Gateway #real '***': deal performed [#48508927 buy 1.00 Si-6.18 at 62789]
062018.04.2516:49:24.053'***': order performed partially buy 1.00 at 62789 [#87849076 buy 10.00 / 8.00 Si-6.18 at market]
062018.04.2516: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
062018.04.2516:49:24.054 FORTS Gateway #real '***': deal performed [#48508928 buy 1.00 Si-6.18 at 62789]
062018.04.2516:49:24.055'***': order performed buy 1.00 at 62789 [#87849076 buy 10.00 / 9.00 Si-6.18 at market]
062018.04.2516: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
Inoltre, la cronologia di trading MT5 è bugiarda, mostrando che tutto è stato eseguito perfettamente.
Il problema della sincronizzazione con l'ora della borsa può essere risolto molto semplicemente
Dalla specifica Plaza 2
Basta aggiungere il tempo alla struttura MqlBookInfo :)
Non lo so, non ha niente a che fare con lo script di cui sopra. Mostratemi cosa emette sul conto di trading dove si è verificato il problema.
Lo script sbagliato era :)
Esilarante!
Il problema della sincronizzazione con l'ora della borsa può essere risolto molto semplicemente
Dalla specifica Plaza 2
Cioè basta aggiungere il tempo alla struttura MqlBookInfo :)
Ma come risolverà il problema con la lettura dei registri, cioè quando io ho un tempo, e exchange/server ne ha un altro?
In ogni caso, non è disponibile per noi.
Devo usare l'ora che è ancora più incasinata perché l'ora non coincide con i log del server.
Forum sul trading, sistemi di trading automatico e test di strategie di trading
FORTI. Domande sull'esecuzione
Aleksey Vyazmikin, 2018.04.26 12:56
Sembrano ritardi di rete sul lato client, ecco come è andata l'esecuzione sul lato server commerciale:
Inoltre, la cronologia di trading MT5 è bugiarda, mostrando che tutto è stato eseguito perfettamente.
Questo è particolarmente significativo.
Il tempo per impostare ed eseguire un ordine è lo stesso :)
Il tempo per impostare ed eseguire un ordine è lo stesso :)
Strana coincidenza che il tempo sia un multiplo di secondo (nessun millisecondo dopo il punto).
Allora è ancora più assurdo, perché l'ora non corrisponde ai log del server
Inoltre, la cronologia di trading MT5 è bugiarda, mostrando che tutto è stato eseguito perfettamente.
Strana coincidenza che il tempo sia un multiplo di secondo (nessun millisecondo dopo il punto).
Sì, mi infastidisce molto, ma penso che sia un'impostazione del server.
Questo è particolarmente significativo.
Il tempo per impostare ed eseguire un ordine è lo stesso :)
Mi chiedo se qualcuno che non è da Otkritie, è lo stesso senza millisecondi nella storia lì o cosa?