NexusFi: Find Your Edge


Home Menu

 





Selling Options on Futures?


Discussion in Options

Updated
      Top Posters
    1. looks_one ron99 with 2,221 posts (4,489 thanks)
    2. looks_two SMCJB with 346 posts (733 thanks)
    3. looks_3 kevinkdog with 341 posts (400 thanks)
    4. looks_4 myrrdin with 288 posts (408 thanks)
      Best Posters
    1. looks_one SMCJB with 2.1 thanks per post
    2. looks_two ron99 with 2 thanks per post
    3. looks_3 myrrdin with 1.4 thanks per post
    4. looks_4 kevinkdog with 1.2 thanks per post
    1. trending_up 1,982,169 views
    2. thumb_up 9,259 thanks given
    3. group 458 followers
    1. forum 7,370 posts
    2. attach_file 794 attachments




 
Search this Thread

Selling Options on Futures?

  #6011 (permalink)
 ron99 
Cleveland, OH
 
Experience: Advanced
Platform: QST
Broker: QST, DeCarley Trading, Gain
Trading: Options on Futures
Posts: 3,081 since Jul 2011
Thanks Given: 980
Thanks Received: 5,785


TFOpts View Post
Ron, thanks for taking the time to explain all of this to a beginner. Based on this information, I believe the mROI formula should be:
mROI = {[MM * IM(Start) + Premium(Start) - Premium(End) - Fees(End)] / [MM * IM(Start) + Fees(Start)]} ^ [365/12/(End-Start)] - 1
Where,
Start = date the position was acquired
End = date the position was liquidated
MM = margin multiple
IM = initial margin
Would you agree?

Note also that you can use the XIRR function in Excel to get the same result (see attached for example). Hopefully the cash flows are correct now.

On your example Excel formulas you used two different days held. One used 30 days the other 1/12 or 30.4 days.

I have used XIRR for years to compute my account's monthly and yearly ROI. I haven't used it for trades but you are correct it would be more accurate.

Here is what I use. B44 is End Date. B14 is Start Date

=(1+XIRR(G14:G44,B14:B44))^((B44-B14)/365)-1

This gives a result of 2.381% for your example on the Excel sheet.

My old formula =365/(B2-B1)/12*(B6-B8-B7-B9)/(B5*B4) result is 2.416%

Your new formula =+((B4*B5+B6-B8-B9)/(B4*B5+B7))^(365/12/B3)-1 result is 2.414%

It depends if you want to say that the day you acquire the option or the day you exit the option is a day held. I have been subtracting the start date from the end date so that only counts one of those. For example, March 31st minus March 1st is 30.

There are fees when you exit a position. NFA fees and maybe clearing fees. Broker Commission is either half in half out or all in. At Gain my entry and exit fees for ES are 0.56 per contract each way.

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
26 thanks
Diary of a simple price action trader
26 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #6012 (permalink)
TFOpts
Los Angeles, CA
 
Posts: 64 since May 2017
Thanks Given: 49
Thanks Received: 136

@ron99,

So I back-tested your strategy. I'm assuming you developed it by looking for a method that had a very high win rate over the back-testing period and that still produces good returns.

Here are the parameters I used:
# Short: -1
DTE Short: 100
Delta Short: -5
# Long: -2
DTE Long: 100
Delta Long: -1.5
MM: 6
Exit Point: 50%
Where MM is the margin multiple of the initial SPAN margin and exit point is what the premium needs to be as a percent of the original premium to close the position.

Here are some stats:


Where,
Win Rate = % of scenarios that have a positive return
E(mROI) = average mROI
Med(mROI) = median of mROI
E | Loss = average mROI for losses
E(DTS) = average days from acquisition to liquidation
Med(DTS) = average days from acquisition to liquidation
Max(%M) = Maximum margin requirement as % of margin held
The scenario that failed is shown below:
Date: 12/1/2015
Short(-1): ESH6,ESH6,1660
Long(2): ESH6,ESH6,1420
Total Margin: 1,597.20
mROI for this trade is -13.4%


Does this look right to you? Do you get the same results?

Thanks.

Reply With Quote
  #6013 (permalink)
 ron99 
Cleveland, OH
 
Experience: Advanced
Platform: QST
Broker: QST, DeCarley Trading, Gain
Trading: Options on Futures
Posts: 3,081 since Jul 2011
Thanks Given: 980
Thanks Received: 5,785


TFOpts, that is impressive work. Thank you.

I agree with all of your numbers for that trade except that trade didn't fail. You don't go on margin call until your maintenance margin is at 100+%. Initial margin is 110% of Maintenance Margin. So a margin call wouldn't happen until % of Margin was 110% or higher.

I have lots of questions if you don't mind.

Did you backtest for the years 2013 through 2017?
Starting a trade on each trading day of all those years?
How long did it take?
How many lines in your database?
You downloaded each ES and EW3 option for each trading day for all of those years?
What parameters to pick which options to download?
Which database are you using?
Where have you been all of these years?

Your work could be a huge help in finding strategies. Thank you again.

Started this thread Reply With Quote
Thanked by:
  #6014 (permalink)
TFOpts
Los Angeles, CA
 
Posts: 64 since May 2017
Thanks Given: 49
Thanks Received: 136


ron99 View Post
On your example Excel formulas you used two different days held. One used 30 days the other 1/12 or 30.4 days.

I have used XIRR for years to compute my account's monthly and yearly ROI. I haven't used it for trades but you are correct it would be more accurate.

Here is what I use. B44 is End Date. B14 is Start Date

=(1+XIRR(G14:G44,B14:B44))^((B44-B14)/365)-1

This gives a result of 2.381% for your example on the Excel sheet.

My old formula =365/(B2-B1)/12*(B6-B8-B7-B9)/(B5*B4) result is 2.416%

Your new formula =+((B4*B5+B6-B8-B9)/(B4*B5+B7))^(365/12/B3)-1 result is 2.414%

It depends if you want to say that the day you acquire the option or the day you exit the option is a day held. I have been subtracting the start date from the end date so that only counts one of those. For example, March 31st minus March 1st is 30.

There are fees when you exit a position. NFA fees and maybe clearing fees. Broker Commission is either half in half out or all in. At Gain my entry and exit fees for ES are 0.56 per contract each way.

Ron, The 1/12 in the XIRR formula is to convert it to a monthly rate not to a rate over the period of time the transaction was open. XIRR always returns an annual ROI, so raising the XIRR to the power of 1/12 is equivalent to the 365/12 adjustment made in the formulas.

Your adjustment to XIRR --> =(1+XIRR(G14:G44,B14:B44))^((B44-B14)/365)-1 is correct if you want to know what the ROI was from the start date to the end date; but if you want the equivalent monthly ROI, you would always use: (1+XIRR(G14:G44,B14:B44))^(1/12)-1

Reply With Quote
  #6015 (permalink)
 rsm005 
vancouver BC/Canada
 
Experience: Beginner
Platform: Zaner360, OX
Broker: DeCaley
Trading: options
Posts: 264 since Jan 2015
Thanks Given: 13
Thanks Received: 205


TFOpts View Post
@ron99,

So I back-tested your strategy. I'm assuming you developed it by looking for a method that had a very high win rate over the back-testing period and that still produces good returns.

Here are the parameters I used:
# Short: -1
DTE Short: 100
Delta Short: -5
# Long: -2
DTE Long: 100
Delta Long: -1.5
MM: 6
Exit Point: 50%
Where MM is the margin multiple of the initial SPAN margin and exit point is what the premium needs to be as a percent of the original premium to close the position.

Here are some stats:


Where,
Win Rate = % of scenarios that have a positive return
E(mROI) = average mROI
Med(mROI) = median of mROI
E | Loss = average mROI for losses
E(DTS) = average days from acquisition to liquidation
Med(DTS) = average days from acquisition to liquidation
Max(%M) = Maximum margin requirement as % of margin held
The scenario that failed is shown below:
Date: 12/1/2015
Short(-1): ESH6,ESH6,1660
Long(2): ESH6,ESH6,1420
Total Margin: 1,597.20
mROI for this trade is -13.4%


Does this look right to you? Do you get the same results?

Thanks.

As others have mentioned this is incredible work. I do have one question, rather than writing out the trade to margin call is you could run this test and find out what the percentage of winners and losers are if you have a 200% and a 300% of premium exit point? I'm looking forward to seeing the results.

/rsm005/

Reply With Quote
  #6016 (permalink)
TFOpts
Los Angeles, CA
 
Posts: 64 since May 2017
Thanks Given: 49
Thanks Received: 136


ron99 View Post
TFOpts, that is impressive work. Thank you.

I agree with all of your numbers for that trade except that trade didn't fail. You don't go on margin call until your maintenance margin is at 100+%. Initial margin is 110% of Maintenance Margin. So a margin call wouldn't happen until % of Margin was 110% or higher.

I have lots of questions if you don't mind.

Did you backtest for the years 2013 through 2017?
Yes
Starting a trade on each trading day of all those years?
Yes
How long did it take?
<5 min
How many lines in your database?
About 650k entries.
You downloaded each ES and EW3 option for each trading day for all of those years?
Does XLS-SPAN include EW3? I just took what came out of XLS-SPAN for an ES entry
What parameters to pick which options to download?
I limited my data to ES puts with DTE < 200 and Delta between -0.25 and -10 at least once in the life of an option.
Which database are you using?
Based on XLS-SPAN output
Where have you been all of these years?
I missed out on a lot of fun. It was very educational to read through this thread, thanks again for starting it and sharing!

Your work could be a huge help in finding strategies. Thank you again.
I've already found something that I'll share in a separate post.

@ron99 Thanks for pointing out the difference between the initial and maintenance margin.

I have a question for you. Your exit point is documented as:
(CURRENT IM + (CURRENT PREMIUM$ - OPENING PREMIUM$)) > (MM * OPENING IM)
Does that mean you actually use the maintenance margin to exit instead?
(CURRENT MM + (CURRENT PREMIUM$ - OPENING PREMIUM$)) > (MM * OPENING IM)
In the example on post 6012 the exit point based on the original formula is reached on 02/11/2016 (see calcs below).
(1,216.6 + (575 - 130)) > (6 * 266.2) = 1,661.6 > 1,597.2
Have you revised your exit strategy to only exit when there's a margin call?

Reply With Quote
  #6017 (permalink)
TFOpts
Los Angeles, CA
 
Posts: 64 since May 2017
Thanks Given: 49
Thanks Received: 136


rsm005 View Post
As others have mentioned this is incredible work. I do have one question, rather than writing out the trade to margin call is you could run this test and find out what the percentage of winners and losers are if you have a 200% and a 300% of premium exit point? I'm looking forward to seeing the results.

/rsm005/

As a clarification, in the original post the trades were not run out to margin call but instead, they exit when Ron's threshold is reached:
(CURRENT IM + (CURRENT PREMIUM$ - OPENING PREMIUM$)) > (MM * OPENING IM)
I ran 2x and 3x initial premium exit points, more losers and less overall ROI. The size of the losers is not necessarily lower either (on a monthly compounded basis). For example, the 2x premium exit has #NUM because it loses over 12% in 1 day; compound that for 30 days in a month and you have almost no money left.

Note that I assume you get out at the settlement price for a day and not at exactly 2x the initial premium. This makes sense to me; expecting to get out at a specific price when markets tank is unrealistic.



The first run is Ron's methodology. The second is 2x and the third is 3x.

Reply With Quote
Thanked by:
  #6018 (permalink)
 ron99 
Cleveland, OH
 
Experience: Advanced
Platform: QST
Broker: QST, DeCarley Trading, Gain
Trading: Options on Futures
Posts: 3,081 since Jul 2011
Thanks Given: 980
Thanks Received: 5,785


TFOpts View Post
@ron99 Thanks for pointing out the difference between the initial and maintenance margin.

I have a question for you. Your exit point is documented as:
(CURRENT IM + (CURRENT PREMIUM$ - OPENING PREMIUM$)) > (MM * OPENING IM)
Does that mean you actually use the maintenance margin to exit instead?
(CURRENT MM + (CURRENT PREMIUM$ - OPENING PREMIUM$)) > (MM * OPENING IM)
In the example on post 6012 the exit point based on the original formula is reached on 02/11/2016 (see calcs below).
(1,216.6 + (575 - 130)) > (6 * 266.2) = 1,661.6 > 1,597.2
Have you revised your exit strategy to only exit when there's a margin call?

Yes

Started this thread Reply With Quote
Thanked by:
  #6019 (permalink)
 ron99 
Cleveland, OH
 
Experience: Advanced
Platform: QST
Broker: QST, DeCarley Trading, Gain
Trading: Options on Futures
Posts: 3,081 since Jul 2011
Thanks Given: 980
Thanks Received: 5,785


TFOpts View Post
You downloaded each ES and EW3 option for each trading day for all of those years?
Does XLS-SPAN include EW3? I just took what came out of XLS-SPAN for an ES entry

EW3 starts appearing Feb 22, 2016.

You'll need those contracts to do a backtest for 2016 & 2017 for all months instead of just the quarterlies.

Started this thread Reply With Quote
  #6020 (permalink)
 ron99 
Cleveland, OH
 
Experience: Advanced
Platform: QST
Broker: QST, DeCarley Trading, Gain
Trading: Options on Futures
Posts: 3,081 since Jul 2011
Thanks Given: 980
Thanks Received: 5,785



TFOpts View Post
@ron99 Thanks for pointing out the difference between the initial and maintenance margin.

I have a question for you. Your exit point is documented as:
(CURRENT IM + (CURRENT PREMIUM$ - OPENING PREMIUM$)) > (MM * OPENING IM)
Does that mean you actually use the maintenance margin to exit instead?
(CURRENT MM + (CURRENT PREMIUM$ - OPENING PREMIUM$)) > (MM * OPENING IM)
In the example on post 6012 the exit point based on the original formula is reached on 02/11/2016 (see calcs below).
(1,216.6 + (575 - 130)) > (6 * 266.2) = 1,661.6 > 1,597.2
Have you revised your exit strategy to only exit when there's a margin call?

Using CME's PC-SPAN for the above spread, it says 266.00 for IM and 242.00 for MM on 12/01/2015. It rounds to nearest dollar.

On 02/11/2016 IM is 1,217.00 and MM is 1,106.00.

Applying MM to the formula shows that the position isn't on margin call because MM of 1,551 is less than 6xIM of 1,597.20. It's at 97.1%.
(1,106.00 + (575 - 130)) > (6 * 266.2) = 1,551.00 > 1,597.2

Started this thread Reply With Quote
Thanked by:




Last Updated on July 28, 2023


© 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