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

Troy ounce of Platinum. More...

#include <qle/currencies/metals.hpp>

+ Inheritance diagram for XPTCurrency:
+ Collaboration diagram for XPTCurrency:

Public Member Functions

 XPTCurrency ()
 

Detailed Description

Troy ounce of Platinum.

The ISO three-letter code is XPT; the numeric code is 962.

Definition at line 57 of file metals.hpp.

Constructor & Destructor Documentation

◆ XPTCurrency()

Definition at line 42 of file metals.cpp.

42 {
43 static QuantLib::ext::shared_ptr<Data> xptData(
44 new Data("Troy Ounce of Platinum", "XPT", 962, "XPT", "", 1, Rounding(), "1$.2f %3%"));
45 data_ = xptData;
46}