Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, 7th_zorro, ozgur, Quad), 841 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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