First make sure Java 7 is installed and working on your computer. http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html. The following steps are already completed in the Downloadable ZIP file located in the Downloads section of this site.

1. Create the ProgramData Folder and its Subdirectories.

To run the program with a desired index, stock, currency, or commodity the user must create the following folders in the same directory as Bubble_Index.jar:

ProgramData

Now create folders within the ProgramData directory. These must match the name of respective .csv files which contain a list of all selections contained in the category:

Indices - Indices.csv
Currencies - Currencies.csv
Stocks - Stocks.csv
Commodities - Commodities.csv

Within each of these folders, create a folder named after the desired index. For example, within the Stocks folder have the following folders:

TSLA
JCP
AAPL

2. Create the "List" .csv files.

In the ProgramData folder, the .csv files listed below must contain the list of desired selection names which are displayed in the GUI. These should contain a list of all the folders in each sub-directory. The contents of these files must be in the correct format, with each item separated by a "\n" character, i.e. each item is on a separate line:

Indices.csv
Currencies.csv
Stocks.csv
Commodities.csv

3. Create the "CategoryList" .csv file.

In the ProgramData folder, the CategoryList.csv file which contains all the category types which are displayed in the GUI dropdown menu.

4. Create the "UpdateList" .csv files.

To update the data, there must be an UpdateCategories.csv file in the ProgramData directory and an UpdateSelection.csv file in each of the sub-directories. The contents and format of the UpdateCatagories.csv should be like this:

Indices
Currencies
Stocks
Commodities

And the contents and format of the UpdateSelection.csv should be like this:

Name,DataSource,QuandlDataset,QuandlName,QuandlColumn(startindex=1),isYahooIndex
TSLA,Yahoo,NA,NA,0,0

The Name value must be the string corresponding to the individual folder for this time series in the ProgramData sub-directories.

The DataSource value must be one of three values:

Yahoo
FED
QUANDL

The QuandlDataset value must be the string of the dataset in the Quandl url, or NA.

The QuandlName value must be the name string in the url of the time series on Quandl, or NA.

The QuandlColumn value must be the integer representing the column location of the closing or settle price if the data is obtained from Quandl or NA if not.

The isYahooIndex value must be set to 1 if the time series is a Yahoo Finance Index, i.e. its quote contains the carrot symbol ^ or set to 0 if not an index.

5. (Optional) To specify runtime GUI properties and Lomb-Scargle properties:

In the ProgramData folder, create the files -- gui.properties and lombscargle.properties. Examples:

gui.properties
omega=6.28
tcrit=21.0
mcoeff=0.38
windows=52,104,153
threads=4
begdate=2012-12-31
enddate=2014-05-23

lombscargle.properties
freqsize=70
qsize=18
hsize=19

6. Ensure all the correct .jar libraries are contained in the lib folder.

To run the application, you will need the following .jar libraries in the lib folder:

commons-math3-3.5.jar
yeppp-bundle.jar
beansbinding-1.2.1.jar
Jama-1.0.3.jar
javacl-1.0.0-RC4-shaded.jar
jcommon-1.0.20.jar
jfreechart-1.0.15.jar
guava-18.0.jar
log4j2 core and api jars

Last edited Aug 13, 2015 at 2:28 AM by ttrott, version 13