Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Broker or Zorro Messages? #483555
06/14/21 14:08
06/14/21 14:08
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Over the past month messages as the following have appeared when trading at Oanda:

Code
!Gateway Timeout. 
!Gateway Timeout. 
!Gateway Timeout. 
!Gateway Timeout. 
!Gateway Timeout. 
!Gateway Timeout. 
!Trade not open - xxxx
!Result: {"errorMessage":"Gateway Timeout."}


My recollection is that anything starting with "!" is a message from the Broker, not Zorro, which would mean that both "Gateway Timeout." and "Trade not open - xxxx" came from Oanda (or Oanda's API).

Is this understanding correct?

Also, would Black Box Recording (BBR) provide more information that Oanda could find helpful in resolving this? Is it worth running in BBR for some time?

Thanks.

Re: Broker or Zorro Messages? [Re: DdlV] #483558
06/15/21 07:26
06/15/21 07:26
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
"!" can also be a message from the plugin, but "Gateway Timeout" is likely from Oanda. Oanda will not provide more information when it's black box recorded.

Re: Broker or Zorro Messages? [Re: DdlV] #483565
06/15/21 11:29
06/15/21 11:29
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @jcl. I was afraid the answer might be like that. Oanda has already taken the position "ask the software provider" to resolve.

With no additional info available, even with BBR, it seems there's no way to resolve what happened? It hasn't happened again for a couple of weeks...

Re: Broker or Zorro Messages? [Re: DdlV] #485875
05/02/22 04:54
05/02/22 04:54
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi @jcl. Sorry for the necro-post, but these errors have begun again. As before, neither Oanda nor Black Box are any help. The errors show only in the log, not in diag.txt, in neither case with any additional information. Example errors are:

Code
!Trade not found - v3/accounts/xxx-xxx-xxxxxxx-xxx/trades/xxxx


and

Code
!Trade not open - xxxx
!Result: <html>
<head><title>524 Origin Time-out</title></head>
<body bgcolor="white">
<center><h1>524 Origin Time-out</h1></center>
<hr><center>cloudflare-nginx</center>
</body>
</html>


While the "cloudflare" reference points to a security change on Oanda's side, I don't expect you have any more insight than before. Rather, I'd like to suggest/request that when a plugin posts an error, it also post the Broker command(s)/interaction that precedes the error.

Thanks.

Re: Broker or Zorro Messages? [Re: DdlV] #485877
05/02/22 09:10
05/02/22 09:10
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Use the DIAG flag for Verbose. You will then see all broker commands and their return values in the diag.txt.

Re: Broker or Zorro Messages? [Re: DdlV] #485886
05/02/22 17:03
05/02/22 17:03
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks Petra. But doesn't Verbose=15 mean DIAG flag is on? I.e., DIAG=8 and 7+8=15...

Re: Broker or Zorro Messages? [Re: DdlV] #485891
05/03/22 13:34
05/03/22 13:34
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Yes, DIAG is 8, so with 15 you have already a diag.txt and should see the broker commands inside. Look for BrokerBuy, BrokerSell etc.

Re: Broker or Zorro Messages? [Re: DdlV] #485894
05/03/22 19:05
05/03/22 19:05
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks Petra.

- I only see (lots of) "BrokerAsset" and "BrokerTime". It appears the file has overwritten itself and all prior information lost - is this how diag.txt works? I have always had trouble understanding diag.txt files - they always seem to be incomplete...

- What is the difference between <strategy>diag.txt and <strategy>_<asset>diag.txt? Under what conditions is each of these files created and written to?

Thanks.

Re: Broker or Zorro Messages? [Re: DdlV] #485900
05/04/22 11:50
05/04/22 11:50
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
The diag.txt contains only the 10000 most recent events. The asset name is included when the strategy is not for a specific asset.

Re: Broker or Zorro Messages? [Re: DdlV] #485903
05/04/22 18:14
05/04/22 18:14
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @Petra.

I seem to get both diag.txt files every time...

More importantly, Zorro locks the diag.txt file hard. How can I access the diag.txt file without stopping Zorro?

Thanks.

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1