Properties
_antitheticVariate
_antitheticVariate: boolean
_brownianBridge
_brownianBridge: boolean
_controlVariate
_controlVariate: boolean
_isDisposed
_isDisposed: boolean = false
calculate1
calculate1
: (requiredTolerance
: Real, requiredSamples
: Size, maxSamples
: Size) => void
Type declaration
-
- (requiredTolerance: Real, requiredSamples: Size, maxSamples: Size): void
-
Parameters
-
requiredTolerance: Real
-
requiredSamples: Size
-
maxSamples: Size
Returns void
deepUpdate
deepUpdate: () => void
dispose
dispose: () => void
errorEstimate
error
Estimate: () => Real
isDisposed
isDisposed: boolean
mcsInit
mcs
Init: (antitheticVariate: boolean, controlVariate: boolean) => McSimulation
Type declaration
-
- (antitheticVariate: boolean, controlVariate: boolean): McSimulation
-
Parameters
-
antitheticVariate: boolean
-
controlVariate: boolean
notifyObservers
notifyObservers: () => void
registerWithObservables
register
WithObservables: (o: Observer) => void
unregisterObserver
unregister
Observer: (o: Observer) => void
unregisterWithAll
unregisterWithAll: () => void
update
update: () => void
valueWithSamples
value
WithSamples: (samples: Size) => Real
Pricing engine for digital options using Monte Carlo simulation Uses the Brownian Bridge correction for the barrier found in
Going to Extremes: Correcting Simulation Bias in Exotic Option Valuation - D.R. Beaglehole, P.H. Dybvig and G. Zhou Financial Analysts Journal; Jan/Feb 1997; 53, 1. pg. 62-68
and
Simulating path-dependent options: A new approach - M. El Babsiri and G. Noel Journal of Derivatives; Winter 1998; 6, 2; pg. 65-83
test the correctness of the returned value in case of cash-or-nothing at-hit digital payoff is tested by reproducing known good results.