|
Description |
This formula calculates the difference in price between two futures contracts. |
|
|
Formula |
spread(inst1,inst2)=begin sprd = inst1.recent - inst2.recent retval = Scale(sprd, SPREAD_SCALE) end |
|
|
Parameters |
inst1 The first future's contract.
inst2 The second future's contract. |
|
|
Return Value |
A spread value |
|
|
Examples |
Spread(CL#,CL#1) |
|
|
Comments |
NA |
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.