Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Namespaces | Functions
utilities.cpp File Reference
#include <ored/scripting/scriptparser.hpp>
#include <ored/scripting/utilities.hpp>
#include <qle/math/randomvariablelsmbasissystem.hpp>
#include <ored/utilities/conventionsbasedfutureexpiry.hpp>
#include <ored/utilities/indexparser.hpp>
#include <ored/utilities/log.hpp>
#include <ored/utilities/parsers.hpp>
#include <ored/utilities/to_string.hpp>
#include <ql/models/marketmodels/browniangenerators/mtbrowniangenerator.hpp>
#include <ql/settings.hpp>
#include <qle/methods/multipathgeneratorbase.hpp>
#include <boost/algorithm/string.hpp>

Go to the source code of this file.

Namespaces

namespace  ore
 Serializable Credit Default Swap.
 
namespace  ore::data
 

Functions

std::vector< Date > coarsenDateGrid (const std::vector< Date > &dates, const std::string &rule, const Date &referenceDate)
 
std::pair< std::string, ScriptedTradeScriptData > getScript (const ScriptedTrade &scriptedTrade, const ScriptLibraryData &scriptLibrary, const std::string &purpose, const bool fallBackOnEmptyPurpose)
 
ASTNodePtr parseScript (const std::string &code)
 
std::pair< std::string, Period > convertIndexToCamCorrelationEntry (const std::string &i)
 
void checkDuplicateName (const QuantLib::ext::shared_ptr< Context > context, const std::string &name)
 
QuantLib::ext::shared_ptr< Context > makeContext (Size nPaths, const std::string &gridCoarsening, const std::vector< std::string > &schedulesEligibleForCoarsening, const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceData, const std::vector< ScriptedTradeEventData > &events, const std::vector< ScriptedTradeValueTypeData > &numbers, const std::vector< ScriptedTradeValueTypeData > &indices, const std::vector< ScriptedTradeValueTypeData > &currencies, const std::vector< ScriptedTradeValueTypeData > &daycounters)
 
void addNewSchedulesToContext (QuantLib::ext::shared_ptr< Context > context, const std::vector< ScriptedTradeScriptData::NewScheduleData > &newSchedules)
 
void amendContextVariablesSizes (QuantLib::ext::shared_ptr< Context > context, const Size newSize)
 
std::ostream & operator<< (std::ostream &o, const IndexInfo &i)
 
QuantLib::ext::shared_ptr< QuantExt::CommodityIndexparseScriptedCommodityIndex (const std::string &indexName, const QuantLib::Date &obsDate)
 
QL_DEPRECATED_DISABLE_WARNING std::pair< QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex >, std::string > parseScriptedInflationIndex (const std::string &indexName)
 
QL_DEPRECATED_ENABLE_WARNING std::string scriptedIndexName (const QuantLib::ext::shared_ptr< Underlying > &underlying)
 
Size getInflationSimulationLag (const QuantLib::ext::shared_ptr< ZeroInflationIndex > &index)
 
std::map< std::string, std::vector< Real > > getCalibrationStrikes (const std::vector< ScriptedTradeScriptData::CalibrationData > &calibrationSpec, const QuantLib::ext::shared_ptr< Context > &context)
 

Variable Documentation

◆ newSize_

Size newSize_
private

Definition at line 374 of file utilities.cpp.