30#include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp>
31#include <ql/termstructures/yieldtermstructure.hpp>
45 const QuantLib::Handle<QuantLib::BlackVolTermStructure>& volTSLongAsset,
46 const QuantLib::Handle<QuantLib::BlackVolTermStructure>& volTSShortAsset,
47 const QuantLib::Handle<QuantExt::CorrelationTermStructure>&
rho,
64 const ext::shared_ptr<BlackVolTermStructure>& vol,
65 const ext::shared_ptr<FxIndex>& fxIndex)
const;
69 const ext::shared_ptr<BlackVolTermStructure>& vol)
const;
77 const QuantLib::Handle<QuantExt::CorrelationTermStructure>
rho_;
wrapper around a vector of BS processes
base class for commodity spread option engines
const QuantLib::Handle< QuantExt::CorrelationTermStructure > rho_
QuantLib::Handle< QuantLib::BlackVolTermStructure > volTSShortAsset_
void calculate() const override
QuantLib::Handle< QuantLib::YieldTermStructure > discountCurve_
QuantLib::Handle< QuantLib::BlackVolTermStructure > volTSLongAsset_
double intraAssetCorrelation(const QuantLib::Date &e1, const QuantLib::Date &e2, const ext::shared_ptr< BlackVolTermStructure > &vol) const
Return the correlation between two future expiry dates ed_1 and ed_2.
PricingParameter derivePricingParameterFromFlow(const ext::shared_ptr< CommodityCashFlow > &flow, const ext::shared_ptr< BlackVolTermStructure > &vol, const ext::shared_ptr< FxIndex > &fxIndex) const
Term structure of correlations.
base class for multi path generators
std::vector< QuantLib::Date > pricingDates
std::vector< std::string > indexNames
std::vector< Real > fixings
std::vector< QuantLib::Date > expiries