Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 681 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
Zorro on Linux #468606
10/11/17 15:59
10/11/17 15:59
Joined: Aug 2016
Posts: 61
D
dr_panther Offline OP
Junior Member
dr_panther  Offline OP
Junior Member
D

Joined: Aug 2016
Posts: 61
This thread is dedicated to Zoro on Linux.

I successfully install Zorro 1.66 on Ubuntu 18.3 using Wine and Playonlinux, no special settings or whatever needed.
After adding shortcuts to Zorro.exe and Notepad++, most things works as expected.


In the very early state I see the following shortcomings so far:

*) The Help does not work, I use the on-line manual

I would be glad if people could share their experience and help to overcome the shortcomings together.

cheers

Last edited by dr_panther; 10/11/17 16:04.
Re: Zorro on Linux [Re: dr_panther] #468610
10/11/17 16:12
10/11/17 16:12
Joined: Jun 2016
Posts: 30
france
S
stephane97490 Offline
Newbie
stephane97490  Offline
Newbie
S

Joined: Jun 2016
Posts: 30
france
I seems to be a good news, i'll try to install zorro on linux too

Re: Zorro on Linux [Re: dr_panther] #468618
10/11/17 16:50
10/11/17 16:50
Joined: Jun 2016
Posts: 30
france
S
stephane97490 Offline
Newbie
stephane97490  Offline
Newbie
S

Joined: Jun 2016
Posts: 30
france
the "help" works for me !!

Re: Zorro on Linux [Re: stephane97490] #468809
10/21/17 06:55
10/21/17 06:55
Joined: Jul 2016
Posts: 64
G
gtell Offline
Junior Member
gtell  Offline
Junior Member
G

Joined: Jul 2016
Posts: 64
Thanks for sharing this good news.
What about interaction with R?

Re: Zorro on Linux [Re: gtell] #468810
10/21/17 09:08
10/21/17 09:08
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline
Senior Member
nanotir  Offline
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
what about R, multicore, trade mode?
Those do not work with ubuntu 16.10 and zorro 1.60

Re: Zorro on Linux [Re: nanotir] #468870
10/24/17 09:05
10/24/17 09:05
Joined: Oct 2017
Posts: 25
F
fran Offline
Newbie
fran  Offline
Newbie
F

Joined: Oct 2017
Posts: 25
To see the help files (.chm) install this:
sudo apt-get install xchm
Now you can open the help from Linux.

Re: Zorro on Linux [Re: fran] #468947
10/28/17 22:05
10/28/17 22:05
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Okay, it's a bit experimentary but at least it works and is surely the cheapest way of an always-up bot. laugh



Zorro on a Raspberry Pi 3 Model B with ExaGear Desktop emulating x86 arch for wine.

Re: Zorro on Linux [Re: Sphin] #468975
10/31/17 17:19
10/31/17 17:19
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
2 questions:

Has someone made already experiences with the trade mode under wine like Nanitek asked? How long did you trade live and was it without problems?

Does someone know if Zorro uses .NET framework directly or is it for a component e.g. npp?

Thanks, Sphin

Re: Zorro on Linux [Re: dr_panther] #470174
01/01/18 00:02
01/01/18 00:02
Joined: Dec 2017
Posts: 1
J
johnsmith1608 Offline
Guest
johnsmith1608  Offline
Guest
J

Joined: Dec 2017
Posts: 1
A little extra on this topic to get the program running under linux

firstly I am running opensuse tumbleweed with the system version of wine and playonlinux

to get the software working I had to install wine-gecko to render the charts properly

I also used wine settings to ensure the fonts were displayed larger and then they are less jagged on my screen

I also set up a playonlinux shortcut to display the help using the wine internal help viewer hh.exe as it did not automatically display help from the menus/buttons. I have also installed kchmviewer so I can read the help from linux when off line

hth

johnsmith1608

Re: Zorro on Linux [Re: johnsmith1608] #471177
02/21/18 19:47
02/21/18 19:47
Joined: Feb 2018
Posts: 7
A
alb Offline
Newbie
alb  Offline
Newbie
A

Joined: Feb 2018
Posts: 7
hi, I'm a Linux user too and I run zorro in wineHQ. Apparently it works but caution because I had run the same optimization with the same data (zorro S 1.74.8 script workshop 6 StartDate 2012 EndDate 2016) in a linux box and in a Windows pc but the results was completly different. So I stoped to trust in data produced by zorro under wineHQ.

my conf is ubuntu 16.04, playonlinux, arch 32bit, wine ver 1.9.24, zorro 1.74.8

finally I removed zorro from winehq


Last edited by alb; 02/21/18 21:14.
Re: Zorro on Linux [Re: alb] #474060
09/16/18 15:25
09/16/18 15:25
Joined: Sep 2018
Posts: 2
M
Markuz Offline
Guest
Markuz  Offline
Guest
M

Joined: Sep 2018
Posts: 2
I installed Zorro 1.83.2 on Linux using wine (32 bit). I also installed wine-gecko and jre (using the workaround mentioned at winehq and adding a symlink to jvm.dll in the Zorro installation directory). The documentation is rendered correctly. However, the charts are missing fonts (legends, axes numbers, etc).

I know that Zorro is not supported under Linux but do you have an idea how to fix this problem?

Re: Zorro on Linux [Re: Markuz] #474061
09/16/18 16:07
09/16/18 16:07
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi Markuz. Install corefonts. I did it via winetricks via q4wine...

HTH.

Re: Zorro on Linux [Re: DdlV] #474062
09/16/18 16:33
09/16/18 16:33
Joined: Sep 2018
Posts: 2
M
Markuz Offline
Guest
Markuz  Offline
Guest
M

Joined: Sep 2018
Posts: 2
Thank you very much. This solved my problem.

Re: Zorro on Linux [Re: fran] #474378
10/10/18 19:18
10/10/18 19:18
Joined: Oct 2018
Posts: 72
J
JamesHH Offline
Junior Member
JamesHH  Offline
Junior Member
J

Joined: Oct 2018
Posts: 72
Originally Posted By: fran
To see the help files (.chm) install this:
sudo apt-get install xchm
Now you can open the help from Linux.


I have xchm, but when I click on Help I just get a blank white window. Is there something else I should be doing?

Re: Zorro on Linux [Re: JamesHH] #474411
10/13/18 08:50
10/13/18 08:50
Joined: Sep 2017
Posts: 81
T
TipmyPip Offline
Junior Member
TipmyPip  Offline
Junior Member
T

Joined: Sep 2017
Posts: 81
Have Zorro Trader planform on Compiled for Linux.


ZorroTraderGPT - https://bit.ly/3Gbsm4S
Re: Zorro on Linux [Re: alb] #476114
01/28/19 02:24
01/28/19 02:24
Joined: Oct 2018
Posts: 72
J
JamesHH Offline
Junior Member
JamesHH  Offline
Junior Member
J

Joined: Oct 2018
Posts: 72
I don't think you should have remove Zorro from wineHQ, just because you "stopped trust in data produced by zorro under wineHQ". Unless you were the one who made the wineHQ entry in the first place?

I mean it doesn't sound like you carefully analyzed the discrepancy, to pinpoint a failure under Wine.

Re: Zorro on Linux [Re: JamesHH] #476126
01/28/19 17:37
01/28/19 17:37
Joined: Jan 2019
Posts: 73
berlin
L
laz Offline
Junior Member
laz  Offline
Junior Member
L

Joined: Jan 2019
Posts: 73
berlin
I also think this, first you have to make sure that everything is really the same, input data (history files, asset settings) and so on... There is no reason (which i know) why it should produce complete different results - when all the data is the same.

1+1=2 no matter if it is linux or windows... Depending on what algos you use you can get small differences (caused by randomness) but it should not produce very different results (good system (win) turns into a bad system (linux)).

Zorro runs fine here on Fedora 28 / Wine.

Re: Zorro on Linux [Re: laz] #476878
04/18/19 08:34
04/18/19 08:34
Joined: Apr 2019
Posts: 20
K
kankan Offline
Newbie
kankan  Offline
Newbie
K

Joined: Apr 2019
Posts: 20
I have seen differences between runs as well (Wine on MacOS).
What I've noticed is that the historical data is somehow being read differently, even though the whole History folder is an exact copy of each other.

For example, under Wine, it reports:
Test period 2012-01-18..2017-12-29 (35984 bars)

Under Windows:
Test period 2012-01-18..2017-12-29 (35990 bars) <--- notice more bars here for the same period

The version of Zorro has been freshly downloaded in both cases, 2.03.
I'm a beginner with Zorro and have no idea where to even start looking for fixing this...

Re: Zorro on Linux [Re: kankan] #476879
04/18/19 08:44
04/18/19 08:44
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Different output results are caused by different input data. I think it is unlikely that they are caused by Linux. But whatever the reason is, you can normally quickly find it by comparing both logs. A comparing tool like BeyondCompare is very useful here.

Re: Zorro on Linux [Re: jcl] #476880
04/18/19 08:58
04/18/19 08:58
Joined: Apr 2019
Posts: 20
K
kankan Offline
Newbie
kankan  Offline
Newbie
K

Joined: Apr 2019
Posts: 20
I have compared them and it looks to be time related... somehow data in Wine is being shifted by 1 hour it seems, but not always, only around the weekends.
It almost seems like a Timezone issue even though both machines are set to the same GMT+1. The tested data was EURUSD, downloaded from zorro website, script was Workshop_4.

There are things like this all over the test.log
Wine:
[110: Fri 12-01-06 19:00] 1.2722/1.27261.2718/1.2722
[111: Sat 12-01-07 00:00] 1.2722/1.27311.2717/1.2720 <-- Saturday midnight?
[112: Sun 12-01-08 23:00] 1.2720/1.27201.2692/1.2694
[113: Mon 12-01-09 01:00] 1.2694/1.26941.2666/1.2689

Windows:
[110: Fri 12-01-06 19:00] 1.2722/1.27261.2718/1.2722
[111: Sun 12-01-08 23:00] 1.2722/1.27311.2692/1.2694
[112: Mon 12-01-09 00:00] 1.2694/1.26941.2666/1.2680
[113: Mon 12-01-09 01:00] 1.2680/1.26941.2678/1.2689

Last edited by kankan; 04/18/19 12:58.
Re: Zorro on Linux [Re: kankan] #476894
04/18/19 14:02
04/18/19 14:02
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Interesting, this looks as if Wine would handle the Windows COleDateTime class in a slightly different way. If that's the only issue with Wine, we could theoretically replace it with an own class.

Can someone post their Wine settings, [Re: dr_panther] #476911
04/22/19 15:49
04/22/19 15:49
Joined: Apr 2019
Posts: 7
Washington
M
michaelj Offline
Newbie
michaelj  Offline
Newbie
M

Joined: Apr 2019
Posts: 7
Washington
I am not new to Linux, I just don't know how to setup Zorro on linux.

Re: Can someone post their Wine settings, [Re: michaelj] #477001
05/01/19 17:41
05/01/19 17:41
Joined: Apr 2019
Posts: 20
K
kankan Offline
Newbie
kankan  Offline
Newbie
K

Joined: Apr 2019
Posts: 20
Quote:
Here's a way to test if the reason of the difference are issues of Wine with the COLEDateTime class:

Run a backtest under Windows and Wine and compare the timestamps in the log. Then modify the TickFix setting on the Wine Zorro version, add or subtract a few seconds, and run the test again. If you get a setting that produces the same results as under Windows, please let me know. I can then forward this to the developers for implementing an own time class and making Zorro Wine-compatible.


OK, I tried this and it produced completely different log files, with different prices, different results. I am not sure TickFix makes sense here.

Maybe I didn't explain the Windows-Wine differences clearly before. A vast majority of the log lines are exactly the same (the prices and the times). The problem is only around the weekends it seems. As you can see in the log I posted earlier, Wine has:
- an extra line on Saturday at midnight (a gap of 5hrs since the last candle?!?)
- a missing Monday 00:00 line
- different prices for Monday 01:00 and Sunday 23:00

Here is an example again:
Wine:
[110: Fri 12-01-06 19:00] 1.2722/1.27261.2718/1.2722 <-- same as Windows
[111: Sat 12-01-07 00:00] 1.2722/1.27311.2717/1.2720 <-- Saturday midnight... 5Hr gap
[112: Sun 12-01-08 23:00] 1.2720/1.27201.2692/1.2694 <-- different prices
[113: Mon 12-01-09 01:00] 1.2694/1.26941.2666/1.2689 <-- missing Monday 00:00

Windows:
[110: Fri 12-01-06 19:00] 1.2722/1.27261.2718/1.2722
[111: Sun 12-01-08 23:00] 1.2722/1.27311.2692/1.2694
[112: Mon 12-01-09 00:00] 1.2694/1.26941.2666/1.2680
[113: Mon 12-01-09 01:00] 1.2680/1.26941.2678/1.2689

Then all exactly the same until the next weekend... which shows the same type of differences.


Then, once the trades start coming in, it seems to think that midnight is one hour later than it is and it prints the trading summary at 01:00 instead of midnight. Obviously, the trading results differ due to the different prices/times.

Wine
[1002: Wed 12-02-29 23:00] 15.65 +1.88 4/3 (1.33253)
[1003: Thu 12-03-01 00:00] 15.65 +1.94 4/3 (1.33247)
[1004: Thu 12-03-01 01:00] 15.65 +0.66 4/3 (1.33375) <-- at 01:00
Thursday 12-03-01 Loss -12.07 ----
Current DD: 13.93$ (47.2%)
[1005: Thu 12-03-01 02:00] 15.65 +0.57 4/3 (1.33384)

Windows
[1002: Wed 12-02-29 23:00] 12.60 +1.88 4/4 (1.33253)
[1003: Thu 12-03-01 00:00] 12.60 +1.94 4/4 (1.33247) <-- at midnight
Thursday 12-03-01 Loss -11.41 ----
Last DD: 47.67$ (100.0%) in 2 days (7 days ago)
[1004: Thu 12-03-01 01:00] 12.60 +0.66 4/4 (1.33375)


So to me it's too suspicious that it's exactly off by 1 hour...
I tried playing with time zones, weekend start/end but without any success in matching Windows and Wine results. I am also new to Zorro so not sure I was doing things correctly.

I have attached samples of the logs.

Attached Files
Workshop4_test_wine.txt (118 downloads)
Re: Can someone post their Wine settings, [Re: kankan] #477007
05/02/19 06:24
05/02/19 06:24
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Then it's probably not a rounding difference, but some error in a Wine time function. Ok, we'll look into this and check if we can implement a workaround.

Re: Can someone post their Wine settings, [Re: jcl] #477010
05/02/19 10:19
05/02/19 10:19
Joined: Apr 2019
Posts: 20
K
kankan Offline
Newbie
kankan  Offline
Newbie
K

Joined: Apr 2019
Posts: 20
Do you suspect a certain function or a class that could be the culprit? Because if indeed it is a bug in Wine, perhaps other projects that were ported to Wine had encountered this issue and maybe there is already a workaround or a fixed dll or something like that.

Re: Can someone post their Wine settings, [Re: kankan] #477011
05/02/19 10:51
05/02/19 10:51
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Yes, I suspect a Wine bug with an COleDateTime class member. We'll inform Wine.

Re: Wine settings - wine-staging 4.13-1 seems to work [Re: jcl] #478010
08/25/19 09:44
08/25/19 09:44
Joined: Aug 2019
Posts: 2
A
aud Offline
Guest
aud  Offline
Guest
A

Joined: Aug 2019
Posts: 2
Hello,

with the configuration

community/wine-mono 4.9.2-1
multilib/wine-staging 4.13-1
multilib/wine_gecko 2.47-2
community/winetricks 20190615-1 -> install corefonts

Zorro 2.15 seems to work in a 32-bit environment. Wine is running on arch linux 5.2.8.

I ran workshop 6 including training on wine and compared it to a windows machine and got identical results. Similarly workshop 4 ran through.

Furthermore I installed R i386 3.6.1 - modified the path to R (RTermPath) in the zorro.ini file and the script RTest ran through. A connection to an fxcm demo account could be estabished as well. Help could be displayed also.

The only thing which does not perfectly work yet is that after running the RTest scipt, parts of the menu becomes invisible and the menu buttons become visible again if one moves over them with the mouse. The message window seems to move over the menu buttons. A restart and a single run works. It does not happen running the workshop scripts.

Hence, the previously described errors seem to be resolved in the configuration as described above and a smaller problem with the menu buttons running R seem to be present.

Any thoughts or comments on that test?

Re: Wine settings - wine-staging 4.13-1 seems to work [Re: dr_panther] #478013
08/25/19 12:54
08/25/19 12:54
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Thanks, good to know.

Re: Zorro on Linux [Re: dr_panther] #478069
09/01/19 20:12
09/01/19 20:12
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
I have also problem with msg window over button area.

After star Zorro under linux - without problem. But if switch the other desktop and return back:

[Linked Image]

Attached Files Screenshot_71.png
Last edited by Grat; 09/01/19 20:13.
Re: Zorro on Linux [Re: dr_panther] #478072
09/03/19 08:15
09/03/19 08:15
Joined: Aug 2019
Posts: 2
A
aud Offline
Guest
aud  Offline
Guest
A

Joined: Aug 2019
Posts: 2
Hello,

I could reproduce that error. The msg window over button problem appears if zorro is minimized and then brought back again. A workaround is to change the winecfg settings to graphics -> emulate virtual screen. Then zorro runs in a virtual screen and one can minimize the virtual screen and bring it up with the original layout. Minimizing zorro within the virtual screen fails though.

Re: Zorro on Linux [Re: dr_panther] #481989
12/01/20 15:06
12/01/20 15:06
Joined: Nov 2020
Posts: 1
Leiria
A
andydoc Offline
Guest
andydoc  Offline
Guest
A

Joined: Nov 2020
Posts: 1
Leiria
I just installed WINE and then Zorro. Will report as I go but got a (non-fatal) install error for Zorro:
0073:err:module:import_dll Library ForexConnect.dll (which is needed by L"C:\\users\\andydoc1\\Zorro\\Plugin\\FXCM.dll") not found
andydoc1@research-1:~/Downloads$ 0073:fixme:msvcrt:__clean_type_info_names_internal (0x3b73d4) stub
0073:fixme:msvcrt:__clean_type_info_names_internal (0x35e424) stub

I don't currently use FXCM but might do in future. Any ideas?

Page 1 of 4 1 2 3 4

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1