Forums  > Software  > CME SPAN margin methodology  
     
Page 1 of 1
Display using:  

Strange


Total Posts: 1681
Joined: Jun 2004
 
Posted: 2021-06-16 16:54
Have anyone manage to replicate SPAN margin methodology for CME ES futures and futures options? Would you be willing to share?

PS. I know there is PC SPAN but if I want to run a margin calculator automatically it's not a viable solution

'Progress just means bad things happen faster.’

Patrik
Founding Member

Total Posts: 1376
Joined: Mar 2004
 
Posted: 2021-06-16 21:47
In commod space I recall getting close but not 100% when I tried. I think there were some offsets and rules around the edges of the main SPAN scenarios that I either didn't find the data for or didn't manage to implement correctly. Memory is a bit fuzzy.

Is the intent fully replication or "good enough" to make decisions from?

P.S. I also recall managing to wrap PC SPAN so I could run it on-demand on a Linux server. Think it was a .NET thing and I managed to get it running with mono, or if it wasn't .NET via wine. I don't recall the tooling between ICE and CME, got both working at least.

Capital Structure Demolition LLC Radiation

Strange


Total Posts: 1681
Joined: Jun 2004
 
Posted: 2021-06-21 18:56
I just want it to be close enough to real numbers. The purpose is (a) know if I breaching my margin limit at the run-time and (b) be able to know my margin usage for the backtests. I manage to build something that does OCC SPAN margin very close, but CME so far is "elusive".

'Progress just means bad things happen faster.’

Dizzy


Total Posts: 259
Joined: May 2006
 
Posted: 2021-06-22 07:05
Also, CME is in the progress of migrating to its SPAN 2 methodology, so it may be a bit of a moving target.

To quote Douglas Adams,

“There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened.”

"Although the code snippet makes taking over the earth look fairly easy, you don't see all the hard work going on behind the scenes." - Programming F#, Chris Smith
Previous Thread :: Next Thread 
Page 1 of 1