A stock market simulator for testing and evaluating automated trading algorithms. A separate Software Architecture repository visualizes dependency relationships.
This was an assignment for CSU San Marcos' CS 441 Software Engineering course. Tyler Gerritsen, Erik Anderson, and James Abernathy contributed, under the instruction of Dr. Yongjie Zheng.
Source code is formatted according to the PEP 8 Style Guide for Python Code. Comment docstrings are formatted according to the PEP 257 Docstring Conventions, and use reStructuredText markup for rich formatting according to PEP 287 reStructuredText Docstring Format.
-
The Traders tab controls which trading algorithms will participate in the simulation:
-
The Symbols tab controls which stock symbol data will be available for traders to buy and sell during the simulation:
-
The Simulation tab can start, stop, and reset the simulation:
-
The Statistics tab provides access to trader statistics during and after simulations, as well as the ability to save result files:
To install EasyMoney, first clone a working copy or extract the project folder
to your local computer. Next, install all required Python modules by opening
a command prompt such as cmd.exe
or bash
in the project folder and running
the following command:
pip install -r requirements.txt
If you want to use the Mypy tool for static analysis type-checking, install it as well with the following command:
pip install mypy
On Windows, double-click main.vbs
to run without displaying the logging
console, or double-click main-console.bat
to run EasyMoney with a separate
console-based debug event log. The console version also runs Mypy static
analysis if available.
On Linux, change main.sh
to executable and then run it with the following
commands:
chmod +x main.sh
./main.sh