PC-SPAN - futures io
futures io



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 121,880 views
    2. thumb_up 317 thanks given
    3. group 76 followers
    1. forum 609 posts
    2. attach_file 159 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

PC-SPAN

(login for full post details)
  #601 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
 
Posts: 266 since Sep 2012
Thanks: 30 given, 274 received


Kevalo View Post
@Dudetooth

OK, got it. Was a misunderstanding on my side.

I changed the code accordingly but now there is a new compilation error because the variable "lngRetVal" is not defined.
How and where can it be defined? I think it should be working after that definition.

Thanks again!

@Kevalo,

Add "Dim lngRetVal As LongPtr" to Function SaveWebFile so it reads:

Private Function SaveWebFile(URL As String, LocalFilename As String) As Boolean
Dim lngRetVal As LongPtr
lngRetVal = URLDownloadToFileA(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then SaveWebFile = True
End Function

Reply With Quote

Can you help answer these questions
from other members on futures io?
Sierra / Heatmap data for Eurex ?
Sierra Chart
Using fxd files in FXCM trading station
Platforms and Indicators
looking for developer for pine scripts
Platforms and Indicators
ID Indicator ?
ThinkOrSwim
Is IBKRs BookTrader OK?
Platforms and Indicators
 
 
(login for full post details)
  #602 (permalink)
 Kevalo 
Germany
 
Experience: Advanced
Platform: AgenaTrader, TWS
Broker: IB, Saxo
Trading: Stocks, Options
 
Posts: 12 since Feb 2011
Thanks: 63 given, 3 received


Dudetooth View Post
@Kevalo,

Add "Dim lngRetVal As LongPtr" to Function SaveWebFile so it reads:

Private Function SaveWebFile(URL As String, LocalFilename As String) As Boolean
Dim lngRetVal As LongPtr
lngRetVal = URLDownloadToFileA(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then SaveWebFile = True
End Function

@Dudetooth

When I started a risk file download after the changes above, the whole Excel-Application crashed without any further messages. I restarted Excel and tried downloading several times but Excel keeps crashing. To be sure I edited everything correctly here is the complete code of that section that causes the crash.

But please don't invest too much of your time on that. As I said, I am grateful for the time and work you spent already. Thanks again.


Reply With Quote
The following user says Thank You to Kevalo for this post:
 
(login for full post details)
  #603 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
 
Posts: 266 since Sep 2012
Thanks: 30 given, 274 received



Kevalo View Post
@Dudetooth

When I started a risk file download after the changes above, the whole Excel-Application crashed without any further messages. I restarted Excel and tried downloading several times but Excel keeps crashing. To be sure I edited everything correctly here is the complete code of that section that causes the crash.

But please don't invest too much of your time on that. As I said, I am grateful for the time and work you spent already. Thanks again.

@Kevalo,

I'm going to chalk this up to just being a nut I can't crack. Thanks for trying.

Reply With Quote
 
(login for full post details)
  #604 (permalink)
 Kevalo 
Germany
 
Experience: Advanced
Platform: AgenaTrader, TWS
Broker: IB, Saxo
Trading: Stocks, Options
 
Posts: 12 since Feb 2011
Thanks: 63 given, 3 received


Dudetooth View Post
@Kevalo,

I'm going to chalk this up to just being a nut I can't crack. Thanks for trying.

@Dudetooth

OK, no problem. Thanks again.

Reply With Quote
 
(login for full post details)
  #605 (permalink)
peternguyen
Ho Chi Minh City
 
 
Posts: 11 since Dec 2017
Thanks: 5 given, 0 received


ron99 View Post
Those margins quoted by Dudetooth are exchange minimum margins or SPAN margins. Nobody can have lower margins. Some have higher margins.

I use DeCarley Trading. Excellent customer service.
https://www.decarleytrading.com/

Do you know any option broker in Australia that offer SPAN margin on options on future contracts? Thanks.

Reply With Quote
 
(login for full post details)
  #606 (permalink)
mosalem2003
Toronto
 
 
Posts: 91 since Apr 2019
Thanks: 88 given, 21 received

What is the latest version of the sheet that works with Win10-64 bits ?

Reply With Quote
 
(login for full post details)
  #607 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
 
Posts: 266 since Sep 2012
Thanks: 30 given, 274 received


mosalem2003 View Post
What is the latest version of the sheet that works with Win10-64 bits ?

@mosalem2003,

XLS-SPAN (05d), found on post #570.

It will work on Win10 64-bit, but may not work correctly if you are using it on the 64-bit version of Excel.

Reply With Quote
The following user says Thank You to Dudetooth for this post:
 
(login for full post details)
  #608 (permalink)
mosalem2003
Toronto
 
 
Posts: 91 since Apr 2019
Thanks: 88 given, 21 received


Dudetooth View Post
@mosalem2003,

XLS-SPAN (05d), found on post #570.

It will work on Win10 64-bit, but may not work correctly if you are using it on the 64-bit version of Excel.

Using Excel 64 bits , it has an issue as enclosed:

Is there a work-around or instructions for excel usage?

Reply With Quote
 
(login for full post details)
  #609 (permalink)
 Dudetooth 
Steubenville Ohio
 
Experience: Intermediate
Platform: OX, OEC, RJO
Trading: Options on Futures
 
Posts: 266 since Sep 2012
Thanks: 30 given, 274 received


mosalem2003 View Post
Using Excel 64 bits , it has an issue as enclosed:
Is there a work-around or instructions for excel usage?

@mosalem2003,

Unfortunately no. Posts #586-603 cover the same error you are seeing. I do not have the 64-bit version of Excel, so I really can't effectively troubleshoot problems with that version VBA.

If you use an alternate means to download the risk files it may work for the analysis, but I suspect it is likely that there would be other issues where the VBA doesn't translate properly from 32-bit to 64-bit.

I'm not sure if anyone else has any luck converting the VBA.

Sorry.

Reply With Quote
The following user says Thank You to Dudetooth for this post:
 
(login for full post details)
  #610 (permalink)
 ron99 
Cleveland, OH
 
Experience: Advanced
Platform: QST
Broker: QST, DeCarley Trading, Gain
Trading: Options on Futures
 
Posts: 3,062 since Jul 2011
Thanks: 959 given, 5,712 received



Quoting 
In late 2021, CME Group will begin migrating products on CME Group markets to an enhanced margin framework, the SPAN 2TM framework. Beginning with NYMEX Energy products, this new framework will be introduced across all CME Group products in a phased approach over the next few years and eventually will replace SPANŽ.


Quoting 
PC SPAN software will not be updated to include the SPAN 2 methodology but will continue to support products in the legacy SPAN framework. However, to assist users in this transition, CME Group has enhanced our online margin calculator, CME CORE, with the most commonly used PC SPAN functionality, and the new UI is now live for futures and options users.

https://go.cmegroup.com/webmail/502091/1002934459/394f7032988bc7df65d3fbf91dd8e1b741a9041364f5dd853dc6b17f66e5b477

Started this thread Reply With Quote
The following user says Thank You to ron99 for this post:


futures io Trading Community Traders Hideout Options > PC-SPAN


Last Updated on June 10, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing

BloodHound Fundamentals 101 w/Jeremy Tang @ SharkIndicators

Elite only
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

June
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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