Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,758 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 5 1 2 3 4 5
Re: Zorro 1.32 [Re: DdlV] #452519
06/15/15 13:24
06/15/15 13:24
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. Unfortunately, 1.322 crashes on (Demo) Trade.

Code:
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	Zorro.exe
  Application Version:	1.3.2.1
  Application Timestamp:	557d6efb
  Fault Module Name:	Zorro.exe
  Fault Module Version:	1.3.2.1
  Fault Module Timestamp:	557d6efb
  Exception Code:	c0000005
  Exception Offset:	0011b85a
  OS Version:	6.1.7601.2.1.0.768.3
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789



It loads prices, prints the resumed messages, and then crashes. In diag.txt I see that it's processing runs, but doesn't get to the current date. Could it be overflowing an array or something? This strategy is using BarPeriod=1...

Thanks.

Re: Zorro 1.32 [Re: DdlV] #452520
06/15/15 13:36
06/15/15 13:36
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Yes, an overflowing array can indeed cause a crash. If you can't find the problem, please post the script and I'll look through it.

Re: Zorro 1.32 [Re: jcl] #452523
06/15/15 15:04
06/15/15 15:04
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
I was asking if the 1322 change included an array that might be overflowing...

Let me be clearer: 1320 successfully resumes Trading. 1322 crashes as above. Therefore, I suspect something in the 1322 changes is the problem.

Thanks.

Re: Zorro 1.32 [Re: DdlV] #452528
06/15/15 15:55
06/15/15 15:55
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Update: Yes, we found the problem. It was apparently an compatibility issue of resuming a session by the last beta, 1.32.0 This will be fixed and I'll upload a new version.

- I just got the new version: http://server.conitec.net/down/Zorro_1323.exe

Last edited by jcl; 06/15/15 16:50.
Re: Zorro 1.32 [Re: jcl] #452536
06/15/15 23:50
06/15/15 23:50
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl!

More info on reonnecting: Today it happened without Sleep involved. There have been some Internet interruptions, and somehow Zorro settled into a pattern of ~30 seconds connected every 1 hour, at more-or-less exactly the same time every hour. (FYI, strategy's BarPeriod=1.) After 4+ hours of this, I clicked Stop, No, and No. Zorro posted as shown below, and cleared the User, password, and 2nd account drop-down, then just sat in Trade, Offline. I tried re-selecting the Demo account from 2nd drop-down, which also populated the User and password fields, and again did Stop, No, No, with the same result. Zorro is still in Trade mode, but Offline and going nowhere.

Then I did Stop, No, Yes. Fields again cleared. Again selected the account and fields re-populated. Clicked Trade. After compiling, same result - except this time Trade isn't entered.

This is the last bit from the log:

Code:
...
[Mon 15.06.15 19:22]  48987 +0 -9 //\\\
[Mon 15.06.15 19:23]  48987 +0 -9 //\\\
[Mon 15.06.15 19:24]  48987 +0 -9 //\\\
[Mon 15.06.15 19:25]  48987 +0 -9 //\\\
[Mon 15.06.15 19:26]  48986 +0 -10 //\\\......
[Mon 15.06.15 20:27]  48986 +0 -10 //\\\.....
[Mon 15.06.15 21:27]  48983 +0 -13 //\\\.....
[Mon 15.06.15 22:27]  48983 +0 -13 //\\\.....
[Mon 15.06.15 23:27]  48983 +0 -13 //\\\
Logout.... ok
Login FXCM...
Broker: Login - Unable to obtain station descriptor. HTTP send request failed object='/Hosts.jsp?ID=32954415&PN=Demo&SN=ForexConnect&MV=4&AT=PLAIN' errorCode=12029
Can't connect!
Login FXCM....
Broker: Login - Unable to obtain station descriptor. HTTP send request failed object='/Hosts.jsp?ID=32989703&PN=Demo&SN=ForexConnect&MV=4&AT=PLAIN' errorCode=12029
Can't connect!
Login FXCM..
Broker: Login - Unable to obtain station descriptor. HTTP send request failed object='/Hosts.jsp?ID=33395134&PN=Demo&SN=ForexConnect&MV=4&AT=PLAIN' errorCode=12029
Can't connect!



Exited Zorro, restarted, & did Trade. Zorro restarts normally.

HTH.

Re: Zorro 1.32 [Re: DdlV] #452539
06/16/15 03:36
06/16/15 03:36
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. 1.323 now resumes the old trades, but after >1 hour there's still no chart. The old trades range from 1 week to 1 day ago. Is that not recent enough? Under what conditions (age in time? age in bars?) does a resumed trade cause the chart to be plotted?

Thanks.

Re: Zorro 1.32 [Re: DdlV] #452543
06/16/15 07:28
06/16/15 07:28
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
A chart is only plotted when there is something to plot - at least one completed bar. Also the chart is plotted once per day only. So do not expect to start the session and see immediately a chart.

- I'll ask FXCM if they know about recent connection problems in the UK. They have released a new API beta version in March and claimed that it is more stable. But this Zorro update still uses the old version. If you want, I can send you the latest beta API - we've found no problems with it so far.

Otherwise, when the API disconnects and fails to reconnect, click "Stop", but answer "no" on both questions. This will normally resolve the situation by releasing and reopening the FXCM API.

Re: Zorro 1.32 [Re: jcl] #452547
06/16/15 12:38
06/16/15 12:38
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

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

Are you sure about the plotting schedule? I've experienced the chart being first plotted in much less than 1 day. And also updated in much <1 day.

What's the definition of "day" in this case? 24 hours from Trade start? Or midnight UTC after Trade start?

With BarPeriod=1 in this strategy, there are quite a few completed bars since starting over 9 hours ago... laugh There is also a completed trade as well as a new trade entered since restart... Still no plot. (But, yes, still <1 day by either definition above.)

Re. connection: Although my account is with FXCM UK, I'm running on a VPS in NYC. The beta API sounds like an improvement, but I'm wary of adding more variables. Plus, this is so far only happening in Demo on my test machine. But I'm happy to run the beta API on my test machine if it will help to have someone else trying it, though. Does it fix the Equity bug?! laugh

Re. Stop, No, No, that's what I've been doing per above with the unexpected results noted above.

Thanks.

Re: Zorro 1.32 [Re: DdlV] #452550
06/16/15 14:20
06/16/15 14:20
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
I have not programmed the plot and do not know when exactly it starts, but I strongly assume that "day" just means the first bar after midnight.

We're running the FXCM beta API not long enough to be sure about the equity bug, which only becomes apparent after some time continuous trading. But anyway here it is:

http://server.conitec.net/down/FXConnect132.zip

I'd say try it on your own risk, but I guess you have the risk anyway - the previous version was also a beta, and the official release version was from 2013 and is even worse than the beta.

Re: Zorro 1.32 [Re: jcl] #452551
06/16/15 14:32
06/16/15 14:32
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl. I'll switch to it on the test machine sometime after I see that the current Demo Trade has plotted something(s). So I have a better idea when that happens... laugh

Are you using this beta API with real $?

Thanks.

Page 3 of 5 1 2 3 4 5

Moderated by  Petra 

Gamestudio download | 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