Gamestudio Links
Zorro Links
Newest Posts
nba2king Latest Roster Update Breakdown
by joenxxx. 10/14/25 06:06
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 9,184 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Trouble backtest Option trading strategies #465064
03/28/17 16:22
03/28/17 16:22
Joined: Oct 2016
Posts: 8
R
robotekkers Offline OP
Newbie
robotekkers  Offline OP
Newbie
R

Joined: Oct 2016
Posts: 8
Hello all,

I have used both the OptionSimulate and the OptionSellRandom codes from the Algorithmic Options Trading article on the financial hacker to recreate the random option sell backtest, but I am unable to replicate the results from the article.

The closest I have gotten to is as shown below:

option_fh compiling................
Test: option_fh SPY 2012..2017
Assets assetsIB
Profit 0$ MI 0$ DD 0$ Capital 0$
Trades 256 Win 0.0% Avg -1.$p Bars 24
AR 0% PF -1.#J SR 0.00 UI 0% R2 1.00

- I have installed R on my PC, and have linked the Rterm in the Zorro.ini file.
- I have installed the RQuantlib package into the R terminal
- I have ensured that the dataload function opens the exact same "SPY_Options.t8" created using OptionsSimulate
- I include both r.h and contract.c files in the scripts

Has anyone else had a similar problem in the past? Heck, if someone can attach/ link to a copy of their setup that is working fine, I would appreciate that as well!

Re: Trouble backtest Option trading strategies [Re: robotekkers] #465068
03/28/17 19:20
03/28/17 19:20
Joined: Feb 2017
Posts: 1,808
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,808
Chicago
Per the comments section, jcl said there was an error in the script. Take a look.

Re: Trouble backtest Option trading strategies [Re: AndrewAMD] #465069
03/28/17 19:41
03/28/17 19:41
Joined: Oct 2016
Posts: 8
R
robotekkers Offline OP
Newbie
robotekkers  Offline OP
Newbie
R

Joined: Oct 2016
Posts: 8
Thank you Andrew. I've seen the comments and have now fixed the problem.


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