This function sets the current implicit evaluation date to use for all calculations (see Evaluation Date)
Usage:
=qlSettingsSetEvaluationDate(<Date>)
The date to use as current Evaluation Date
Here is example usage in QLW – QuantLib-Addin like interface from Java and Python
// Copyright (C) 2012 Bojan Nikolic <bojan@bnikolic.co.uk>
//
import co.uk.bnikolic.qlw.property_t;
import co.uk.bnikolic.qlw.qlw;
import co.uk.bnikolic.qlw.StringVector;
import co.uk.bnikolic.qlw.LongVector;
import co.uk.bnikolic.qlw.PropertyVector;
public class qlSettingsSetEvaluationDate {
public static void main(String[] args) throws Exception {
System.out.println("Default evaluation date " +
qlw.qlSettingsEvaluationDate(qlw.OH_NULL()));
qlw.qlSettingsSetEvaluationDate(new property_t("41030"),
qlw.OH_NULL());
System.out.println("Current evaluation date " +
qlw.qlSettingsEvaluationDate(qlw.OH_NULL()));
}
}