Skip to content

Instantly share code, notes, and snippets.

@andreachello
Created May 16, 2022 17:55
Show Gist options
  • Save andreachello/311a6feaf8e3716584f04748ffcd122e to your computer and use it in GitHub Desktop.
Save andreachello/311a6feaf8e3716584f04748ffcd122e to your computer and use it in GitHub Desktop.
import numpy as np
from scipy.stats import norm
import matplotlib.pyplot as plt
import random as r
# Market Information
risk_free = 0.1
# Share Specific Information
S_0 = 100
sigma = 0.3
# Call Option Specific Information
strike = 110
T = 1
# Firm Specific Information
V_0 = 200
sigma_firm = 0.25
debt = 180
recovery_rate = 0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment