How malapatilikith/stock-dashboard works
This Django stock dashboard lets swing traders inspect IPOs that crossed their listing-day high after the first year, or view stocks with the lowest historical trading volume. A browser request is routed to the index view; POST actions invoke the corresponding analysis, which reads the cleaned IPO CSV and downloads price history from Yahoo Finance. The view passes results to the dashboard template. The two analysis stages share stocks/services.py. The template and CSV are represented from the tree; their contents were not sampled.
Main entry points: views.py Index view · services.py Listing-high crossing · config/urls.py Project routing · stocks/urls.py App routing
Components 9
Web interface
- Project routing
config/urls.py - App routing
stocks/urls.py - Index view
stocks/views.py - Dashboard page
stocks/templates/stocks/index.html
Stock analysis
- Listing-high crossing
stocks/services.py - Lowest-volume scan
stocks/services.py
Market data
- Cleaned IPO data
clean_ipo_data.csv
Other components
- Swing trader
- Yahoo Finance
Connections 10
- Swing trader → Project routing: requests page
config/urls.py - Project routing → App routing: includes routes
config/urls.py - App routing → Index view: routes to
stocks/urls.py - Index view → Listing-high crossing: invokes on POST
stocks/views.py - Index view → Lowest-volume scan: invokes on POST
stocks/views.py - Index view → Dashboard page: renders with results
stocks/views.py - Listing-high crossing → Cleaned IPO data: reads
stocks/services.py - Lowest-volume scan → Cleaned IPO data: reads
stocks/services.py - Listing-high crossing → Yahoo Finance: downloads prices
stocks/services.py - Lowest-volume scan → Yahoo Finance: downloads prices
stocks/services.py