GrossCrackingMargin

See Also...

Related Topics

 

 

Description

Displays the Gross Cracking Margin of a NYMEX Light Crude Oil, Unleaded Gasoline, Heating Oil crack.

 

 

Formula

GrossCrackingMargin(rCrudeOil, rGas, rHeatingOil)=begin

   retval = nonum

   cOilVal = CL# * rCrudeOil

   gasVal = (HU# * GALLONS_PER_BARREL) * rGas

   hOilVal = (HO# * GALLONS_PER_BARREL) * rHeatingOil

   refined = SUM(hOilVal,gasVal)

   retval = Scale(refined - cOilVal,CRACK_SCALE)

   retval

end

 

 

Parameters

rCrudeOil

The number of Light Crude Oil contracts.

 

rGas

The number of Unleaded Gasoline contracts.

 

rHeatingOil

The number of Heating Oil contracts.

 

 

Return Value

The Gross Cracking Margin.

 

 

Examples

GrossCrackingMargin(3,2,1)

 

Displays the Gross Cracking Margin on a 3:2:1 crack.

 

GrossCrackingMargin(5,3,2)

 

Displays the Gross Cracking Margin on a 5:3:2 crack.

 

 

Comments

NA

 

©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.