The Investment Element

The Investment element simulates the growth of an investment or group of investments such as a security or portfolio of securities. You input purchases, sales and the unit value of the investment, and the element outputs the investments current value.

The default icon for the Investment element looks like this:

investment

The property dialog looks like this:

Like all GoldSim elements, you first specify an Element ID and a Description.

Below the Description field, you specify the Currency units you wish to use.  GoldSim will list all of the currencies that are in its units database (by default, this is dollars, euros, pounds sterling and yen, and you can easily add any additional currencies). 

To the right of the Currency, you can specify the Type.  By default, an Investment provides a scalar output (and requires scalar inputs).  However, via this button, you can also specify it to have a vector (1-D array) output (and require vector inputs).

The details of the Investment element are discussed in the topics below.  An example file which illustrates the use of Investment elements (Investment.gsm) can be found in the can be found in the Financial Examples folder in your GoldSim directory (accessed by selecting File | Open Example... from the main menu).

Related Topics…

Learn more about: