Moneyness¶
Conversion utilities between strike, log-strike, and moneyness representations.
These functions provide a single authoritative source for the relationships between absolute strikes, log-strikes, and time-scaled moneyness used throughout the library.
quantflow.options.moneyness
¶
Moneyness and log-strike conversion utilities.
This module provides the canonical conversions between absolute strikes, log-strikes, and time-scaled moneyness used throughout the library.
See the glossary for definitions.
moneyness_from_log_strike
¶
Convert log-strike \(k\) to moneyness \(m\).
| PARAMETER | DESCRIPTION |
|---|---|
log_strike
|
Log-strike
TYPE:
|
ttm
|
Time to maturity in years
TYPE:
|
Source code in quantflow/options/moneyness.py
log_strike_from_moneyness
¶
Convert time-scaled moneyness to log-strike.
| PARAMETER | DESCRIPTION |
|---|---|
moneyness
|
Time-scaled moneyness
TYPE:
|
ttm
|
Time to maturity in years
TYPE:
|
Source code in quantflow/options/moneyness.py
strike_from_moneyness
¶
Convert time-scaled moneyness to an absolute strike price.
| PARAMETER | DESCRIPTION |
|---|---|
moneyness
|
Time-scaled moneyness
TYPE:
|
ttm
|
Time to maturity in years
TYPE:
|
forward
|
Forward price of the underlying
TYPE:
|
Source code in quantflow/options/moneyness.py
strike_from_log_strike
¶
Convert log-strike to an absolute strike price.
| PARAMETER | DESCRIPTION |
|---|---|
log_strike
|
Log-strike
TYPE:
|
forward
|
Forward price of the underlying
TYPE:
|
Source code in quantflow/options/moneyness.py
log_strike_from_strike
¶
Convert an absolute strike to log-strike.
| PARAMETER | DESCRIPTION |
|---|---|
strike
|
Absolute strike price
TYPE:
|
forward
|
Forward price of the underlying
TYPE:
|