A New York Stock Exchange simulator app using Django and IEX Cloud.
:warning: To be able to use Fence Street you must have an IEX Cloud API key and an Alpha Vantage API key.
Your tokens will need to be placed directly inside a file named keys.py
that will look like this:
TOKEN_SANDBOX = 'Tpk_123456' # IEX Cloud sandbox token (for tests)
TOKEN_PROD = 'pk_123456' # IEX Cloud production token
ALPHA_KEY = '123456' # Alpha Vantage token
You will need to open your virtual env and install the required files in requirements.txt
with pip3:
pip3 install -r requirements.txt
To start the app the first time you will need to apply migrations first:
python3 manage.py migrate
You will then need to create a superuser (admin) to be able to use the admin dashboard (http://127.0.0.1:8000/admin/):
python3 manage.py createsuperuser
Finally, to start the app:
python3 manage.py runserver
You can check 'Issues' to contribute to the project, issues tagged with TODO
are tasks to work on, if you want to work on one of them leave a comment to let others know that you're working on it.
Once you're done, you can do a Pull Request mentioning which Issue you solved (ex : Historique des transactions #2...)
:warning: Don't forget to keep your repo up-to-date (git pull
locally) to prevent conflicts.
Short version:
git check out -b [name-of-your-feature]
git commit -a -m [your-commit-message]
git push --set-upstream origin [name-of-your-feature]
Long version:
Visual:
Feel free to make suggestions, if you encounter a bug or any issue that you can't fix, you can create an Issue ('Create an issue')
This app has been built with:
Python 3
Django
HTML/CSS/Javascript
Bootstrap
SQLite
PyCharm
Git/Github
...