| 
 
  | 
| 
 Description  | 
 This formula gives a total of instrument premiums. 
 This formula is designed for application in a quote window.  | 
| 
 
  | 
 
  | 
| 
 Formula  | 
 AddPremium=begin ttlPremium = NONUM retval = NONUM for i = 1 to PARAMCOUNT begin if PremiumProfit($1[i]) != NONUM then ttlPremium = ttlPremium + PremiumProfit($[i]) end retval = ttlPremium end  | 
| 
 
  | 
 
  | 
| 
 Parameters  | 
 The number of arguments in this formula may vary. 
 The arguments are $n references, i.e., 
 AddPremium($1, $2, $3, $4, $5)  | 
| 
 
  | 
 
  | 
| 
 Return Value  | 
 A total premium value.  | 
| 
 
  | 
 
  | 
| 
 Examples  | 
 
  | 
| 
 
  | 
 
  | 
| 
 Comments  | 
 NA  | 
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.