2 registered members (Ayumi, 1 invisible),
584
guests, and 1
spider. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Verbose messages
[Re: Sphin]
#473090
06/12/18 19:59
06/12/18 19:59
|
Joined: Feb 2017
Posts: 1,731 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,731
Chicago
|
I don't know, but since it says "BrokerSell USDCHF_FXCM: 772 ms", I'm going to guess that this is the time it takes your FXCM plugin to process the BrokerSell call. If true, your plugin blocked for 0.772 seconds! http://zorro-project.com/manual/en/brokerplugin.htmI certainly hope I am incorrect. In the case of broker arbitrage, it is preferable to send both orders, then confirm both outcomes later, rather than to order-block-confirm, order-block-confirm.
|
|
|
Re: Verbose messages
[Re: AndrewAMD]
#473102
06/13/18 15:58
06/13/18 15:58
|
Joined: Dec 2013
Posts: 568 Fuerth, DE
Sphin
OP
User
|
OP
User
Joined: Dec 2013
Posts: 568
Fuerth, DE
|
In the case of broker arbitrage, it is preferable to send both orders, then confirm both outcomes later, rather than to order-block-confirm, order-block-confirm. I guess this must be done by the plugin or do I have any chance to affect it?
|
|
|
Re: Verbose messages
[Re: AndrewAMD]
#473210
06/21/18 12:39
06/21/18 12:39
|
Joined: Feb 2017
Posts: 1,731 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,731
Chicago
|
bump jcl, does the FXCM plugin process orders asynchronously or synchronously? And if possible please give some info to the time that is measured. Is the guess of AndrewAMD correct? This time seems to be independent from using FXCM or OANDA via API or any broker via MT4 and from the location of the trading unit (at home or at any datacenter), it's mostly 400-800 ms.
|
|
|
Re: Verbose messages
[Re: jcl]
#473233
06/22/18 18:24
06/22/18 18:24
|
Joined: Dec 2013
Posts: 568 Fuerth, DE
Sphin
OP
User
|
OP
User
Joined: Dec 2013
Posts: 568
Fuerth, DE
|
Based on my experiences with nearly the same times measured: is it really possible that the most time consumption is caused by the trade process itself within the broker network? This would mean that the location of the trading bot is nearly unimportant and maybe making the plugin faster (in any way) won't save time at all and therefore might have not the desired result.
If the time stamps I recorded in the log are correct Zorro sends already both orders (in case of broker arbitrage) at the same time and not sequential, e.g.:
Time Stamp: 2018-06-22 05:30:48.029 Asset: EURUSD_AT Enter 1S EURUSD_AT Stop 0.0050 TP 0.0050 at 05:30:48 BrokerBuy EUR/USD: 620 ms [EURUSD_AT::S6611] Short 1@1.16380 Risk 4 p Bid 1.16373 at 05:30:48 Stop 1.1688 Trail 0.0000 TP 1.1588 Com 0.0600 Mrg 0000 Net 0 Units 859.8378 MTotal 0.00 MCost 2.5000 PCost 0.08598 Opn 2183
Time Stamp: 2018-06-22 05:30:48.029 Asset: EURUSD_FXCM Enter 1L EURUSD_FXCM Stop 0.0050 TP 0.0050 at 05:30:48 BrokerBuy EUR/USD: 502 ms [EURUSD_FXCM::L9649] Long 1@1.16383 Risk 5 p at 05:30:48 Stop 1.1583 Trail 0.0000 TP 1.1683 Com 0.0600 Mrg 0000 Net 0 Units 859.8231 MTotal 0.00 MCost 10.0000 PCost 0.08598 Opn 2183
EURUSD_AT is traded via MT4.
Last edited by Sphin; 06/23/18 18:13.
|
|
|
|