CapeTools Currency
http://www.QuantTools.com
In total there are 34 functions present within the CapeTools Currency category of functions.
General Description
Functions to create Exchange Rate Manager objects and Money objects. Money objects can be created in any currency. You can apply addition, subtraction, multiplication and division of money objects and then view the results in any currency. You can also create Exchange Rate objects as well as Exchange Rate Chain objects. These objects can be queried for their conversion rates.
You can also make comparisons of the Money objects (LessThan, EqualTo, GreaterThan etc...) as well as extract information regarding a currency code (see CapeTools Currency Enums for a list of currency codes).
Function list.
- CcyFracPerUnit - Returns the number of fractionary parts in a unit, e.g, 100, of the CurrencyCode passed in.
- CcyFracSymbol - Returns the fraction symbol, e.g, ¢, of the CurrencyCode passed in.
- CcyName - Returns the descriptive name of the CurrencyCode passed in.
- CcyNumericCode - Returns the ISO 4217 numeric code of the CurrencyCode passed in.
- CcySymbol - Returns the Symbol of the CurrencyCode passed in.
- ConvertMoney - Returns the new monetary value based on a Exchange rate object and a money object.
- CreateFX - Creates an exchange rate object which knows how to convert money objects from one currency to another.
- CreateFXChain - Creates an FX exchange rate object which chains 2 FX objects together.
- CreateFXManager - Loads a FX table from a range object into a Exchange Rate Manager object.
- CreateMoney - Creates a money object which associates a nominal amount with a currency.
- FXForward - Returns the forward FX rate (or forward FX points) given domestic and foreign interest rates, spot FX value and a Forward date.
- FXForward2 - Returns the forward FX rate (or forward FX points) given domestic and foreign interest rate curves, spot FX value and a Forward date.
- FXForwardCurve - Returns a forward FX curve (or forward FX points) given domestic and foreign interest rates, spot FX value and a list of forward dates.
- FXForwardCurve2 - Returns an forward FX curve (or forward FX points) given domestic and foreign interest rate curves, spot FX value and a list of forward dates.
- FXObjRate - Returns the FXRate from the given FX object key.
- FXObjSourceCcy - Returns the source currency of the Exchange Rate object (FXKey) passed in.
- FXObjTargetCcy - Returns the target currency of the Exchange Rate object (FXKey) passed in.
- FXObjType - Returns the type of FX object.
- GetFXRate - Returns the FX rate between 2 currencies via an user FXManager object.
- MoneyAdd - Adds one money object to another (M1 + M2).
- MoneyConstMultiply - Multiplies a constant numeric amount to a money object.
- MoneyCurrency - Returns the currency of this money object.
- MoneyDivide - Divides one Money object over another.
- MoneyDivideConst - Divides a Money object over a numeric value (Money/Numeric).
- MoneyMinus - Deducts one money object from another.
- MoneyMultiply - Multiplies one money object from another.
- MoneyValue - Returns the value of this money object.
- MoniesAreEqual - Compares one money object to another to check if they are equal.
- MoniesAreNotEqual - Compares one money object to another to check if they are not equal.
- MoniesGreaterThan - Checks to see whether one money object is greater than the other.
- MoniesGreaterThanEQ - Checks to see whether one money object is greater than or equal to the other.
- MoniesLessThan - Checks to see whether one money object is less than the other.
- MoniesLessThanEQ - Checks to see whether one money object is less than or equal to the other.
- ViewFXList - Returns a range object presenting all the FX rates present within the FXRate object.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.