Gamestudio Links
Zorro Links
Newest Posts
Error 072 & Orphaned Rogue Trade - Bug?
by DdlV
Yesterday at 04:09
Why history files are different since version 1.83?
by kvm
08/16/18 17:39
Stop, Trail etc
by AndrewAMD
08/16/18 15:00
Performance reporting showing Annual and monthly % returns
by jcl
08/16/18 11:09
Trade only within regular trading hours
by Jeff1228
08/16/18 10:18
Issue with inconsistent test results
by kvm
08/15/18 17:24
Access string content through another string
by ChrstphFr
08/15/18 11:30
AUM Magazine
Latest Screens
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
Who's Online
14 registered (mk_1, 3DCat, Michael_Schwarz, Angerbeer, alibaba, Ivan3333, LDM, 5 invisible), 441 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Ulenspegel, toto, FloMi, behr065, OptimusPrime
18027 Registered Users
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#472859 - 05/27/18 00:26 Financial Hacker - Algorithmic Options Trading 1
SBGuy Offline
Newbie

Registered: 05/27/18
Posts: 40
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.

Top
#472860 - 05/27/18 02:42 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy]
AndrewAMD Offline
Senior Member

Registered: 02/21/17
Posts: 339
Loc: Chicago

Top
#472865 - 05/27/18 05:29 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD]
SBGuy Offline
Newbie

Registered: 05/27/18
Posts: 40
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)
>
*********************************************

Top
#472868 - 05/27/18 06:24 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy]
AndrewAMD Offline
Senior Member

Registered: 02/21/17
Posts: 339
Loc: Chicago
Works for me. I ran those commands before I directed you there.

Reinstall R.

Top
#472870 - 05/27/18 06:50 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD]
SBGuy Offline
Newbie

Registered: 05/27/18
Posts: 40
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

Top
#472876 - 05/27/18 16:42 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy]
AndrewAMD Offline
Senior Member

Registered: 02/21/17
Posts: 339
Loc: 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


Edited by AndrewAMD (05/29/18 20:06)
Edit Reason: clarity

Top
#472918 - 05/29/18 19:50 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD]
SBGuy Offline
Newbie

Registered: 05/27/18
Posts: 40
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.

Top
#472919 - 05/29/18 20:00 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy]
AndrewAMD Offline
Senior Member

Registered: 02/21/17
Posts: 339
Loc: 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.

Top
#472921 - 05/29/18 20:19 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: AndrewAMD]
SBGuy Offline
Newbie

Registered: 05/27/18
Posts: 40
Ah I see it now.

Top
#472990 - 06/06/18 01:32 Re: Financial Hacker - Algorithmic Options Trading 1 [Re: SBGuy]
SBGuy Offline
Newbie

Registered: 05/27/18
Posts: 40
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.

Top
Page 1 of 2 1 2 >



Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de