Creates an FX exchange rate object which chains 2 FX objects together.
Each FX object should at least have one currency in common.
The FX objects that this function will be based on must have been previously created via the
CreateFX() function.
This function would have returned a string 'KEY' which is to be passed to the 'FXKey1' and 'FXKey2' parameters within this function.
This is a low level function.
If you wish to create FXRate objects for a large range of FXRates with the appropriate chains created, use the
CreateFXManager() function instead.
You can treat this object as a regular exchange rate object except that it goes through 2 exchange rate objects to determine the rate.
(has knowledge of 3 currencies instead of just 2).
This function creates an object and returns a string-key value to represent this created object.
The TAG value of the string-key returned (second part of the key) is : "FXCHAIN"
The C# example below contains all the sub-function calls leading up to this function call. As a result, the example can contain a lot of code.
The VB.NET, J#, C++.NET, Java, Excel VBA, Visual Basic 6 (via COM) and C++ examples below contain function code stubs for the calls leading up to this function call. However, the function call for this function is displayed.
You can easily reproduce the stub functions code from the
C# example.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.