Documentation ¶
Index ¶
- func BinomialModel(option Option, spot m.Money, t m.Time, sigmaX m.Return, rf m.Rate) m.Money
- func FiniteDifferenceGrid(NAS int, SInf float64) ...
- func ImplyVol(pricingMethod func(PricingParameters) Pricing, R m.Rate) ...
- func NoEarlyExcerciseMonteCarloModel(npaths int, nsteps int, seed int64) ...
- type AmericanCallOption
- type AmericanOption
- type AmericanPutOption
- type Decision
- type EuropeanCallOption
- type EuropeanOption
- type EuropeanPutOption
- type Greek
- type Option
- type Pricing
- type PricingParameters
- type VanillaOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinomialModel ¶
func FiniteDifferenceGrid ¶
Types ¶
type AmericanCallOption ¶
type AmericanCallOption struct {
AmericanOption
}
type AmericanOption ¶
type AmericanOption struct {
VanillaOption
}
func (*AmericanOption) EarlyExcercise ¶
type AmericanPutOption ¶
type AmericanPutOption struct {
AmericanOption
}
type EuropeanCallOption ¶
type EuropeanCallOption struct {
EuropeanOption
}
type EuropeanOption ¶
type EuropeanOption struct {
VanillaOption
}
func (*EuropeanOption) EarlyExcercise ¶
type EuropeanPutOption ¶
type EuropeanPutOption struct {
EuropeanOption
}
type Greek ¶
func Rho ¶
func Rho(pricingFromParameters func(parameters PricingParameters) Pricing, parameters PricingParameters) Greek
type Pricing ¶
func BinomialPricing ¶
func BinomialPricing(parameters PricingParameters) Pricing
func EuropeanMCPricing ¶
func EuropeanMCPricing(parameters PricingParameters) Pricing
func GridPricing ¶
func GridPricing(parameters PricingParameters) Pricing
type VanillaOption ¶
func (*VanillaOption) Expiration ¶
func (option *VanillaOption) Expiration() m.Time
func (*VanillaOption) Strike ¶
func (option *VanillaOption) Strike() m.Money
Click to show internal directories.
Click to hide internal directories.