- Yahoo Finance API: https://code.google.com/p/yahoo-finance-managed/wiki/CSVAPI
- further Yahoo Finance API documentation: http://www.gummy-stuff.org/Yahoo-data.htm
- JMathPlot from µ-Labs: https://sites.google.com/site/mulabsltd/products/jmathplot
- Simply double click the .jar file to run the program.
- Have fun!
- Running with -cp or -classpath (On windows use ; instead of : for the -cp)
- In a new terminal, go to the directory where you downloaded the project
- Compile with:
javac -cp path/to/project/pd89_Goldberg-Saacs_CobyG-IsaacG/lib/jmathplot.jar:. MainFrame.java
- Run with:
java -cp path/to/project/pd89_Goldberg-Saacs_CobyG-IsaacG/lib/jmathplot.jar:. MainFrame
- For multiple runs in a terminal session you can temporarily set the CLASSPATH variable
- In a new terminal, go to the directory where you downloaded the project
- Type:
export CLASSPATH=path/to/project/pd89_Goldberg-Saacs_CobyG-IsaacG/lib/jmathplot.jar:.
- Compile with:
javac MainFrame.java
- Run with:
java MainFrame
- For long time use you can format the
CLASSPATH
variable in the bash initializer file- Go to the bash initializer file and open it with a text editor
- On OSX
~/.bash_profile
- On Linux
~/.bashrc
- On OSX
- Type:
export CLASSPATH=path/to/project/pd89_Goldberg-Saacs_CobyG-IsaacG/lib/jmathplot.jar:.
- Compile and Run MainFrame per usual
- Go to the bash initializer file and open it with a text editor
- Lower the "market strength" in Market to a value closer to 0.
- Lower the stock's volatilities.
- This will create much more realistic price movement and uglier graphs