Skip to content

Commit

Permalink
Update simulations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
romanmichaelpaolucci committed Apr 24, 2021
1 parent 7219541 commit 7c88f6d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions QFin/simulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,3 @@ class MonteCarloBarrierPut:

def __init__(self):
pass

# 100 - initial underlying asset price
# 0 - underlying asset drift (mu)
# .01 - risk free rate of interest
# .05 - continuous dividend
# .5, 2 - (alpha, beta) mean reverting parameters
# -.7 - (rho) correlation of errors generated
# .3 - Variance's volatility
# 1/52 - time steps (dt)
# 1 - time to maturity (annum)
svm = StochasticVarianceModel(100, 0, .01, .05, .5, 2, -.7, .3, .09, 1/52, 1)

print(svm.simulated_path)

0 comments on commit 7c88f6d

Please sign in to comment.