quantwave
quantwave copied to clipboard
options: Black-76 pricing functions and forward-price input in implied_vol
Problem
In index options and futures options (e.g. NIFTY, BANKNIFTY), pricing is natively based on the forward / futures price F (Black-76) rather than spot. Currently quantwave.options only provides spot Black-Scholes (bs_call_price, bs_put_price, implied_vol), requiring callers to manually convert s = F * exp(-r*T).
Ask
- Add Black-76 pricing functions:
black76_call_price,black76_put_price,black76_delta,black76_gamma,black76_vega,black76_theta. - Allow
forward=(orf=) parameter inimplied_volso forward price can be passed directly.
Resolved in v0.10.2: added Black-76 pricing functions and forward-price input in implied_vol.