├── .env-example ├── .gitignore ├── .python-version ├── Procfile ├── README.md ├── app ├── __init__.py ├── main │ ├── __init__.py │ ├── forms.py │ └── routes.py ├── models.py ├── templates │ ├── add_trade.html │ ├── base.html │ ├── import_trade.html │ ├── index.html │ ├── risk_calculator.html │ └── update_trade.html └── tools.py ├── config.py ├── img └── homepage.png ├── requirements.txt ├── run.py ├── runtime.txt ├── sample_trades.csv └── tests ├── conftest.py ├── test_forms.py └── test_routes.py /.env-example: -------------------------------------------------------------------------------- 1 | SECRET_KEY=securekeystringhere 2 | UPLOAD_FOLDER="app/uploads" 3 | SQLALCHEMY_TRACK_MODIFICATIONS=False -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.11 2 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn tradingjournal:app -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/README.md -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/__init__.py -------------------------------------------------------------------------------- /app/main/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/main/__init__.py -------------------------------------------------------------------------------- /app/main/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/main/forms.py -------------------------------------------------------------------------------- /app/main/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/main/routes.py -------------------------------------------------------------------------------- /app/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/models.py -------------------------------------------------------------------------------- /app/templates/add_trade.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/templates/add_trade.html -------------------------------------------------------------------------------- /app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/templates/base.html -------------------------------------------------------------------------------- /app/templates/import_trade.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/templates/import_trade.html -------------------------------------------------------------------------------- /app/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/templates/index.html -------------------------------------------------------------------------------- /app/templates/risk_calculator.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/templates/risk_calculator.html -------------------------------------------------------------------------------- /app/templates/update_trade.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/templates/update_trade.html -------------------------------------------------------------------------------- /app/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/app/tools.py -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/config.py -------------------------------------------------------------------------------- /img/homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/img/homepage.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/run.py -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.7.12 -------------------------------------------------------------------------------- /sample_trades.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/sample_trades.csv -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/tests/test_forms.py -------------------------------------------------------------------------------- /tests/test_routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mransbro/tradingjournal/HEAD/tests/test_routes.py --------------------------------------------------------------------------------