27 const std::string& symbol,
const std::string& fractionSymbol,
28 Integer fractionsPerUnit,
const Rounding& rounding,
29 const std::string& formatString,
const std::set<std::string>& minorUnitCodes,
31 : Currency(name, code, numericCode, symbol, fractionSymbol, fractionsPerUnit, rounding, formatString, Currency(),
33 currencyType_(currencyType) {
34 data_ = QuantLib::ext::make_shared<Currency::Data>(name, code, numericCode, symbol, fractionSymbol, fractionsPerUnit,
35 rounding, formatString, Currency(), minorUnitCodes);
45 return os <<
"Crypto";
47 QL_FAIL(
"Unknown AssetClass");
ConfigurableCurrency(const std::string &name, const std::string &code, Integer numericCode, const std::string &symbol, const std::string &fractionSymbol, Integer fractionsPerUnit, const Rounding &rounding, const std::string &formatString, const std::set< std::string > &minorUnitCodes, Type currencyType=Type::Major)
std::ostream & operator<<(std::ostream &out, EquityReturnType t)