|
Description |
This formula provides a running total of Vega values expressed in ticks, or points, gained or lost.
While this formula is designed to return a sum of multiple values, it can also be used to convert a single value to ticks. |
|
|
Formula |
VegaInTicks=begin nTotal = 0 thisVal = NONUM
for i = 1 to PARAMCOUNT begin thisVal = TickCalc($[i], GREEK_VEGA, $[i].qty) if thisVal != NONUM then begin thisVal = thisVal nTotal = nTotal + thisVal end end retval = Scale(nTotal, THOUSANDTHS) end |
|
|
Parameters |
The number of arguments in this formula may vary.
The arguments are $n references, i.e.,
VegaInTicks($1, $2, $3, $4, $5) |
|
|
Return Value |
Vega in ticks. |
|
|
Examples |
|
|
|
Comments |
NA |
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.