Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 07/11/26 18:10
Z9 getting Error 058
by madpower2000. 07/09/26 18:09
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 07/09/26 13:16
New Zorro version 3.11
by jcl. 07/06/26 06:56
Synthetic test data in Zorro
by jcl. 07/06/26 06:54
Parameter filename BUG
by walt_Schwarz. 07/02/26 15:36
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 6,366 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Zorro Commandline #409874
10/23/12 17:57
10/23/12 17:57
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Does Zorro.exe has command line options? E.g. to test script files directly from commandline?

Thanks,
Timo

Last edited by TechMuc; 10/23/12 21:41.
Re: Zorro Commandline [Re: TechMuc] #409892
10/24/12 08:29
10/24/12 08:29
Joined: Jul 2000
Posts: 28,119
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,119
Frankfurt
Yes, but currently only 'unofficially' for training a script. For this just give the script name in the command line. If you need further options, we can add an official command line option set.

Re: Zorro Commandline [Re: jcl] #409894
10/24/12 08:37
10/24/12 08:37
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
I'm currently adapting my editor to zorro, and i just want to know the possibilities I have of "controlling" the startup of the Zorro Application.
So a rare list of all command line options would be cool - at least if there are some interesting for a coding editor (e.g. check syntax, or similar).

PS: Ah i think i've missunderstood you: You're saying that the only "command line" available is appending a script, aren't you? laugh
Is there a possibility to check the syntax of a zorro script, by command line?

Last edited by TechMuc; 10/24/12 08:39.
Re: Zorro Commandline [Re: TechMuc] #409895
10/24/12 08:40
10/24/12 08:40
Joined: Jul 2000
Posts: 28,119
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,119
Frankfurt
Ok, we'll implement a command line similar to A8 in one of the next Zorro updates. The syntax check is the same as in A8, but it does not report back to the editor. The errors only appear in the Zorro window.

Re: Zorro Commandline [Re: jcl] #409896
10/24/12 08:45
10/24/12 08:45
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Okay, so you'll just write it to a file, similar to ackerr.txt? that would be cool, thanks a lot.

Re: Zorro Commandline [Re: TechMuc] #415659
01/21/13 23:59
01/21/13 23:59
Joined: Jan 2013
Posts: 5
Y
yamez Offline
Newbie
yamez  Offline
Newbie
Y

Joined: Jan 2013
Posts: 5
A command line option for starting Zorro in trade mode with selection of account details, strategy, margin and risk would be nice too. Useful for automating start up of Zorro and running as a service, in the event of power outages, VPS reboots, etc.

Last edited by yamez; 01/22/13 00:03. Reason: Added more detail in post
Re: Zorro Commandline [Re: yamez] #415680
01/22/13 11:47
01/22/13 11:47
Joined: Jul 2000
Posts: 28,119
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,119
Frankfurt
Yes, the commandline control is planned for version 1.06.

Re: Zorro Commandline [Re: jcl] #420655
03/31/13 05:16
03/31/13 05:16
Joined: Jan 2013
Posts: 5
Y
yamez Offline
Newbie
yamez  Offline
Newbie
Y

Joined: Jan 2013
Posts: 5
I've tried the command line option in Zorro 1.06 to start in trade mode, using the examples given. Zorro launches however does not go into trade mode, just sits idle. I'm using Win7 x32 Home Premium SP1 from a command prompt in the Zorro program files folder. Command used "zorro.exe -trade Z2fx". Also, can the risk and margin be set by the command line?

Re: Zorro Commandline [Re: yamez] #420662
03/31/13 09:44
03/31/13 09:44
Joined: Jul 2000
Posts: 28,119
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,119
Frankfurt
I confirm that a command prompt does not work. Test the command line with a shortcut. In the shortcut target, give the full command line, f.i. "C:\program files\Zorro\Zorro.exe" -trade Z2fx. This will be fixed in the next version - it will then also work from a command prompt.

For externally setting strategy parameters such as margin, risk etc. use the method under "Tips & Tricks" for reading parameters from external files. The program that starts Zorro can then also write the parameter values into that file.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1