IsPut

IsPut ();

Description

Returns true if the current option is PUT, false if CALL.

Example

plot Opposite = OptionPrice(IsPut = !IsPut());

This example plots theoretical price of an option with the same underlying, strike price, and expiration but the opposite right.