Difference between revisions of "Programming/Kdb/Labs/Option pricing"
From Thalesians Wiki
< Programming | Kdb | Labs
| Line 5: | Line 5: | ||
Here | Here | ||
* <math>t</math> is a time in years; we generally use <math>t = 0</math> as now; | |||
* <math>V(S, t)</math> is the price of the option; | * <math>V(S, t)</math> is the price of the option; | ||
* <math>S(t)</math> is the price of the underlying asset at time $t$; | * <math>S(t)</math> is the price of the underlying asset at time $t$; | ||
Revision as of 22:22, 17 June 2021
Recall the celebrated Black-Scholes equation
Here
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t} is a time in years; we generally use Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t = 0} as now;
- is the price of the option;
- is the price of the underlying asset at time $t$;
- is the volatility — the standard deviation of the asset's returns;
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle r} is the annualized risk-free interest rate, continuously compounded;
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle q} is the annualized (continuous) dividend yield.