Gamestudio Links
Zorro Links
Newest Posts
Get BMAP's filename...?
by Firoball
6 minutes 38 seconds ago
bone ang/pos
by 3run
Today at 15:41
Takeprofit and Stoploss
by sdelatorre
Today at 10:54
Save as .wmb
by Emre
Today at 05:57
Connors RSI implementation
by MatPed
Today at 00:37
multiple results graph in multi-asset scripts?
by SBGuy
Yesterday at 21:19
Verbose messages
by Sphin
Yesterday at 20:24
AUM Magazine
Latest Screens
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
RPG PARTY
Who's Online
13 registered (ChrstphFr, JRA, mig, AndrewAMD, MatPed, 3run, jyd, krial057, alibaba, 1 invisible), 477 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
bbn1982, selma, mbullied, Raisinbran, Grodt
17984 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: 25
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 Online
Senior Member

Registered: 02/21/17
Posts: 313
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: 25
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 Online
Senior Member

Registered: 02/21/17
Posts: 313
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: 25
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 Online
Senior Member

Registered: 02/21/17
Posts: 313
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: 25
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 Online
Senior Member

Registered: 02/21/17
Posts: 313
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: 25
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: 25
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