Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 843 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 7 1 2 3 4 5 6 7
Re: Zorro 1.34 [Re: jcl] #454795
09/21/15 14:01
09/21/15 14:01
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
Code:
[Mon 21.09.15 05:00]  49948 -46 +0 
[Mon 21.09.15 06:00]  49945 -46 +0 
BrokerBuy EUR/USD: 42170 ms
Error 070 - possibly orphaned trade
-3000 EUR/USD at 06:00:40 UTC
(EUR/USD:PA:S) 05:59 Can't open 3@1.1307

[Mon 21.09.15 07:00]  49946 -46 +0 
BrokerBuy EUR/USD: 622 ms
[EUR/USD:PA:S3659] Short 3@1.1303 Risk 45$ tl at 06:59


Re: Zorro 1.34 [Re: GPEngine] #454910
09/29/15 02:32
09/29/15 02:32
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
Another.
Code:
[Mon 28.09.15 20:00] 50013 +20 +0 
[Mon 28.09.15 21:00] 50013 +20 +0 
Error 070 - possibly orphaned trade
3000 USD/JPY at 21:00:40 UTC
(USD/JPY:PA:L) 20:59 Can't open 3@119.94

[Mon 28.09.15 22:00] 50013 +20 +0


Re: Zorro 1.34 [Re: GPEngine] #454911
09/29/15 03:54
09/29/15 03:54
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
There is a 3@119.936 USD/JPY open in the account. So I guess it did go through. I can't tell whether to manually close it. What do you think?

Anyway, you asked for Verbose diag stuff. I hope this helps you diagnose the issue.

Attached Files
Z7diag.txt (186 downloads)
Z7demo.log.txt (160 downloads)
Re: Zorro 1.34 [Re: GPEngine] #454917
09/29/15 10:11
09/29/15 10:11
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
All fine in your diags as far as I see. Orphaned trades must always be manually closed.

Re: Zorro 1.34 [Re: jcl] #454927
09/29/15 15:25
09/29/15 15:25
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
Zorro should have a dedicated mode where it aggressively closes trades that don't belong to the current strategy, and naturally repeatedly attempts to close its own orphan positions. It should just always try to align the net positions in the account with the strategy's intentions.

Re: Zorro 1.34 [Re: GPEngine] #454928
09/29/15 17:47
09/29/15 17:47
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
This might lead to chaos if one trades more than one strategy on one account. But maybe a switch could be a solution.

Re: Zorro 1.34 [Re: Sphin] #454941
09/30/15 02:30
09/30/15 02:30
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
I can't really trade two strats in an NFA mode account anyway

Re: Zorro 1.34 [Re: GPEngine] #454942
09/30/15 06:58
09/30/15 06:58
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
There is no real solution for orphaned trades.

The FXCM API has internal lists of opened and rejected trades. A trade becomes orphaned when Zorro opens one, but it does not appear in either of the two lists. So Zorro does not know if it was opened or rejected, and does not have its trade ID. Without trade ID, Zorro can not close the trade. This must be done manually. You could theoretically read the ID on the FXCM platform and enter it manually in Zorro, but that would obviously make not much sense.

The FXCM API is the only API that I know where such a situation can happen, apparently due to a bug.

Re: Zorro 1.34 [Re: jcl] #454955
09/30/15 15:27
09/30/15 15:27
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
That's terrible!
Thanks for the explanation.

Re: Zorro 1.34 [Re: GPEngine] #454970
10/01/15 06:07
10/01/15 06:07
Joined: May 2013
Posts: 627
Bonn
Sundance Offline
User
Sundance  Offline
User

Joined: May 2013
Posts: 627
Bonn
I also have the orphaned trade entrys in my logs.
I have trades open but can't see which trade is now orphaned. Where can I get a list of trades which Zorro handles? The 'Result' TAb doesn't help...


I also would vote for updating the ugly Zorro GUI. I really would like to see more info when I take a direct glance at the GUI.

PS: I set verbose to 3 and restarted Z. I see no other way of getting the info I need.

Page 5 of 7 1 2 3 4 5 6 7

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