View source: R/price_impact_utils.R
| compute_adjusted_factors | R Documentation |
Calculates the modified up and down factors after incorporating price impact from hedging.
compute_adjusted_factors(u, d, lambda, v_u, v_d)
u |
Base up factor |
d |
Base down factor |
lambda |
Price impact coefficient |
v_u |
Hedging volume on up move |
v_d |
Hedging volume on down move |
List with elements u_tilde and d_tilde
compute_adjusted_factors(u = 1.2, d = 0.8, lambda = 0.1, v_u = 1, v_d = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.