Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,253 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Financial Hacker - Algorithmic Options Trading 1 #472859
05/26/18 22:26
05/26/18 22:26
Joined: May 2018
Posts: 136
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 136
New to Zorro. Looks very exciting and jcl's informative blog Financial Hacker is where I found Zorro.

I'm having problem running the Options Trading scripts on the blog. Specially, I can't install RQuantLib.

Installed Zorro 1.74 and R successfully. No good instructions to install RQuantLib.

Any pointers would be helpful.

Thanks.

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy] #472860
05/27/18 00:42
05/27/18 00:42
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD] #472865
05/27/18 03:29
05/27/18 03:29
Joined: May 2018
Posts: 136
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 136
Thanks. But I've been there.

Copy and pasted these commands in R:

*********************************************
if (!require("drat")) install.packages("drat")
drat::addRepo("ghrr")
install.packages("RQuantLib", type="binary")
*********************************************

A popup of showing various mirror sites. Tried Germany, USA, a few others and all got this message:

*********************************************
Warning: unable to access index for repository https://ghrr.github.io/drat/bin/windows/contrib/3.5:
cannot open URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES'
Warning message:
package ‘RQuantLib’ is not available (as a binary package for R version 3.5.0)
>
*********************************************

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy] #472868
05/27/18 04:24
05/27/18 04:24
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
Works for me. I ran those commands before I directed you there.

Reinstall R.

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD] #472870
05/27/18 04:50
05/27/18 04:50
Joined: May 2018
Posts: 136
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 136
reinstalled and got the same message.

It looks the URLs that the script looks for doesn't exist anymore:

https://ghrr.github.io/drat/bin/windows/contrib/3.5
https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy] #472876
05/27/18 14:42
05/27/18 14:42
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
Ah. You might need an older version of R until another RQuantlib build comes out.

https://github.com/ghrr/drat/tree/gh-pages/bin/windows/contrib/3.4

Last edited by AndrewAMD; 05/29/18 18:06. Reason: clarity
Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD] #472918
05/29/18 17:50
05/29/18 17:50
Joined: May 2018
Posts: 136
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 136
Turns out Zorro is hardcoded somewhere to use only R-3.4.3.

I ran the RTest script and found an error message that said it was looking for RTerm.exe in directory called ProgramFiles/R/R-3.4.3/.

Installed R3.4.3, ran the RQuantLib install script from the blog, downloaded Scripts 2017 from the blog, copied History files to the History folder, copied .c scripts to the Strategy folder, and viola things are working!

OptionsSimulate.C is now running, hopefully creating the 2011-2-17 options chain in SPY_SimOptions.t8.

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy] #472919
05/29/18 18:00
05/29/18 18:00
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
Zorro is **not** hardcoded to use a certain version of R. You must set the path to Rterm in the Zorro.ini file.

The RQuantlib team has not updated its binaries. Thus the 3.4 constraint.

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD] #472921
05/29/18 18:19
05/29/18 18:19
Joined: May 2018
Posts: 136
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 136
Ah I see it now.

Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy] #472990
06/05/18 23:32
06/05/18 23:32
Joined: May 2018
Posts: 136
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 136
oops, looks like i'm missing the Quandl Key as well.

The script ran anyways, but the .t8 file appears to be incorrect. my results were different when using the SPYa.t8 downloaded from archive.

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | 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