Container for storing FX Option Time Weighting scheme. More...
#include <ored/configuration/conventions.hpp>
Classes | |
| struct | TradingCenter |
| struct | Event |
Public Member Functions | |
Constructors | |
| FxOptionTimeWeightingConvention (const string &id, const std::vector< double > &weekdayWeights, const std::vector< TradingCenter > &tradingCenters={}, const std::vector< Event > &events={}) | |
Inspectors | |
| const std::vector< double > & | weekdayWeights () const |
| const std::vector< TradingCenter > & | tradingCenters () const |
| const std::vector< Event > & | events () const |
| Public Member Functions inherited from Convention | |
| virtual | ~Convention () |
| Default destructor. | |
| const string & | id () const |
| Type | type () const |
| Public Member Functions inherited from XMLSerializable | |
| void | fromFile (const std::string &filename) |
| void | toFile (const std::string &filename) const |
| void | fromXMLString (const std::string &xml) |
| Parse from XML string. | |
| std::string | toXMLString () const |
| Parse from XML string. | |
| std::string | toXMLStringUnformatted () const |
Serialisation | |
| virtual void | fromXML (XMLNode *node) override |
| virtual XMLNode * | toXML (XMLDocument &doc) const override |
| virtual void | build () override |
Additional Inherited Members | |
| Public Types inherited from Convention | |
| enum class | Type { Zero , Deposit , Future , FRA , OIS , Swap , AverageOIS , TenorBasisSwap , TenorBasisTwoSwap , BMABasisSwap , FX , CrossCcyBasis , CrossCcyFixFloat , CDS , IborIndex , OvernightIndex , SwapIndex , ZeroInflationIndex , InflationSwap , SecuritySpread , CMSSpreadOption , CommodityForward , CommodityFuture , FxOption , FxOptionTimeWeighting , BondYield } |
| Supported convention types. | |
| Convention (const string &id, Type type) | |
| Type | type_ |
| string | id_ |
Container for storing FX Option Time Weighting scheme.
Defines a time weighting scheme for fx vol interpolation
|
overridevirtual |
Implements XMLSerializable.
|
overridevirtual |
Implements XMLSerializable.
|
overridevirtual |
Implements Convention.