You are browsing as a guest. Sign up (or log in) to start making projects!

Royalblueshadow

@Royalblueshadow

Joined June 5th, 2026

  • 3Devlogs
  • 1Projects
  • 1Ships
  • 15Votes
Ship Changes requested

I made a stocktracker that can show the price changes over a various timeline of vastly different stocks using the yahooquery api. It also shows the 5 best and worst performing stocks of the day with a button to show the details. I am very proud of what I implemented as I hand-coded everything. Currently it still faces one problem of an api limiter as scraping the yahooquery database limits drastically if a large dataset is called. That is why the dataset size can be set manually to adjust to these rate limitations. Feel free to try my project and write a stock symbol to get started ;D

  • 3 devlogs
  • 16h
  • 10.63x multiplier
Try project → See source code →
Open comments for this post

8h 22m 56s logged

Final Changes

Over the last week I have implemented plenty new features and fixed as many occuring bugs as possible. Now I am at a point where I am happy to release a ship for my project for everybody to try. So lets talk about whats new:

calculation of datasets

Like popular stocktrackers I wanted to implement a way to track the best and worst performing stocks of the day to give the users an overview of which outliers there are in the market.

Using a github S&P500.csv I scrape the symbols of the stocks and batch it to get specific Ticker objects that give me the price information of any given stock. Using this information I can calculate the current daily percentage change and compare it to the other stocks. Using a Panda Dataframe I order all my results and use the head and tail of the Dataframe to show a clickable button for the user to give more details on the performing stock.

Bug fixes for this feature:

Problems occured for the scraping of symbols of S&P500 since there can be symbols that yahooqueery doesn’t recognise. To fix this issue a dictionary and type check is implemented to only add actual data to the Dataframe.
I have also added a detailed view of the amount of symbols skipped and a dataframe that shows which errors occured for them.

Another Problem occured in the implementation of the buttons for the best and worst performing stocks. Cklicking the button didn’t update the shown stock. To fix this I dove into state_sessions in streamlit and used callback functions and keys to hopefully give you a bugfree experience

Stylisation

Lastly I have implemented the most important step for a good Software. I have customised the design of the website. Now the website renders in a fullscreen view. The primary Colors and button colors are matched according to the positive or negative price changes and the font is also adjusted for a cleaner view

And now thank you for reading this long devlog, hopefully you can try my project and have fun with it ;D

0
0
3
Open comments for this post

4h 39m 27s logged

What has changed since the last devlog

  • Introduced a candlestick chart for every stock to gain more financial insight
  • Added a toggle to change between the line and candlestick chart
  • Introduced different time intervals to understand the pricing of the stock, instead of just the daily view
  • Toggling options for the time intervals
  • Added a more accurate price difference calculator based on the given time interval
  • Improved the design of the website, with colors and alignments
  • Shipped the webstie to this domain for you to try out: https://stock-tracker-jxprylb6sjqnwkmav9cwq8.streamlit.app/
0
0
1
Open comments for this post

2h 38m logged

Im building a stocktracker, that gives you the option to input any stock using the yahoo finance api and show the daily, weekly, monthly and yearly price information. In the future I would also like it to create an overview of the best and worst performing stocks and ones that are under their yearly average.

Currently I have implemented the system using the streamlit and plotly libraries. By now I have implemented the input for the required stock, as well as the visual price graph of the day. This is done using the history of yfinance and adjusting the database to scrape for the closing price every minute.
Furthermore the daily change (in Percent and real value) is calculated in comparision to the closing price of the last day

0
0
2

Followers

Loading…