PC-SPAN - Options on Futures | futures io social day trading
futures io futures trading


PC-SPAN
Updated: Views / Replies:52,207 / 478
Created: by ron99 Attachments:113

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 113  
 
Thread Tools Search this Thread
 

PC-SPAN

  #91 (permalink)
Market Wizard
Cleveland Ohio/United States
 
Futures Experience: Advanced
Platform: Tradestation
Broker/Data: various
Favorite Futures: futures
 
Posts: 2,348 since Jul 2012
Thanks: 1,101 given, 4,260 received
Forum Reputation: Legendary

Error Handling

@Dudetooth -

Is there a way to enhance the error tracking for cases where the option is listed but has no open interest? Here is an example - the 3rd one in the list has no open interest (the first 2 have some open interest):

HOF4 HOF4 P 2.49 -1
HOF4 HOF4 P 2.5 -1
HOF4 HOF4 P 2.51 -1



The problem is once the macro stops, if you try running "portfolio" again, no results are given. You actually have to exit the spreadsheet, and start over. I'm guessing the first time through it is writing something "bad" to the temp sheet, and then when you re-run, no results are obtained.

Thanks!

If you have any questions please send me a Private Message or use the futures.io "Ask Me Anything" thread
Reply With Quote
 
  #92 (permalink)
Market Wizard
Cleveland, OH
 
Futures Experience: Advanced
Platform: QST
Broker/Data: QST, DeCarley Trading, Gain
Favorite Futures: Options on Futures
 
Posts: 2,680 since Jul 2011
Thanks: 777 given, 4,658 received
Forum Reputation: Legendary


kevinkdog View Post
@Dudetooth -

Is there a way to enhance the error tracking for cases where the option is listed but has no open interest? Here is an example - the 3rd one in the list has no open interest (the first 2 have some open interest):

HOF4 HOF4 P 2.49 -1
HOF4 HOF4 P 2.5 -1
HOF4 HOF4 P 2.51 -1



The problem is once the macro stops, if you try running "portfolio" again, no results are given. You actually have to exit the spreadsheet, and start over. I'm guessing the first time through it is writing something "bad" to the temp sheet, and then when you re-run, no results are obtained.

Thanks!

I was having same problem. Dudetooth sent me this correction that works OK.

To fix the issue you are having with the portfolio sub:
1) Go into the 'PortfolioRisk' sub and delete/hide the 'On Error GoTo GetOut' and the 'GetOut:' lines.
2) Go into the 'CalcRisk' sub and add 'Worksheets(tab1).Select' right under the 'GetOut:' line.

Reply With Quote
The following user says Thank You to ron99 for this post:
 
  #93 (permalink)
Elite Member
Steubenville Ohio
 
Futures Experience: Intermediate
Platform: OX, OEC, RJO
Favorite Futures: Options on Futures
 
Posts: 214 since Sep 2012
Thanks: 26 given, 240 received



kevinkdog View Post
I have been playing around with currencies in the SPAN spreadsheet. Here is what I have found:

1. In the spreadsheet, the delta calculations for Euro (6E) and Yen (6J) are double what they actually are. This can be corrected easily in the code (by changing code to d1=1). @Dudetooth - can you verify this?

2. For settlement dates, the Options Express Trade Calculator gives the options expiration date as 3 days before the SPAN settlement date. This is true for all currencies I looked at (BP, EC, CD, AD, JY). So, if you are used to calculating ROI based on OEX date, the SPAN spreadsheet ROI will be lower.

For ROI calculations, I believe you want to use options expiration date, not settlement date. Can someone confirm my thinking?


3. I have added the following currencies: BP, AD, CD. Code is below:

Kevin,

Thanks for the code for the other currencies ... they'll make it to the next build.

I'm not seeing the issue with delta that you were seeing. I haven't added the news currencies to the code yet, so I just calculated a couple EC and JY options with the current code to see what the differences were (I did not change the d1 variable either).

SPAN's results:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Spreadsheet's results:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Sorry, I'm not seeing the discrepancies.

With the settlement dates I was looking at the Feb and Mar options for EC and JY.

From OX Options Quotes:
Euro FX February 2014 Options (66 days to expiration) Expiration Date: 2/7/2014
Euro FX March 2014 Options (94 days to expiration) Expiration Date: 3/7/2014

From CME's Product Calendar:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


The Spreadsheet is reflecting the settlement date from the risk arrays. I looked at product calendars for CL, NG, GC, EC, JY, LC, LH on CME and KC and SB on ICE, and the only options I saw that had a last trade date that was different than the settlement was LH, so as far as I know only LH ROI would be affected (there may be others I didn't check yet).

Reply With Quote
 
  #94 (permalink)
Elite Member
Steubenville Ohio
 
Futures Experience: Intermediate
Platform: OX, OEC, RJO
Favorite Futures: Options on Futures
 
Posts: 214 since Sep 2012
Thanks: 26 given, 240 received


kevinkdog View Post
@Dudetooth -

Is there a way to enhance the error tracking for cases where the option is listed but has no open interest? Here is an example - the 3rd one in the list has no open interest (the first 2 have some open interest):

HOF4 HOF4 P 2.49 -1
HOF4 HOF4 P 2.5 -1
HOF4 HOF4 P 2.51 -1



The problem is once the macro stops, if you try running "portfolio" again, no results are given. You actually have to exit the spreadsheet, and start over. I'm guessing the first time through it is writing something "bad" to the temp sheet, and then when you re-run, no results are obtained.

Thanks!

I think you would need a different risk array.
S=*Settlement*cycle*–Settle*prices*for*all*products*with*OI*
C= Complete*cycle*–All*settle*price*for*all*products

So you'd want to download the cme.20131203.c.pa2.zip file ... code would need to change from s.pa2 to c.pa2, but that would be fairly easy. That file is about 3x the size of the s.pa2 (~150mb worth of text unzipped) ... not sure how much that will slow things down.

Reply With Quote
 
  #95 (permalink)
Market Wizard
Cleveland Ohio/United States
 
Futures Experience: Advanced
Platform: Tradestation
Broker/Data: various
Favorite Futures: futures
 
Posts: 2,348 since Jul 2012
Thanks: 1,101 given, 4,260 received
Forum Reputation: Legendary

@Dudetooth -

Try this one, based on 12/2/2013 settlement data:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



this shows delta>100, which can't be.

If you have any questions please send me a Private Message or use the futures.io "Ask Me Anything" thread
Reply With Quote
 
  #96 (permalink)
Elite Member
Steubenville Ohio
 
Futures Experience: Intermediate
Platform: OX, OEC, RJO
Favorite Futures: Options on Futures
 
Posts: 214 since Sep 2012
Thanks: 26 given, 240 received


kevinkdog View Post
@Dudetooth -

Try this one, based on 12/2/2013 settlement data:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



this shows delta>100, which can't be.

I know that in-the-money options should be no greater than 100, but PC-SPAN says the same thing as the spreadsheet:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Just saying that I don't think it is the spreadsheet miscalculating ... at least not in this case.

Reply With Quote
 
  #97 (permalink)
Market Wizard
Cleveland Ohio/United States
 
Futures Experience: Advanced
Platform: Tradestation
Broker/Data: various
Favorite Futures: futures
 
Posts: 2,348 since Jul 2012
Thanks: 1,101 given, 4,260 received
Forum Reputation: Legendary


Dudetooth View Post
I know that in-the-money options should be no greater than 100, but PC-SPAN says the same thing as the spreadsheet:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Just saying that I don't think it is the spreadsheet miscalculating ... at least not in this case.



Very interesting! I would say that PC SPAN is wrong then, since delta can never be greater than 1.

If you have any questions please send me a Private Message or use the futures.io "Ask Me Anything" thread
Reply With Quote
 
  #98 (permalink)
Market Wizard
Cleveland Ohio/United States
 
Futures Experience: Advanced
Platform: Tradestation
Broker/Data: various
Favorite Futures: futures
 
Posts: 2,348 since Jul 2012
Thanks: 1,101 given, 4,260 received
Forum Reputation: Legendary


Dudetooth View Post
Kevin,

Thanks for the code for the other currencies ... they'll make it to the next build.

I'm not seeing the issue with delta that you were seeing. I haven't added the news currencies to the code yet, so I just calculated a couple EC and JY options with the current code to see what the differences were (I did not change the d1 variable either).

SPAN's results:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Spreadsheet's results:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Sorry, I'm not seeing the discrepancies.

With the settlement dates I was looking at the Feb and Mar options for EC and JY.

From OX Options Quotes:
Euro FX February 2014 Options (66 days to expiration) Expiration Date: 2/7/2014
Euro FX March 2014 Options (94 days to expiration) Expiration Date: 3/7/2014

From CME's Product Calendar:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


The Spreadsheet is reflecting the settlement date from the risk arrays. I looked at product calendars for CL, NG, GC, EC, JY, LC, LH on CME and KC and SB on ICE, and the only options I saw that had a last trade date that was different than the settlement was LH, so as far as I know only LH ROI would be affected (there may be others I didn't check yet).


Yes, you are correct. I had the incorrect date in Cell A1 - that date did not match the risk array date. My bad!

If you have any questions please send me a Private Message or use the futures.io "Ask Me Anything" thread
Reply With Quote
 
  #99 (permalink)
Elite Member
Steubenville Ohio
 
Futures Experience: Intermediate
Platform: OX, OEC, RJO
Favorite Futures: Options on Futures
 
Posts: 214 since Sep 2012
Thanks: 26 given, 240 received


kevinkdog View Post
I'm not sure what is going on then. Here is an example. The DTE in the spreadsheet shows 3 days difference. As of yesterday, the spreadsheet shows DTE=70, when it was actually 67 days to expiration.

The spreadsheet calculated by subtracting the date entered in A1 (the date of the risk file to download) from the settlement date in the risk file. So if you had Friday's date in A1 and did your calculation on Monday the spreadsheet would show 70 days where OX would be adjusting to Monday's date and giving you 67 days.

Perhaps that is what is going on.

Reply With Quote
The following user says Thank You to Dudetooth for this post:
 
  #100 (permalink)
Elite Member
Steubenville Ohio
 
Futures Experience: Intermediate
Platform: OX, OEC, RJO
Favorite Futures: Options on Futures
 
Posts: 214 since Sep 2012
Thanks: 26 given, 240 received




I read through some of their material when I was researching the script language, but I somehow missed this part. With everything spelled out like this, I think you could eventually get Excel to do everything that PC-SPAN does.

Reply With Quote

Reply



futures io > > > > PC-SPAN

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Ask Me Anything (AMA) w/Rod Casilli @ Collective2

Aug 23
 

Prototyping Python Strategies (part 3, Live Trading) w/Ran Aroussi [1PM ET]

Elite only
 

Develop Strategies and Perfect Execution w/Brannigan Barrett @ Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Current PC Specs tderrick Tech Support 45 October 28th, 2012 03:40 PM
Any PC Gamers in here? forrestang Off-Topic 61 October 10th, 2012 02:37 PM
Virtual PC setup how? boze man Tech Support 5 September 8th, 2012 03:59 PM
I need PC help Boomer34 Tech Support 5 January 22nd, 2012 02:28 PM
PC Question NMTrader Off-Topic 0 July 12th, 2009 10:56 PM


All times are GMT -4. The time now is 07:10 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-08-23 in 0.15 seconds with 20 queries on phoenix via your IP 54.80.228.137