├── Prescient ├── database_tools │ ├── __init__.py │ ├── csv_files │ │ └── FTSE_Sectors.csv │ ├── load_csv_files_manual.py │ ├── New_Prices.py │ ├── load_prices_manual.py │ ├── update_existing_prices.py │ └── Extracts.py ├── test.db ├── MainDB.db ├── Security_PricesDB.db ├── static │ ├── assets │ │ ├── finance-prescient2.png │ │ └── finance-prescient2backup.png │ ├── javascript │ │ ├── watchlist-filter.js │ │ ├── watchlist-all-security-filter.js │ │ ├── navbarscript.js │ │ └── bootstrap │ │ │ └── bootstrap.js │ ├── styles │ │ ├── auth-styles.css │ │ ├── performance-styles.css │ │ ├── watchlist-styles.css │ │ ├── dashboard-styles.css │ │ └── bootstrap │ │ │ └── bootstrap.css │ └── base_style.css ├── views │ ├── __init__.py │ ├── auth.py │ ├── charts.py │ ├── dashboard.py │ └── watchlist.py ├── templates │ ├── test.html │ ├── _formhelpers.html │ ├── auth │ │ ├── register.html │ │ └── login.html │ ├── base_layout.html │ ├── charts │ │ └── performance_breakdown.html │ ├── securities │ │ └── dashboard.html │ └── watchlist │ │ └── main.html ├── models │ ├── __init__.py │ ├── db_securities.py │ ├── user.py │ └── watchlist.py ├── config.py ├── __init__.py └── forms.py ├── .gitignore ├── migrations ├── README ├── __pycache__ │ └── env.cpython-37.pyc ├── versions │ ├── __pycache__ │ │ └── ac98739c7dd8_.cpython-37.pyc │ └── ac98739c7dd8_.py ├── script.py.mako ├── alembic.ini └── env.py ├── screenshots ├── Dashboard.PNG ├── watchlist.PNG └── performance-charts.PNG ├── requirements.txt ├── wsgi.py ├── LICENSE ├── tests ├── test_watchlists.py ├── test_auth.py └── test_extracts.py └── README.md /Prescient/database_tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | .idea 3 | .db 4 | -------------------------------------------------------------------------------- /migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /Prescient/test.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/Prescient/test.db -------------------------------------------------------------------------------- /Prescient/MainDB.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/Prescient/MainDB.db -------------------------------------------------------------------------------- /screenshots/Dashboard.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/screenshots/Dashboard.PNG -------------------------------------------------------------------------------- /screenshots/watchlist.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/screenshots/watchlist.PNG -------------------------------------------------------------------------------- /Prescient/Security_PricesDB.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/Prescient/Security_PricesDB.db -------------------------------------------------------------------------------- /screenshots/performance-charts.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/screenshots/performance-charts.PNG -------------------------------------------------------------------------------- /migrations/__pycache__/env.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/migrations/__pycache__/env.cpython-37.pyc -------------------------------------------------------------------------------- /Prescient/static/assets/finance-prescient2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/Prescient/static/assets/finance-prescient2.png -------------------------------------------------------------------------------- /Prescient/static/assets/finance-prescient2backup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/Prescient/static/assets/finance-prescient2backup.png -------------------------------------------------------------------------------- /Prescient/views/__init__.py: -------------------------------------------------------------------------------- 1 | import Prescient.views.auth 2 | import Prescient.views.dashboard 3 | import Prescient.views.watchlist 4 | import Prescient.views.charts 5 | -------------------------------------------------------------------------------- /migrations/versions/__pycache__/ac98739c7dd8_.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RamonWill/Data-App/HEAD/migrations/versions/__pycache__/ac98739c7dd8_.cpython-37.pyc -------------------------------------------------------------------------------- /Prescient/templates/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
](https://www.youtube.com/watch?v=CpiltoZI94M)
43 |
44 |
45 |
46 | # Screenshots
47 | | Date | 39 |Quantity | 40 |Average Cost | 41 |Price | 42 |Unrealised P&L | 43 |
|---|---|---|---|---|
| {{item.date}} | 49 |{{item.quantity}} | 50 |{{item.avg_cost}} | 51 |{{item.price}} | 52 |{{item.pct_change}}% | 53 |
| Name | 30 |Quantity | 31 |Average Price | 32 |
|---|---|---|
| {{item.ticker}} | 39 |{{item.quantity}} | 40 |{{item.average_price}} | 41 | {% endif %} 42 |
Your watchlist '{{group_name}}' has no trade history!
306 |Create portfolios and strategies your way!
312 || Ticker | 35 |Quantity | 36 |Average Price | 37 |
|---|---|---|
| {{item.ticker}} | 44 |{{item.quantity}} | 45 |{{item.average_price}} | 46 | {% endif %} 47 |
| Order ID | 170 |Ticker | 171 |Quantity | 172 |Price | 173 |Sector | 174 |Trade Date | 175 |comments | 176 |changes? | 177 |
|---|---|---|---|---|---|---|---|
| {{item.id}} | 183 |{{item.ticker}} | 184 |{{item.quantity}} | 185 |{{item.price}} | 186 |{{item.sector}} | 187 |{{item.trade_date.strftime('%d-%m-%Y')}} | 188 |{{item.comments}} | 189 |
190 | {% if current_user.id == item.user_id %}
191 |
193 |
194 |
218 |
221 | {% endif %}
222 |
195 |
216 |
217 | |
223 |