public class InterestRateMonteCarloProductFactory extends Object implements ProductFactory<InterestRateProductDescriptor>
| Modifier and Type | Class and Description |
|---|---|
static class |
InterestRateMonteCarloProductFactory.SwapLegMonteCarlo
Monte-Carlo method based implementation of a interest rate swap leg from a product descriptor.
|
static class |
InterestRateMonteCarloProductFactory.SwapMonteCarlo
Monte-Carlo method based implementation of a interest rate swap from a product descriptor.
|
static class |
InterestRateMonteCarloProductFactory.SwaptionPhysicalMonteCarlo
Monte-Carlo method based implementation of a physically settled interest rate swaption from a product descriptor.
|
| Constructor and Description |
|---|
InterestRateMonteCarloProductFactory(LocalDate referenceDate)
Initialize the factory with the given referenceDate.
|
| Modifier and Type | Method and Description |
|---|---|
DescribedProduct<? extends InterestRateProductDescriptor> |
getProductFromDescriptor(ProductDescriptor descriptor)
Constructs the product from a given product descriptor.
|
public InterestRateMonteCarloProductFactory(LocalDate referenceDate)
referenceDate - To be used when converting absolute dates to relative dates in double.public DescribedProduct<? extends InterestRateProductDescriptor> getProductFromDescriptor(ProductDescriptor descriptor)
ProductFactorygetProductFromDescriptor in interface ProductFactory<InterestRateProductDescriptor>descriptor - A product descriptor.Copyright © 2019. All rights reserved.