Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (EternallyCurious, Quad, vicknick), 700 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
-a asset is not respected #446176
10/07/14 15:44
10/07/14 15:44
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Zorro -train -a EUR/USD -quiet rpctest

observed:
Zorro trains rpctest Strat with last selected asset still selected.

expected:
EUR/USD to be selected.

Re: -a asset is not respected [Re: GPEngine] #446223
10/08/14 14:42
10/08/14 14:42
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
There's a workaround using regedit at command line.

Re: -a asset is not respected [Re: GPEngine] #446224
10/08/14 14:43
10/08/14 14:43
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Happens here too. Thanks for the info - this will be fixed.

Re: -a asset is not respected [Re: jcl] #450229
04/10/15 02:09
04/10/15 02:09
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline
Senior Member
boatman  Offline
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
GP - can you elaborate on the workaround you mentioned? I still can't seem to use the -a flag from the command line and a workaround would be much appreciated.

Cheers

Re: -a asset is not respected [Re: boatman] #450230
04/10/15 02:37
04/10/15 02:37
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
I run Zorro in wine. I wrote a script which the Windows Registry then runs Zorro. I would not recommend doing this on a Windows installation you care about.

The zorro.reg template file is drawn from regedit's export function and looks like this. I have nulled out some sensitive fields.
Code:
REGEDIT4

[HKEY_CURRENT_USER\Software\Zorro]
"Acct"="FXCM"
"AcctNo"=hex:00,00,00,00
"Ass"="AUD/CHF"
"Pwd"="xxxx"
"Pwd1"="xxxx"
"PwdR"="xxxx"
"PwdR1"="xxxx"
"Scr"="hyper"
"Usr"="Dx"
"UsrR"="Dx"
"Winpos"=hex:36,0b,00,00,60,00,00,00,67,0c,00,00,ab,02,00,00


The interesting part is "Ass"="AUD/CHF". Here's one way to automate changing it.
Code:
sed "s|AUD/CHF|GBP/USD|g" zorro.reg > zorromod.reg
  wine regedit zorromod.reg
  wine Zorro.exe



I wish I could also hack Winpos. Zorro windows start one on top of the other.

Re: -a asset is not respected [Re: GPEngine] #450346
04/13/15 03:02
04/13/15 03:02
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline
Senior Member
boatman  Offline
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
Nice hack GP! Thanks for sharing. I will have a play with this as well.


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