| 
 
  | 
| 
 Description  | 
 This formula returns a string that describes the class of instrument on which an option is written.  | 
| 
 
  | 
 
  | 
| 
 Formula  | 
 IsOptionStr(instrument)=begin retval = NONUM if instrument.type == 128 then retval = 'Call'|clr_orange if instrument.type == 129 then retval = 'Futures Option'|clr_orange if instrument.type == 130 then retval = 'Stock Option'|clr_orange if instrument.type == 131 then retval = 'Forex Option'|clr_orange if instrument.type == 134 then retval = 'Index Option'|clr_orange if instrument.type == 132 then retval = 'Note Option'|clr_orange if instrument.type == 140 then retval = 'Cash Option'|clr_orange if instrument.type == 192 then retval = 'Put'|clr_orange retval end  | 
| 
 
  | 
 
  | 
| 
 Parameters  | 
 instrument The instrument argument specifies which instrument to evaluate. 
 If the instrument is not an option, no value is returned.  | 
| 
 
  | 
 
  | 
| 
 Return Value  | 
 A string.  | 
| 
 
  | 
 
  | 
| 
 Examples  | 
 IsOptionStr($1)  | 
| 
 
  | 
 
  | 
| 
 Comments  | 
 This formula is designed for use in a quote window.  | 
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.