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


PC-SPAN
Updated: Views / Replies:52,054 / 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

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

Request for Additional Symbols

@Dudetooth -

I was able to add some new instruments: BP, AD, CD. I will post the code once I verify the results tonight.


I tried, but failed, with the following. Could you add them when you get a chance?

Soybean Meal
Soybean Oil
Copper
30 Year US Bonds
10 Year Treasury Notes
Eurodollars


I have found some good trades in those instruments.


THANKS

If you have any questions please send me a Private Message or use the futures.io "Ask Me Anything" thread
Reply With Quote
 
  #82 (permalink)
Elite Member
Dallas, TX
 
Futures Experience: Advanced
Platform: T4, Zaner360, TOS
Broker/Data: DeCarley Trading
Favorite Futures: Options
 
Posts: 104 since Sep 2013
Thanks: 133 given, 50 received


Dudetooth View Post
I'd gather that you are looking for a step-by-step on how this is done within the spreadsheet. That will take me a little bit to jot down in a narrative form to show you where the data is within risk arrays and explain the process. If you give me some time, I'll see what I can come up with.

Even though you donít use Excel, if you can look through the spreadsheet and its VBA code some of the process may make sense with your ability to program in Python.

Wouldn't it be easier to just post your VBA code? Understanding your steps aren't that difficult if you know a little about programming and can inspect the code. I can post it, but don't want to without Dudetooth's permission.

Reply With Quote
 
  #83 (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 took a quick look over at CME ... most other products we have in this spreadsheet seem to have the same date for last trade and settlement, even LC. I checked a couple on ICE and the date in the SPAN is what they list as the last trade date. It almost looks like LH is odd man out.

Reply With Quote
 
  #84 (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 was able to add some new instruments: BP, AD, CD. I will post the code once I verify the results tonight.

Great ... looking forward to it.



kevinkdog View Post
I tried, but failed, with the following. Could you add them when you get a chance?

I added it to the "to-do" list for the next update.

Reply With Quote
 
  #85 (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


mu2pilot View Post
Wouldn't it be easier to just post your VBA code? Understanding your steps aren't that difficult if you know a little about programming and can inspect the code. I can post it, but don't want to without Dudetooth's permission.

That's fine by me, but it seems to me that it would be rather difficult to understand the process without seeing the corresponding data in the spreadsheet.

Reply With Quote
 
  #86 (permalink)
Elite Member
Dallas, TX
 
Futures Experience: Advanced
Platform: T4, Zaner360, TOS
Broker/Data: DeCarley Trading
Favorite Futures: Options
 
Posts: 104 since Sep 2013
Thanks: 133 given, 50 received


Dudetooth View Post
That's fine by me, but it seems to me that it would be rather difficult to understand the process without seeing the corresponding data in the spreadsheet.

Yeah, you're probably right. The other option is to download a trial copy of excel and look at the code that way. Assuming he has a windows box to load it on. If he has no windows computers, then that's a non-starter.

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

CURRENCY INFO/UPDATE

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:

If con1 = "A6" Or con1 = "6A" Or con1 = "AD" Then '6A Globex, A6 Barchart
stk1 = stk1 * 1000
str1 = "CMEAD AD OOF" & cp1
str1 = str1 & "201" & yr1 & umo1 & " 201" & yr2 & omo1
strSearch = str1 & " " & Application.WorksheetFunction.Text(stk1, "0000000")
strSearch2 = "3 AD"
strSearch3 = "4 AD"
strSearch4 = "B CMEAD OOF201" & yr1 & umo1 & " 201" & yr2 & omo1
imm2 = 2
v1 = 1#
d1 = 1
'CMEBP BP; CMEC1 C1; CMEAD AD
ElseIf con1 = "B6" Or con1 = "6B" Or con1 = "BP" Then '6B Globex, B6 Barchart
stk1 = stk1 * 1000
str1 = "CMEBP BP OOF" & cp1
str1 = str1 & "201" & yr1 & umo1 & " 201" & yr2 & omo1
strSearch = str1 & " " & Application.WorksheetFunction.Text(stk1, "0000000")
strSearch2 = "3 BP"
strSearch3 = "4 BP"
strSearch4 = "B CMEBP OOF201" & yr1 & umo1 & " 201" & yr2 & omo1
imm2 = 2
v1 = 0.625
d1 = 1
'CMEBP BP; CMEC1 C1; CMEAD AD
ElseIf con1 = "C6" Or con1 = "6C" Or con1 = "CD" Then '6C Globex, C6 Barchart
stk1 = stk1 * 1000
str1 = "CMEC1 C1 OOF" & cp1
str1 = str1 & "201" & yr1 & umo1 & " 201" & yr2 & omo1
strSearch = str1 & " " & Application.WorksheetFunction.Text(stk1, "0000000")
strSearch2 = "3 CD"
strSearch3 = "4 CD"
strSearch4 = "B CMEC1 OOF201" & yr1 & umo1 & " 201" & yr2 & omo1
imm2 = 2
v1 = 1#
d1 = 1

If you have any questions please send me a Private Message or use the futures.io "Ask Me Anything" thread
Reply With Quote
 
  #88 (permalink)
Elite Member
Chicago, IL
 
Futures Experience: Beginner
Platform: RTrader
Favorite Futures: CL
 
Posts: 15 since Apr 2013
Thanks: 9 given, 1 received

@Dudetooth,

Maybe we can start small. Here are four lines from the CME settlement's file


Quoting 
354561:81NYMLO CL OOFC201403 201403 000920000622-00657+01282-00048-00002-01304+01982-00808-00575+00000000000470N
354562:82NYMLO CL OOFC201403 201403 000920001887+02719-01618-01108+02406+02458-01270+06196+002043440000470++06225+C
354563:81NYMLO CL OOFP201403 201403 000920000622-00657+00232-01002+01052-00254+00118+01292+01525-00000000000242N
354564:82NYMLO CL OOFP201403 201403 000920000213-00431+01532+02042-00744-00661+01848-03784-002043440000242++03775-C

I believe these are Crude Oil options. This is because "NYMLO" and "CL" are symbols CME uses for Crude Oil. Here is what I can surmise from the fields. The fist number, e.g., "354561", is NOT in the file, it is the line number. After the colon ":" the actual file begins.
  1. The first feild is 81NYMLO or 82NYMLO. I don't know the difference between the 81 and 82. But I see it in a number of lines.
  2. The "CL" field probably lists the underlying future
  3. The OOFC201403/OOFP201403 lists "options on futures" and then "C" or "P" for call or put. Then the year and month of the underlying future.
  4. The next date "201403" is probably the expiration of the option, in this case the same as the future.
  5. Then it looks like there is a series of numbers I don't understand. There is a "00092" which I think may the the option's strike price. But then it's all Greek to me.

If you could help me understand the long string of numbers, and let me know how you converted that into the Initial Margin (IM) that would be great. I don't need to calculate the Delta. You have some other fields: price, value, DTE, Risk, etc. I dont' need those either at the moment. Like I said, I want to start small and just get the IMs. Then I can look to see how easy or hard it is too add other things.

Lastly, I did download Dudetooth's Excel Macro (xlsm) file. I can load it in LibreOffice but I can't see the underlying "guts" of the program. (I do have a Window's box, but I don't feel like trying to setup Excel just to do one thing).

As for posting the source code. I would recommend you use pastebin: Pastebin.com - #1 paste tool since 2002!. You post the code there. The Web site give you a URL, and then post the URL/link here in the forum. This way the forum isn't cluttered with code.

Reply With Quote
 
  #89 (permalink)
Market Wizard
Cleveland, OH
 
Futures Experience: Advanced
Platform: QST
Broker/Data: QST, DeCarley Trading, Gain
Favorite Futures: Options on Futures
 
Posts: 2,677 since Jul 2011
Thanks: 777 given, 4,652 received
Forum Reputation: Legendary

enderqa, Here is what is in the file.

http://www.cmegroup.com/confluence/display/pubspan/Type+8+Records+-+Standard

Reply With Quote
 
  #90 (permalink)
Elite Member
Dallas, TX
 
Futures Experience: Advanced
Platform: T4, Zaner360, TOS
Broker/Data: DeCarley Trading
Favorite Futures: Options
 
Posts: 104 since Sep 2013
Thanks: 133 given, 50 received




FYI, when I open a .pa2 file in a text editor, it appears to be the "expanded" version of the file layout. Here is the file structure for the expanded .pa2 file:

http://www.cmegroup.com/confluence/display/pubspan/Type+8+-+Expanded

The first data record is "81". If you scroll down, you'll see where record type "82" begins.

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 02:55 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-19 in 0.09 seconds with 19 queries on phoenix via your IP 54.80.226.185