qis.KinkPolicy¶
- class qis.KinkPolicy(*values)[source]¶
Bases:
EnumOne-sided quote derivative used consistently across a holding’s legs.
The policy binds only when the quote at which the derivative is taken equals a leg’s strike exactly, by floating-point equality with no tolerance. A quote any distance from the strike, however small, uses the ordinary slope: one for a call above its strike and zero below, and the call slope minus one for a put. Current risk takes the derivative at the baseline quote; scenario-local bands take it at each scenario quote.
- Variables:
LEFT – Derivative approached from lower quotes.
RIGHT – Derivative approached from higher quotes.
MIDPOINT – Average of left and right derivatives.
- __init__(*args, **kwds)¶
Attributes
- LEFT = 'left'¶
- RIGHT = 'right'¶
- MIDPOINT = 'midpoint'¶