NexusFi: Find Your Edge


Home Menu

 





Options Backtesting Software?


Discussion in Options

Updated
      Top Posters
    1. looks_one shodson with 3 posts (1 thanks)
    2. looks_two jminck with 2 posts (2 thanks)
    3. looks_3 galindog with 2 posts (1 thanks)
    4. looks_4 aeromir with 2 posts (3 thanks)
      Best Posters
    1. looks_one Chubbly with 2 thanks per post
    2. looks_two aeromir with 1.5 thanks per post
    3. looks_3 Trusty Jules with 1 thanks per post
    4. looks_4 jminck with 1 thanks per post
    1. trending_up 16,653 views
    2. thumb_up 15 thanks given
    3. group 25 followers
    1. forum 22 posts
    2. attach_file 3 attachments




 
Search this Thread

Options Backtesting Software?

  #11 (permalink)
galindog
Danbury Connecticut USA
 
Posts: 5 since Feb 2014
Thanks Given: 0
Thanks Received: 1

Hi. After months of hacking away, I am able to test technical setups on the underlying ticker and find an optimal options strategy for it. I ran across that method while reading market Wizards and came across the John Bender method. PM me for more details.

Gabriel

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
26 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #12 (permalink)
 Cyberjoe 
Cincinnati, OH, USA
 
Experience: Advanced
Platform: NinjaTrader, Python
Broker: InteractiveBrokers, TastyWorks, IQFeed
Trading: VIX, VXX, UVXY
Posts: 9 since Jun 2016
Thanks Given: 5
Thanks Received: 7


galindog View Post
Hi. After months of hacking away, I am able to test technical setups on the underlying ticker and find an optimal options strategy for it. I ran across that method while reading market Wizards and came across the John Bender method. PM me for more details.

Gabriel

Which tool are you using for your backtesting?

Reply With Quote
  #13 (permalink)
galindog
Danbury Connecticut USA
 
Posts: 5 since Feb 2014
Thanks Given: 0
Thanks Received: 1


I am using Amibroker for backtesting and am able to simulate option returns paired with stock technical analysis. In the interest of full disclosure- for I am new to the site and don't want to violate vendor rules, I have a website and offer backtesting services for option traders. PM me for details.

I primarily use the tool to rule out broad strategies like "is put selling good at this vol level" or does a bollinger band breakout make money if used with a backspread,etc... Once I rule out the bad stuff and find good stuff, I scan then plug it into thinkorswim on-demand for tick by tick confirmation of the big picture backtests.

Reply With Quote
Thanked by:
  #14 (permalink)
 rainmonkey 
Oakland, California
 
Experience: Beginner
Platform: Interactive Brokers, ToS
Trading: ES
Posts: 7 since Aug 2017
Thanks Given: 1
Thanks Received: 1

If you can write JS, you can try writing your strategies into Alta5 and backtesting.

Reply With Quote
  #15 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709

For backtesting some simple strategies I've been using CMLviz's trade machine product for a few months now. It's only $49/mo and tests some simple strategies and instruments. One thing I like about it is its ability to test around earnings dates as I like to trade stock options before and after earnings.

About every day they also send a trade you might want to consider and include a sample backtest you can examine.

Here's a recent trade idea of a pre-earnings trade on Ambarella

CMLviz.com - CMLviz News

And here is the included backtest of the strategy for review

CML TradeMachine



I've done about 11 small but real-money trades so far just following their picks that I like and I'm net negative so far but it's too early to judge. But my own earnings trading strategies work better, so far. For $only 49 a month, though, I'll keep giving it a try but I'm starting to lose hope. The WFC loss was a big hit to the overall effort, thanks to their continued PR problems. I usually try something new for at least 20 trades before making a final judgment so the jury's still out on this one.



The GOOGL and CBOE trades are still open.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #16 (permalink)
Trusty Jules
Brussels, Belgium
 
Posts: 3 since Aug 2017
Thanks Given: 0
Thanks Received: 1

Interesting thread - am looking at all these services. For starters I did try the Ambarelli play and its up 21% on day 1 which is nice. As regards your trading though - geez the WFC position was way larger than others. You were trading practically 135K of WFC there - easy to lose money in those cases.

Reply With Quote
  #17 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


Trusty Jules View Post
geez the WFC position was way larger than others. You were trading practically 135K of WFC there - easy to lose money in those cases.

Hmm let's see...



I sold a $2.00-wide put spread (54-52) for $0.88, so my max risk was
2.00-0.88 = $1.12
* 100 shares per contract * 25 contracts = $2,800 of risk
which was less than 2% of my cash account, not including any margin.

How did you come up with $135k of risk?

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #18 (permalink)
Trusty Jules
Brussels, Belgium
 
Posts: 3 since Aug 2017
Thanks Given: 0
Thanks Received: 1


shodson View Post
Hmm let's see...



I sold a $2.00-wide put spread (54-52) for $0.88, so my max risk was
2.00-0.88 = $1.12
* 100 shares per contract * 25 contracts = $2,800 of risk
which was less than 2% of my cash account, not including any margin.

How did you come up with $135k of risk?

I didnt say your risk was 135K - I said you were trading 135K of WFC in that position. By way of comparison here are the sizes you were trading in the underlying for your other positions (approximately based on entry):

JPM 85K
FP 66K
SBUX 17K
LITE 35K
LRCX 51K
Googl 10K
MAR 73K
Q 73K
NVDA 34K

This is not your risk except in the sense that you could have been forced to buy 135K worth of WFC if it closed under 54 and above 52. Its simply that by trading a bigger chunk of underlying you get more brutal outcomes - your max win or loss is realised in bigger steps. I don't have the ability to look up historical option and IV/Greeks but just look at the following hypothesis where we assume all identical IV and Greeks with delta at 50.

You experienced a 1.9% move in the wrong direction with WFC - that's US$ 2500 (1.9% of 135k) at delta 50 - 1250. A similar move of the smaller underlying JPM trade would have meant a swing of only 800 bucks to the down side. Now in reality of course there are other things to take into account and we should calculate on standard deviation, the fact it was a spread and yada yada. My remark wasn't very sophisticated in that sense, its just when you trade more underlying you get more big outcomes.

The classic beginner mistake (I have been guilty of it) is to over dimension trades - when someone says they have 10 GOOGL ATM calls that doesn't sound like much compared to my portfolio where I have 38 outstanding positions the underlying value in both cases is about 1,000,000 $. Joe Newbie might be surprised that in a quick downturn of his Googl position he blows out his account.

When you have the big swing its also hard to patch up a trade.

Just as an aside though, as regards your claim that you risked only $2800 - perhaps I misread but I see

WFC p AUG17 54 sold @0.92
WFC p AUG17 52 bought @0.40

Hence you risked ($0.52-2)*2500= -$3700

Granted your theoretical max loss on the JPM or GOOGL was larger but the value in underlying was lower which made binary outcomes less likely. For that reason I would call those trades more conservative. The risk of trades can be viewed in a number of ways - your 2% rule is a good one but its just one rule by which to measure.

I recalculated your p&l (except the CBOE spread) based on a resizing your positions to all reflect the same value in underlying (just dividing the outcome by the gross value of the underlying you were trading). In that case the net of those trades is vastly positive. The reason is simple your big loser is downsized and the big winner - Googl - is upsized (if that's a word). Now granted in practice its unfeasible to get that outcome exactly - for one the options don't trade in fractions of 100 shares - but its just to give an idea. It seems the advice of your site is not so bad. Just my $0.02.

Having said that I missed my chance to cash in on AMBA in the first day and am down 50$ for now :-( Lets hope the rally comes tomorrow.

Reply With Quote
Thanked by:
  #19 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709

You are correct, I bought the 52 put for $0.40, not $0.04, so my credit was $0.52, so my max risk was $1.48 per contract, or $3,700 total.

I appreciate the potential problem of expiration with price in between the strikes, but I never carry these to expiration, so that's not an issue. However, if my short 54 spread is exercised while I was in the position, I would suddenly end up short 2,500 shares of WFC, which would tie up a lot of margin! But I have enough portfolio margin to unwind that, so I'm not too concerned with that. But, yes, early assignment is a real risk not many people understand until it happens to them (it happened to me once).

Thanks for double-checking my work.

Update: I closed my GOOGL trade for +$880.67 and did a long call trade on WDAY on Monday, exited today just before earnings for a $1,140 gain so I'm now net positive on all of these trades. The CBOE trade is still open, profitable.

My goal, since I'm experimenting, is to try to max risk about $2-4k per trade, a little over 1-2% of my account, hoping the probabilities play out in the long run for an overall profit, hence the sizing. I'm trying to be a casino and frequently realize my edges, and play as many consecutive hands as possible, with as many systems and setups that I can. This is just one that I'm experimenting with. I have like 5 other ways I trade, including the swing trading systems on my website.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #20 (permalink)
 blb014 
Dallas, Texas
 
Experience: Intermediate
Platform: TOS
Trading: AAPL, /ES, IWM, SPY Options
Posts: 330 since Oct 2012
Thanks Given: 554
Thanks Received: 187



shodson View Post
You are correct, I bought the 52 put for $0.40, not $0.04, so my credit was $0.52, so my max risk was $1.48 per contract, or $3,700 total.

I appreciate the potential problem of expiration with price in between the strikes, but I never carry these to expiration, so that's not an issue. However, if my short 54 spread is exercised while I was in the position, I would suddenly end up short 2,500 shares of WFC, which would tie up a lot of margin! But I have enough portfolio margin to unwind that, so I'm not too concerned with that. But, yes, early assignment is a real risk not many people understand until it happens to them (it happened to me once).

Thanks for double-checking my work.

Update: I closed my GOOGL trade for +$880.67 and did a long call trade on WDAY on Monday, exited today just before earnings for a $1,140 gain so I'm now net positive on all of these trades. The CBOE trade is still open, profitable.

My goal, since I'm experimenting, is to try to max risk about $2-4k per trade, a little over 1-2% of my account, hoping the probabilities play out in the long run for an overall profit, hence the sizing. I'm trying to be a casino and frequently realize my edges, and play as many consecutive hands as possible, with as many systems and setups that I can. This is just one that I'm experimenting with. I have like 5 other ways I trade, including the swing trading systems on my website.

Interesting. Thanks for the updates on these trades. I tried some earnings play on AAPL a few years ago with varied success.

Volatility is good for the market and trading.

Preservation of capital is the most important concept for those who want to stay in the trading game for the long haul. - Van Tharp
Reply With Quote




Last Updated on October 10, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts