QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
PartialBarrier Struct Reference

choice of time range for partial-time barrier options More...

#include <ql/instruments/partialtimebarrieroption.hpp>

Public Types

enum  Range { Start = 0 , EndB1 = 2 , EndB2 = 3 }

Detailed Description

choice of time range for partial-time barrier options

Member Enumeration Documentation

◆ Range

enum Range
Enumerator
Start 

Monitor the barrier from the start of the option lifetime until the so-called cover event.

EndB1 

Monitor the barrier from the cover event to the exercise date; trigger a knock-out only if the barrier is hit or crossed from either side, regardless of the underlying value when monitoring starts.

EndB2 

Monitor the barrier from the cover event to the exercise date; immediately trigger a knock-out if the underlying value is on the wrong side of the barrier when monitoring starts.