Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XAUCurrency Class Reference

Troy ounce of Gold. More...

#include <qle/currencies/metals.hpp>

+ Inheritance diagram for XAUCurrency:
+ Collaboration diagram for XAUCurrency:

Public Member Functions

 XAUCurrency ()
 

Detailed Description

Troy ounce of Gold.

The ISO three-letter code is XAU; the numeric code is 959.

Definition at line 39 of file metals.hpp.

Constructor & Destructor Documentation

◆ XAUCurrency()

Definition at line 28 of file metals.cpp.

28 {
29 static QuantLib::ext::shared_ptr<Data> xauData(
30 new Data("Troy Ounce of Gold", "XAU", 959, "XAU", "", 1, Rounding(), "1$.2f %3%"));
31 data_ = xauData;
32}