NexusFi: Find Your Edge


Home Menu

 





PC-SPAN


Discussion in Options

Updated
      Top Posters
    1. looks_one Dudetooth with 218 posts (213 thanks)
    2. looks_two ron99 with 116 posts (55 thanks)
    3. looks_3 CafeGrande with 30 posts (4 thanks)
    4. looks_4 BlueRoo with 24 posts (5 thanks)
      Best Posters
    1. looks_one Dudetooth with 1 thanks per post
    2. looks_two SMCJB with 1 thanks per post
    3. looks_3 ron99 with 0.5 thanks per post
    4. looks_4 BlueRoo with 0.2 thanks per post
    1. trending_up 188,781 views
    2. thumb_up 317 thanks given
    3. group 75 followers
    1. forum 610 posts
    2. attach_file 159 attachments




 
Search this Thread

PC-SPAN

  #391 (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

@Jerard asked me to post my version of XLS-SPAN that works with the EW3 symbol. Here it is.

Attached Files
Elite Membership required to download: XLS-SPAN (04d)Ron2.xls
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Futures True Range Report
The Elite Circle
Better Renko Gaps
The Elite Circle
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #392 (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

@Dudetooth CME Reducer doesn't seem to be working for me in XLS-SPAN (05 beta).

I get cme.20160818.s.pa2 full sized but no reduced size or copy of the original.

Here are my parameters


I see the Sub Reduce_CME_File_Size but I don't see where it is called anywhere. I did a Find for B9, the parameter cell for Reduce CME, and the result was, Search text is not found.

Also ICE symbols don't work at all if I don't have the zipped files in the Data folder. Is that a requirement?

How do you enter a future contract to be used in a spread?

Thanks

Started this thread Reply With Quote
  #393 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
Posts: 266 since Sep 2012
Thanks Given: 30
Thanks Received: 274


@ron99

Sorry, it wasn't just you. I forgot to add the line of code calling the CME Reducer after downloading the pa2 files (I've never used it myself, so I never caught it). That is fixed in the attached version.

I also forgot to add the needed line that renamed the NYB CSV file if you are working with only unzipped files. That line of code was in the main calculation, but not in the download. If not renamed then the code cannot find the CSV, hence the reason why it only worked when the zipped file was present. That is also fixed.

For entering a futures contract in a spread, look at the example on the Track tab. In the C/P column you would enter F and put nothing in the Strike column. Highlight all of the positions in your spread and track as a spread and you should be good to go.

Let me know if there is anything else.

(Attachment removed, replaced by spreadsheet in my next post)

Reply With Quote
Thanked by:
  #394 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
Posts: 266 since Sep 2012
Thanks Given: 30
Thanks Received: 274


ron99 View Post
I think that the cell reference rows are incorrect for the Mini S&P products in Reduce_CME_File_Size Sub. They should be D13, D14, D15.

Thanks ... Fixed.

Attached Files
Elite Membership required to download: XLS-SPAN (05 beta).xls
Reply With Quote
Thanked by:
  #395 (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


Dudetooth View Post
Thanks ... Fixed.

I didn't understand why the Reduce_CME_File_Size sub was coming up with a different file size than the sub I was using with XLS-SPAN version 04. I also then found that CME's PC_SPAN wouldn't use the XLS-SPAN version 05's reduced file.

I found the problem. A single digit was off. If Left(curLine, 7) should be If Left(curLine, 9)



You should also add that an (F) is used for a future contract on Track in cell Parameters!K16.

Started this thread Reply With Quote
  #396 (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

@Dudetooth I tried downloading multiple days of files and the CME reducer did not work on them. It does work if I only download one day of data.

Also when I tried to download 20130102 thru 20130111, the nyb files were about 10,000 kb instead of the expected 600 kb. The rest of Jan files were the expected size.

When I run Scan on KC for 20130102 I get options but the C/P column is blank??? It does that for all pa2 nyb files. The CSV files are OK for that.

Scan works for all ICE commodities on all dates. Track doesn't work for me for any ICE products on any dates. pa2 files or CSV files. Either one day or H-Track.

When you make these changes to the macros could you tell us which subs you changed. I have made several modifications to your spreadsheet and it would be easier for me to copy and paste the changed sub in the macros than redo all of my modifications.

As always, thank you very much for your help.

Started this thread Reply With Quote
  #397 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
Posts: 266 since Sep 2012
Thanks Given: 30
Thanks Received: 274

@ron99,

This is kind of a good news / bad news kind of reply. Good news is that most of the issues you noticed don't appear to be broke:

ron99 View Post
I tried downloading multiple days of files and the CME reducer did not work on them. It does work if I only download one day of data.

This feature worked during my test with multiple days of download.

ron99 View Post
Also when I tried to download 20130102 thru 20130111, the nyb files were about 10,000 kb instead of the expected 600 kb. The rest of Jan files were the expected size.

NYB changed the amount of data they were reporting. Risk files from 2009 up through the beginning of 2013 ranged in size from 1-2mb. They were reporting more option contracts and had nearly 100k lines of data. After 20130111 they reduced the number of option contracts reported which cut the lines of data down to about 7k.

ron99 View Post
When I run Scan on KC for 20130102 I get options but the C/P column is blank??? It does that for all pa2 nyb files. The CSV files are OK for that.

On my test the C/P filled in (see scan tab on attached).


ron99 View Post
Scan works for all ICE commodities on all dates. Track doesn't work for me for any ICE products on any dates. pa2 files or CSV files. Either one day or H-Track.

I'm not sure if you were using "Zip" or "Unzip" feature on Parameters!B5. I did find that the code would show a missing pa2/csv if Unzip was selected but there was no actual unzipped file present. I changed the code so if the pa2/cvs is missing it will look to see if the zip is present. If it is, then it will unzip and continue. That was the only issue that I came across when trying to track or H-Track.

ron99 View Post
When you make these changes to the macros could you tell us which subs you changed. I have made several modifications to your spreadsheet and it would be easier for me to copy and paste the changed sub in the macros than redo all of my modifications.

Here's the bad news ... any spreadsheet prior to XLS-SPAN (05 beta) is working on an entirely different base code. There was a very substantial rewrite with XLS-SPAN (05 beta), most notably the use of a Class Module. Code used in prior XLS-SPAN versions may or may not work in version 05+, however you cannot take the main code from version 05 and use it to retrofit an older version.

I'm sorry to say this, but if you wish to use version 05+ (current version is 05a) you'll have to redo your modifications. I understand the pain that will be, but the new base code was the only way I could get the current functionality.

Attached Files
Elite Membership required to download: XLS-SPAN (05a).xls
Reply With Quote
Thanked by:
  #398 (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

@Dudetooth I am using version 05a.

When I open XLS-SPAN in your last post I don't see your ribbon so I can't run anything.

Started this thread Reply With Quote
  #399 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
Posts: 266 since Sep 2012
Thanks Given: 30
Thanks Received: 274


ron99 View Post
@Dudetooth I am using version 05a.

When I open XLS-SPAN in your last post I don't see your ribbon so I can't run anything.

@ron99 ... sorry about that. I created the original file as .xlsm (Excel 2007+) and then saved it in the older format to post it. I never noticed that the 97/2003 format removed the ribbon.

Attached Files
Elite Membership required to download: XLS-SPAN (05a).zip
Reply With Quote
Thanked by:
  #400 (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


I was able to copy my sheets into the updated version of XLS-SPAN and everything works OK.

Thanks! @Dudetooth

Started this thread Reply With Quote




Last Updated on September 23, 2021


© 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