Respuesta :

A program that returns the price, delta and vega for European and American options is given below:

The Program

import jax.numpy as np

from jax.scipy.stats import norm

from jax import grad

class EuropeanCall:

   def call_price(

       self, asset_price, asset_volatility, strike_price,

       time_to_expiration, risk_free_rate

           ):

     

The complete code can be found in the attached file.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Ver imagen jayilych4real