We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e57f5f commit ade2f8eCopy full SHA for ade2f8e
1 file changed
OREData/ored/scripting/engines/scriptedinstrumentpricingengine.cpp
@@ -206,6 +206,7 @@ void ScriptedInstrumentPricingEngine::calculate() const {
206
cashFlowResults[i].currency = paylog->currencies().at(i);
207
cashFlowResults[i].legNumber = paylog->legNos().at(i);
208
cashFlowResults[i].type = paylog->cashflowTypes().at(i);
209
+ cashFlowResults[i].discountFactor = discount;
210
DLOG("got cashflow " << QuantLib::io::iso_date(cashFlowResults[i].payDate) << " "
211
<< cashFlowResults[i].currency << cashFlowResults[i].amount << " "
212
<< cashFlowResults[i].currency << "-" << model_->baseCcy() << " " << fx << " discount("
0 commit comments