Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
fxasianoption.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2021 Skandinaviska Enskilda Banken AB (publ)
3 All rights reserved.
4
5 This file is part of ORE, a free-software/open-source library
6 for transparent pricing and risk analysis - http://opensourcerisk.org
7 ORE is free software: you can redistribute it and/or modify it
8 under the terms of the Modified BSD License. You should have received a
9 copy of the license along with this program.
10 The license is also available online at <http://opensourcerisk.org>
11 This program is distributed on the basis that it will form a useful
12 contribution to risk analytics and model standardisation, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
15 */
16
17 /*! \file portfolio/builders/fxasianoption.hpp
18 \brief Engine builder for fx Asian options
19 \ingroup builders
20 */
21
22 #pragma once
23
25
26 namespace ore {
27 namespace data {
28
29 //! Discrete Monte Carlo Engine Builder for European Asian Fx Arithmetic Average Price Options
30 /*! Pricing engines are cached by asset/currency/expiry, where
31 expiry is null (Date()) if irrelevant.
32 \ingroup builders
33 */
35 public:
37 : EuropeanAsianOptionMCDAAPEngineBuilder("GarmanKohlhagen", {"FxAsianOptionArithmeticPrice"}, AssetClass::FX,
38 expiryDate_) {}
39 };
40
41 //! Discrete Monte Carlo Engine Builder for European Asian Fx Arithmetic Average Strike Options
42 /*! Pricing engines are cached by asset/currency/expiry, where
43 expiry is null (Date()) if irrelevant.
44 \ingroup builders
45 */
47 public:
49 : EuropeanAsianOptionMCDAASEngineBuilder("GarmanKohlhagen", {"FxAsianOptionArithmeticStrike"},
51 };
52
53 //! Discrete Monte Carlo Engine Builder for European Asian Fx Geometric Average Price Options
54 /*! Pricing engines are cached by asset/currency/expiry, where
55 expiry is null (Date()) if irrelevant.
56 \ingroup builders
57 */
59 public:
61 : EuropeanAsianOptionMCDGAPEngineBuilder("GarmanKohlhagen", {"FxAsianOptionGeometricPrice"}, AssetClass::FX,
62 expiryDate_) {}
63 };
64
65 //! Discrete Analytic Engine Builder for European Asian Fx Geometric Average Price Options
66 /*! Pricing engines are cached by asset/currency
67 \ingroup builders
68 */
70 public:
72 : EuropeanAsianOptionADGAPEngineBuilder("GarmanKohlhagen", {"FxAsianOptionGeometricPrice"}, AssetClass::FX) {
73 }
74 };
75
76 //! Discrete Analytic Engine Builder for European Asian Fx Geometric Average Strike Options
77 /*! Pricing engines are cached by asset/currency
78 \ingroup builders
79 */
81 public:
83 : EuropeanAsianOptionADGASEngineBuilder("GarmanKohlhagen", {"FxAsianOptionGeometricStrike"},
85 };
86
87 //! Continuous Analytic Engine Builder for European Asian Fx Geometric Average Price Options
88 /*! Pricing engines are cached by asset/currency
89 \ingroup builders
90 */
92 public:
94 : EuropeanAsianOptionACGAPEngineBuilder("GarmanKohlhagen", {"FxAsianOptionGeometricPrice"}, AssetClass::FX) {
95 }
96 };
97
98 //! Discrete Analytic TW Engine Builder for European Asian Fx Arithmetic Average Price Options
99 /*! Pricing engines are cached by asset/currency
100 \ingroup builders
101 */
103 public:
105 : EuropeanAsianOptionTWEngineBuilder("GarmanKohlhagen", {"FxAsianOptionArithmeticPrice"}, AssetClass::FX) {}
106 };
107
108 } // namespace data
109 } // namespace ore
Abstract engine builders for European Asian Options.
Continuous Analytic Engine Builder for European Asian Geometric Average Price Options.
Discrete Analytic Engine Builder for European Asian Geometric Average Price Options.
Discrete Analytic Engine Builder for European Asian Geometric Average Strike Options.
Discrete Monte Carlo Engine Builder for European Asian Arithmetic Average Price Options.
Definition: asianoption.hpp:84
Discrete Monte Carlo Engine Builder for European Asian Arithmetic Average Strike Options.
Discrete Monte Carlo Engine Builder for European Asian Geometric Average Price Options.
Discrete Analytic TW Engine Builder for European Asian Arithmetic Average Price Options.
Continuous Analytic Engine Builder for European Asian Fx Geometric Average Price Options.
Discrete Analytic Engine Builder for European Asian Fx Geometric Average Price Options.
Discrete Analytic Engine Builder for European Asian Fx Geometric Average Strike Options.
Discrete Monte Carlo Engine Builder for European Asian Fx Arithmetic Average Price Options.
Discrete Monte Carlo Engine Builder for European Asian Fx Arithmetic Average Strike Options.
Discrete Monte Carlo Engine Builder for European Asian Fx Geometric Average Price Options.
Discrete Analytic TW Engine Builder for European Asian Fx Arithmetic Average Price Options.
@ data
Definition: log.hpp:77
Serializable Credit Default Swap.
Definition: namespaces.docs:23