Charting Stocks part 30 - Graphing intra-day stock prices unix time stamps in Python

TL;DR
Learn how to improve and update charts in Python using Matplotlib to work with intra-day data and achieve live updates.
Transcript
what is up everybody welcome to another python matpot lib live updating charts tutorial as i said i wanted to take this current example that we have that's just graphing data from the sample text and while that is graphing it live that sample text is pretty boring data to graph live so now what i want to do is step up those charts from the previous... Read More
Key Insights
- 🥳 The tutorial focuses on improving and updating charts in Python using Matplotlib for intra-day data and live updates.
- 🫠 Data is read differently for intra-day data, using Unix timestamps for precise time measurements.
- 🧑🤝🧑 The conversion of Unix timestamps to date stamps is achieved using the replace function and the datetime and time modules in Python.
- 🥳 The charts successfully display one-day and three-day data but have visual issues due to limited data availability and market closure during weekends.
- 💬 The tutorial addresses potential issues and comments from viewers, showing a willingness to assist and improve the tutorial.
- 📼 The tutorial sets the stage for the next video, which will implement live updating functionality to the charts.
- 👻 The flexibility of the charting application allows it to work with various time series data, particularly open, high, low, close, and volume data.
Install to Summarize YouTube Videos and Get Transcripts
Explore YouTube Video Summarizer or Get YouTube Transcript Extractor
Questions & Answers
Q: What is the purpose of this tutorial?
The tutorial aims to teach users how to update and improve charts in Python using Matplotlib to work with intra-day data and achieve live updates.
Q: How is the data read differently for intra-day data?
Intra-day data is read using Unix timestamps instead of traditional date formats, allowing for more precise time measurements.
Q: How are the Unix timestamps converted to date stamps?
A replace function is used to replace the timestamps with converted date stamps, using the datetime and time modules in Python.
Q: What issues arise with the current charts?
The current charts exhibit visual issues due to the higher granularity of one-minute data and the straight line resulting from market closure during weekends.
Summary & Key Takeaways
-
The tutorial aims to enhance the charts previously created in Python by making them work with intra-day data and adding live updating functionality.
-
The data is read differently for intra-day data, using Unix timestamps instead of traditional date formats.
-
To convert the Unix timestamps, a replace function is used to replace the timestamps with converted date stamps.
-
The charts are successfully updated to display one day and three day open, high, low, close data, but the granularity and historical market closure cause some visual issues.
Read in Other Languages (beta)
Share This Summary 📚
Summarize YouTube Videos and Get Video Transcripts with 1-Click
Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator
Explore More Summaries from sentdex 📚






Summarize YouTube Videos and Get Video Transcripts with 1-Click
Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator