Market Datum parser. More...
#include <ored/marketdata/marketdatum.hpp>
#include <ql/time/calendar.hpp>
#include <ql/time/calendars/weekendsonly.hpp>
#include <ql/time/date.hpp>
#include <ql/types.hpp>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | ore |
Serializable Credit Default Swap. | |
namespace | ore::data |
Functions | |
QuantLib::ext::shared_ptr< MarketDatum > | parseMarketDatum (const Date &asof, const string &datumName, const Real &value) |
Function to parse a market datum. More... | |
Date | getDateFromDateOrPeriod (const string &token, Date asof, QuantLib::Calendar cal=QuantLib::WeekendsOnly(), QuantLib::BusinessDayConvention bdc=QuantLib::BusinessDayConvention::Following) |
Get a date from a date string or period. More... | |
boost::variant< QuantLib::Period, FXForwardQuote::FxFwdString > | parseFxPeriod (const string &s) |
Convert text to QuantLib::Period of Fx forward string. More... | |
QuantLib::Period | fxFwdQuoteTenor (const boost::variant< QuantLib::Period, FXForwardQuote::FxFwdString > &term) |
QuantLib::Period | fxFwdQuoteStartTenor (const boost::variant< QuantLib::Period, FXForwardQuote::FxFwdString > &term, const QuantLib::ext::shared_ptr< FXConvention > &fxConvention) |
bool | matchFxFwdStringTerm (const boost::variant< QuantLib::Period, FXForwardQuote::FxFwdString > &term, const FXForwardQuote::FxFwdString &fxfwdString) |
Market Datum parser.
Definition in file marketdatumparser.hpp.