This version will become the official release when no bugs are found in the next time. Zorro 2.15 features starting, stopping,and communicating with other Zorro instances, new IB order types, more flexible bar generation, and many more. The full list of new features can be found on http://manual.zorro-project.com/new.htm.
Please test everything and report any issues here!
Re: New Zorro version 2.15
[Re: jcl]
#477486 07/02/1906:0207/02/1906:02
What is the recomended procedure to replace actualized Z strategies (Z7 & Z12) and parameters in a case like this where you have new features like BR_WEEKEND replacing WEEKEND so that you need the new 2.15 to run the Z strategies?
a. use the new Zorro 2.15 with new parameters NOW (in the case there are no such major changes you could use the new parameters with the old Zorro version). b. whait till final release.
I guess you have tested Zorro 2.15 with the Z strategies already and found no bug, so a. wolud be safe. For other own developed strategies, final release is more obvious for me.
Re: New Zorro version 2.15
[Re: jcl]
#477488 07/02/1907:2407/02/1907:24
You can use 2.15. It passed all tests so far. When a parameter is replaced, the old one is still supported for a long time. Don't use it for new systems, but old system should still work.
Re: New Zorro version 2.15
[Re: jcl]
#477491 07/02/1914:2407/02/1914:24
Hi JCL, Now that the weekend parameter is gone from the editable z.ini file, how does one set the weekend parameter, now called the BarMode flag for the edit locked z systems? For example, it appears that no bar will be created, but will my instance still be logged into the exchange server? Previously, the system would log out and log back in once trading was ready. This was very useful as the exchange would periodically update their local servers creating log in issues when weekend flag was not properly set.
Re: New Zorro version 2.15
[Re: jcl]
#477503 07/02/1922:0307/02/1922:03
The Z systems have their own bar mode flags, so the weekend parameter is not needed anymore. Explicitly logging off is also not needed - this was required for the old FXCM API, but not anymore for the new one.
AFAIK there is no "Z7_29.par". Such error messages could be caused by mixing up new and old versions.
Re: New Zorro version 2.15
[Re: jcl]
#477525 07/04/1912:0707/04/1912:07
The Z systems have their own bar mode flags, so the weekend parameter is not needed anymore. Explicitly logging off is also not needed - this was required for the old FXCM API, but not anymore for the new one.
Update on my question: Weekend here and my log is now spammed with "Service Unavailable. Please try again messages". As previously mentioned, this was solved by logging the system out and then back in. The other benefit was that sessions were guaranteed to re-authenticate which did not always happen under previous versions of zorro without weekend flag. I am using OANDA API
Re: New Zorro version 2.15
[Re: jcl]
#477565 07/07/1918:4207/07/1918:42
- Service unavailable: this message is suppressed, so you should normally not get it at all regardless of the logoff flag. Please contact Support with the log.
- Fac file locked: Did this also happen with earlier versions? Under which circumstances?
I just tried emailing support but the logfile was too large to attach. I copy and pasted logfile snippets and information for support
FYI, log files usually compress very well into zip files. Also, consider sharing large files via a service, such as Google Drive or Microsoft OneDrive.
I have just tried to test the Z12 with 2.15. However, this seems to become an S only feature? Is this a bug or intended change? I have also found out testing Z9 requiring S license.
Re: New Zorro version 2.15
[Re: jcl]
#477583 07/11/1907:2607/11/1907:26
about the new feature " Zorro instances can now start, stop, and communicate with each other."
I have two Zorros 2.15 trading in an AWS, a Z12 and my own script. I see that the seccond Zorro (my own script) starts trading and then seams to log-off, but the Trading Status page continues to deliver new updates every minute. So i understand the seccond Zorro gets price information from the first one, since they are both connected to the same broker, but different accounts (Dukascopy).
What hapens when one of the Zorro freezes or crashes? Any conflicts if BarPeriod are different? Guess not since it works. What about placing orders? Will the seccond instance re-connect, place orders and then disconnect again? How does this works?
From the manual under "Integrating Zorro processes" i get very few infos on this. Is there any more detailed information on this feature?
A suggestion woud be to include another color on the Zorro indication square, green when connected, red when offline and another one to specific say it gets data from another Zorro. Otherwise, as in my case, if you look at the Zorro instances one of them seams to be disconnected. There is no error message but the square is red.
Last edited by ags; 07/11/1909:00.
Re: New Zorro version 2.15
[Re: jcl]
#477586 07/11/1911:2107/11/1911:21
By default the Zorros are not connected. For this you need code to establish the connection with the commands described in the manual. The minute update of the status page is a HTML effect.
Re: New Zorro version 2.15
[Re: jcl]
#477588 07/11/1913:5007/11/1913:50
Indeed... after a while the square was green again and they are independently working as usual.
But, what was that period of time where one of the instances was disconected? hmm, will keep an eye on it and report any other issue/effect i can see.
12.07.2019: this was a behaviour related to the new BarMode, specifically BR_LEISURE in combination BR_SLEEP and BR_LOGOFF. In this way Zorro trades only between StartMarket and EndMarket which by default are 9:30 to 16:00 only, and i was looking outside these hours. My intention with the script is also to trade longer times, so i need to modify my script again.
Last edited by ags; 07/12/1910:49.
Re: New Zorro version 2.15
[Re: jcl]
#477603 07/14/1911:4807/14/1911:48
It happens with any script, which plots an indicator or other data below the price curve. At least for me it does. An example script, as already said is Workshop 4.
Re: New Zorro version 2.15
[Re: bjomu]
#477610 07/15/1921:1607/15/1921:16
This is caused by data type conversion: DATE is a double float and the unix time is an integer. The correct fix would be rounding to the next full second:
utm(wdate(0)+0.5/(1440.*60.))
I've put a notice to the developers for doing that on the next occasion. It is not related to 2.15.
Re: New Zorro version 2.15
[Re: jcl]
#477686 07/21/1918:1007/21/1918:10
What I do miss a little bit with 2.15 is the Zoom Out function in the Chart viewer of previous versions. Now I can always only click on "Total" to see the entire chart again. Makes navigating large charts more cumbersome. I have attached two pictures to show the difference. Are there any plans of allowing to gradually zoom out again in the future?
Re: New Zorro version 2.15
[Re: jcl]
#477694 07/22/1905:3807/22/1905:38
I have new problem with Zorro 2.15.0 S. If running on the WIN server 2012 I see this ( picture ). First instance is OK, but If start second and more is a very slow.
Last edited by Grat; 08/02/1914:55.
Re: New Zorro version 2.15
[Re: jcl]
#477835 08/02/1909:0808/02/1909:08
I this problem already send but still is on table. With Zorro 2.15.3 and win server 2012, I see in the "task manager" Zorro "not responding". I trying use lock() and unlock() but no change. If running only one instance, all is OK.
There can be many reasons why two scripts lock each other or get nonresponsive. For instance by an infinite loop or when they write in the same file. Or the server has not enough resources. If you can't find the problem on your own, explain the details and post the script, but please in a different thread. This one is for Zorro 2.15 only.
Re: New Zorro version 2.15
[Re: jcl]
#478863 01/02/2018:2201/02/2018:22
The Z systems have their own bar mode flags, so the weekend parameter is not needed anymore.
With the weekend parameter we had two holidays included by default: "December 25 and January 1 count as weekend. Other holidays are not automatically included, but can be taken account of in the script." 25.12. is also included in the new bar mode on Z strategies, but apparently the 1.1. is not... Tested with Zorro 2.20.2: Z2 tried to open several positions during New Year's Day and wanted to close one position here. After the market opened again at 23:00 it immediately closed that position under very bad conditions (huge spread due to just opened market). The positions it previously wanted to open on 1.1. it didn't try again after the market opened, though. Is there any way to specify the holidays / marked closed periods for the Z strategies? Or is it just a bug in the bar mode flags or the usage in the Z strategies scrips that will be fixed in the future? Thanks.
Re: New Zorro version 2.15
[Re: jcl]
#478870 01/03/2008:5001/03/2008:50
I had the same experience on 01.01.2020 with Z12 and Z2. Also my own scripts, that contain BR_WEEKEND had the same issue. I now added BR_LEISURE in my script, will this perhaps resolve the problem? (of having Zorro activity in a closed market period?)