- Видео 29
- Просмотров 98 476
Deep Charts
США
Добавлен 28 май 2024
Level up your Machine Learning and AI skillset with short, to-the-point coding tutorials, taught by a PhD Data Scientist.
Use ChatGPT Tasks to Automate Stock Market Insights and Alerts
ChatGPT recently introduced a game-changing feature: Tasks. This powerful tool allows you to now schedule and automate repetitive or time-sensitive stock market research and alerts, such as tracking stock market movements, monitoring earnings updates, and performing sentiment analysis-all on autopilot.
In this video, I’ll walk you through 5 practical ways to use ChatGPT Tasks for stock market insights and alerts, helping you save time, stay informed, and make data-driven decisions.
The prompts covered in the video are starter prompts designed to help you get started with ChatGPT Tasks. It is up to you to customize them and apply prompt engineering techniques to suit your specific use case a...
In this video, I’ll walk you through 5 practical ways to use ChatGPT Tasks for stock market insights and alerts, helping you save time, stay informed, and make data-driven decisions.
The prompts covered in the video are starter prompts designed to help you get started with ChatGPT Tasks. It is up to you to customize them and apply prompt engineering techniques to suit your specific use case a...
Просмотров: 283
Видео
AI Agents for Stock Analysis: Using LLM's to Analyze Financial Documents
Просмотров 6 тыс.9 часов назад
This tutorial shows you how to extract meaningful insights for stock market analysis from financial documents like company annual reports (Form 10-K) using AI agents with Python, OpenAI API, and Llama Index. By combining Retrieval-Augmented Generation (RAG) with AI Agents, you’ll learn how to automate fundamental analysis. This is just starter code to get you up and running with this technology...
Python Tutorial: Create AI Podcasts with Agentic RAG (Llama Index + OpenAI + Eleven Labs)
Просмотров 94019 часов назад
This tutorial demonstrates how to create an AI podcast generator with Python code. Inspired by Google's NotebookLM podcasts, I walk through the process of how you can programmatically make customized podcasts using large language model tools and models, such as Llama Index, OpenAI, and ElevenLabs. We’ll cover the following: - Upload a PDF and create vector embeddings with Llama Index. - Generat...
Build AI Agents for Machine Learning (SmolAgents + Gemini 2 0 or Ollama)
Просмотров 2,2 тыс.21 день назад
This tutorial shows you how to build AI coding agents that can help automate machine learning pipelines using Python, the Hugging Face SmolAgents library, and advanced LLM models like Google’s Gemini 2.0 and open-source Ollama supported models. You’ll learn to create coding agents - your virtual junior data scientists or research assistants - to tackle tasks like feature selection, saving you t...
Build an AI Stock Sentiment Analyzer with Gemini 2.0 & Python
Просмотров 3,1 тыс.21 день назад
This tutorial walks you through how to create a streamlined AI sentiment monitoring pipeline of social media data that leverages Google’s Gemini 2.0 and Python to analyze financial chatter around specific stocks. You’ll learn how to pull recent posts from Blue Sky, extract essential metadata, and invoke a Large Language Model (LLM) to evaluate sentiment. We’ll use Python libraries such as reque...
How to use Ollama Structured Outputs For Machine Learning Pipelines
Просмотров 2,2 тыс.Месяц назад
This tutorial shows you how to extract machine learning features from text data with structured outputs using large language models in Python. The tech stack includes open-source AI tools such as Ollama and Meta's Llama3.2 large language model, as well as the pandas and gnews libraries. As an example, the tutorial shows how you could filter for future-looking stock sentiment from news article h...
Build an AI-Powered Technical Analysis Stock Dashboard in Python with Streamlit and Ollama
Просмотров 19 тыс.Месяц назад
This tutorial shows you how to build a large language model powered financial dashboard that interprets stock charts based on technical analysis. It leverages open source AI tools and models, such as Ollama and Meta's Llama 3.2-Vision, as well as Python libraries such as Streamlit, yfinance, Pandas, and Plotly. This tutorial is just a skeletal workflow that could be expanded in multiple ways, i...
Create AI Agents for Stock Market Analysis in Python with Phidata and ChatGPT
Просмотров 7 тыс.Месяц назад
This tutorial demonstrates how you can create AI agent workflows for stock market sentiment analysis (or other use cases) in Python using the open source Phidata agentic AI library in addition to the Chat GPT-4o model from Open AI. It first gives a high level overview of how to create a multi-agent workflow with agents that work on specialized tasks, followed by an applied analysis using a Jupy...
How to add Custom Themes and Dark Mode to Streamlit Web Apps
Просмотров 4172 месяца назад
In this short Python tutorial, I’ll walk you through the steps to customize the look and feel of your Streamlit dashboards, including how to enable Dark Mode and create your own Custom Themes. This code walkthrough also shows you the steps for creating and viewing hidden folders on a Mac. Personalizing your Python-based web app’s design is a great way to improve user experience, make your dashb...
Build a FastHTML Web App in 7 Minutes: Step-by-Step Tutorial
Просмотров 1,3 тыс.2 месяца назад
This step-by-step tutorial demonstrates how to create a dynamic web app using FastHTML in just 7 minutes. FastHTML is a new web development framework that leverages Python for both frontend and backend development, making it perfect for machine learning engineers, data scientists, and developers who want to quickly create and deploy interactive web apps. FastHTML shares similarities with framew...
Rapid AI Sentiment Analysis with Python and Scikit Ollama
Просмотров 1,8 тыс.2 месяца назад
This tutorial will show you how to quickly set up an AI-powered sentiment analysis using Python and Scikit-Ollama right on your computer. We'll classify financial news headlines, first with a zero-shot classifier that predicts sentiment instantly without any training data, and then move to a few-shot classifier, where we train the model on a handful of labeled examples to refine and enhance its...
Quick and Easy Web Scraping with AutoScraper and Python
Просмотров 9512 месяца назад
This tutorial shows you how to automatically scrape websites using the AutoScraper Python Library. AutoScraper is a powerful and user-friendly tool that simplifies web scraping by automatically generating extraction rules based on sample data, eliminating the need for manual HTML parsing. Whether you're a data scientist, machine learning engineer, or software developer, this guide will walk you...
Predict Stock Prices Using Technical Indicators and Machine Learning in Python
Просмотров 2,2 тыс.2 месяца назад
This code walkthrough shows you how to calculate financial technical indicators and use them to predict stock market prices with machine learning. It covers an example python workflow that pulls stock market prices directly from the yfinance API, feature engineers seven technical indicators using the Pandas-TA library, and then rigorously backtests the performance of these technical indicators ...
Top 5 Python Pandas Tips and Tricks You NEED to Know
Просмотров 4203 месяца назад
This video discusses several top tips and tricks for coding with the pandas library in python. These tips and tricks will help elevate your data science and machine learning skillset as you wrangle data for data projects. Like, Comment, and Subscribe to the Deep Charts Channel for more informative Data Science and Machine Learning tutorials. Code: github.com/deepcharts/projects/blob/main/Pandas...
Build a Full Python Machine Learning Project With XGBoost: Airline Flight Delay Prediction
Просмотров 9583 месяца назад
This tutorial shows you how to build an end-to-end machine learning project using Python and the XGBoost algorithm. It covers the main steps, including wrangling and feature engineering, train/test split data preparation, exploratory data exploration (EDA), model training of XGBoost, model evaluation, and hyperparameter tuning. Whether you're a beginner or looking to enhance your data science a...
Predict Stock Market Prices With Machine Learning and Macro Indicators (S&P 500)
Просмотров 1,2 тыс.3 месяца назад
Predict Stock Market Prices With Machine Learning and Macro Indicators (S&P 500)
Build an AI Image Generator with Python and Streamlit in less than 5 minutes (FLUX)
Просмотров 8993 месяца назад
Build an AI Image Generator with Python and Streamlit in less than 5 minutes (FLUX)
AI Models for Time Series Analysis? Testing LLM’s for Crypto Price Prediction
Просмотров 6515 месяцев назад
AI Models for Time Series Analysis? Testing LLM’s for Crypto Price Prediction
Build a Real Time Stock Price Dashboard in Python (with Streamlit)
Просмотров 17 тыс.6 месяцев назад
Build a Real Time Stock Price Dashboard in Python (with Streamlit)
Scrape Yelp Business Data With Python and the Yelp Fusion API
Просмотров 6146 месяцев назад
Scrape Yelp Business Data With Python and the Yelp Fusion API
AI Stock Price Prediction Using Large Language Models in Python
Просмотров 10 тыс.7 месяцев назад
AI Stock Price Prediction Using Large Language Models in Python
Build a Python Web App with Streamlit
Просмотров 9117 месяцев назад
Build a Python Web App with Streamlit
The Easiest Way to Deploy A Streamlit App
Просмотров 3,4 тыс.7 месяцев назад
The Easiest Way to Deploy A Streamlit App
How to use H3 Hexagon Grids for Spatial Analysis and Mapping in Python
Просмотров 3,6 тыс.7 месяцев назад
How to use H3 Hexagon Grids for Spatial Analysis and Mapping in Python
Create Beautiful Topographic Maps with Python
Просмотров 9017 месяцев назад
Create Beautiful Topographic Maps with Python
How to Geocode Addresses with Python and GeoPandas
Просмотров 7717 месяцев назад
How to Geocode Addresses with Python and GeoPandas
Deploy Your Streamlit App with Ploomber in 3 minutes
Просмотров 1,1 тыс.7 месяцев назад
Deploy Your Streamlit App with Ploomber in 3 minutes
Ordinary Kriging in Python in 4 Minutes
Просмотров 1,4 тыс.7 месяцев назад
Ordinary Kriging in Python in 4 Minutes
Build a Python WebApp in 3 minutes with Solara (Streamlit Alternative)
Просмотров 8 тыс.7 месяцев назад
Build a Python WebApp in 3 minutes with Solara (Streamlit Alternative)
This will not work, I’m working on this you need a lot of steps before just querying you have to break down the document.
The idea is good using RAG, nevertheless the issue is the documents, cause stocks forecast analysis not necessarily will behave based on papers.
I'm guessing Eastern Seaboard cuz man you are up early😮
😆
This is just a very simple python algorithm that automates a chart image to an LLM. What's the point? You can simply upload a chart image yourself, that would be quicker. This is a pointless use of AI and has zero value to a trader.
Your comment comes across as rude, but I’ll assume it’s sincere and engage anyway. I think the video resonates with so many people because they can imagine taking this simple code/concept and combining it with loops and time-based automation to gain insight at scale.
@DeepCharts It wasn't meant to be rude, just factual. I don't see the point in using AI to lengthen the process. It should be used as a tool and like any tool in history, the tool's main purpose is to save time or make something possible which was not possible before. Too many things are now being promoted as AI but in truth they are not, sure they might use ai as I could use ai to tell me what tire pressure I need in my car tires but do I really need ai for that? No. If you have a true benefit of ai for trading, then go for it, show it. But there's no point in using AI to accomplish what can already be easily and more simply accomplished.
@@MarchTwentyfour-t8z You're still missing the bigger picture. Anyone can take this code/concept, swap in the Google Studio API for the latest Gemini 2.0 vision model, and create an *automated* technical analysis workflow based on specific use cases and market theses. (Assuming that they trust the model accuracy enough). But it's really up to you to connect the dots and determine whether you have the creativity to take this "pointless" concept and transform it into something more complex. I can't help you with that.
@DeepCharts perhaps build a compliant gullible chat bot so you can talk your nonsense to it.
Very interesting thanks!
For us new followers, "This code requires the 0.2.40 version of yfinance: "pip install yfinance==0.2.40"
Hi, thank you again ❤😊. But why don’t you use other api instead of using chatGPT, it’s not better even with charged version
Thanks! I try to use a mix of different API's for different tutorials, but most AI agent packages have best compatibility with OpenAI. What are you using the most for your projects?
@ I’m newbie, 45 year old, just an amateur, so I just researching learn new things
@ Keep it up, lots of opportunities to build stuff with these new tools, doesn't matter if you're an expert or amateur
Hi, how do I run this, it won't let me run the .py file due to an error, do I have to put it in a browser and if so how? Very cool concept btw! It doesnt look messy at all for the amount of code there is!
An excellent video on using AI Agents for stock analysis. Thank you.
Thanks!
Good video. But I have a doubt, now when we can directly upload any pdf or documents inside chatgpt and google ai studio, and get the same results, then why to create these RAG based llm wrappers. What's the point of these?
@akshatbindal, great question. The answer is simple: you can only do this type of analysis *at scale* with a programmatic framework. Chatgpt and Google AI Studio are great for one-off runs. But if you want to do a systematic analysis of tens, hundreds, or even more companies, (and over multiple years), programmatically through an API is the way to go. The possibilities of what you can do programmatically in python are endless. It's up to you to decide what types of information are most salient for extraction from these financial documents, whether it's risk scores (that can go directly into machine learning models, for example) or something else.
What is the ta module?
It’s a Python library for technical analysis
Why not make free agents in Microsoft Copilot Studio?
Great suggestion, thanks - I’ll look into its capabilities
I can't get copilot on my Excel subscription...do you have it..just curious..
Thanks again
Glad you found the video useful!
Want to support the channel? Subscribe to the free Deep Charts Newsletter for more deep learnings: deepcharts.substack.com/
What’s the requirements.txt file?
What a clearly explanation about this topic with FASTHTML. Hopefully more tutor with this framework and Picocss. Many thanks.
Thanks for watching!
🙂
When I try the "run the ai" it is taking forever loading with the message "Analyzing the chart, please wait..." Did anyone experience the same issue, and perhaps figured out to solve?
Cool mate, Learn Alot form this, thankyou
I found this useful reviewed thank you for the information brother
How much does the API cost?
You lost me when you suddenly moved to a jupyter notebook. I had everything installed. I'm lost on the jupyter notebook part.
You have to load your Python environment as a kernel in your Jupyter notebook
@ got it! Now im stuck on api key
Can this agentic framework have multiple coding agents working on the same code at the same time?
I have not tried out multi-agents/managed agents on smolagents yet, but I would assume that they take turns updating the same code. I could be wrong though.
How was your experience in having the agent produce consistent and incremental improvement?
Not great, tbh. Better with proprietary models like Gemini 1.5 Flash, but still lots of variation. We're still in the early early days of agents, so results can vary widely.
@DeepCharts I've had mixed results with gemini too. Thanks for sharing
Want to support the channel? Subscribe to the new Deep Charts Newsletter for more deep learnings: deepcharts.substack.com/
Thank you! How about data privacy, would using locally run private lllm instead of Gemini help?
I think data security through an API will be based on the terms and settings you have with the API provider. Running a model locally is a great option, but you need the right hardware to run some of the best open-source models, which will get you the closest to equivalent results as proprietary ones. For the actual running of the code interpreter in a secure environment, smolagents has a E2B code executor capability, see here: github.com/huggingface/smolagents/blob/main/docs/source/en/tutorials/secure_code_execution.md
For someone reason when I try to look at the app via my phone or anywhere outside of the streamlit clouding tells me I don't have access to it.
Thank you so much! It's really helpful!
I've just checked on Google Trends and popularity of "Blue Sky which is a fast growing alternative to Twitter or X" dropped over 75% since 14th November 2024. How is it fast growing? I don't need AI sentiment monitoring to see it is quite opposite....
Top of top 👍👍👍
Thank and many thanks
Thanks!
Awesome!! Keep it Up!
Thanks!
brilliant! thanks!
You're welcome!
Excellent video!
Glad you liked it!
Want to support the channel? Subscribe to the new Deep Charts Newsletter for more deep learnings: deepcharts.substack.com/
Very nice content❤
thank you! that was a very informative video, yet I can't help but wonder if that's really necessary when you can just ask AI to analyse the last posts and determine the sentiment of the stock, or the video was created for an educational purpose? one more thing, at the end it was mentioned that we can test the relationship - did you mean that we could find the correlation between the two and decide on entry and exit points?
You will have to go with sequence train and test only. Random will never give you result it gave the last data to model of different date and test over different date that wouldn't work.
I think without model training and RL technique it wouldn't be accurate
Boss how about if we import this llama 3.2 on local host then train over backdated data, in my understanding it is open source , fine tunned and powerfull model with no expense. Will that work from model point of view?
Yfinance can only provide open,close,high,low and vol. What if we have to get all the data like order book, open interest and other. Like for different - different indicators we need different elements.. any guess how we will be getting that information. One more thing about - chart pattern like tradingview has script which will create the chart patterns live and provide the target and stop loss. Can we create anything like that too! I.tried but nothing working out!
Thank you so much for making this video, it is simple and to the point! Is it possible to deploy this app on streamlit cloud services? I am asking because you have stored the data and installed the Ollama model on a local machine.
Thanks! You could swap out Ollama and the Llama 3.2 vision model with a paid API from OpenAI or Gemini or another LLM API provider with a vision model. This could be hacked together pretty quickly, especially with working with chatgpt to tell you what parts to swap out. Just be careful about API costs, especially if putting up publicly on streamlit community cloud.
Some methods are changed in current version eg geo to h3, after change It's worked and thanks for this great video❤❤❤
thank you too much , keep going.❤❤
why not use dspy?
super fire! taking notes. will let you know if i take it to prod
Please do! But remember all disclaimers and don't blindly allow LLM's to make investment decisions on your behalf! I'd suggest swapping out Llama3.2-vision with GPT-4o or one of the latest Gemini models for better performance. The workflow in this video is just an example of what one could do with the latest tools, not necessarily the best and most-optimized implementation
Thank you!
This was a well made video. I appreciate that you kept it simple for people who aren't familiar with the ML/DL lingo. A question came to mind while watching this video though. Have you compared results between Llama 3.2 Vision and something like Gemini 2.0 Flash Thinking? I would be interested to see if the vision capability is a benefit for the LM/VM. To say it another way, these large models are effectively "imagining" everything by language OR they are "seeing" an image by reading the pixel information of the image. I realize that I stepped on a ton of land mines there, but I want to stay focused on the effective results of the models. Would a vision model beat a language model give something like this? I wonder. I know for a fact that Claude Sonnet, Gemini 2.0, and Llama 405b can. Looks like I have a new experiment to conduct. Cheers!
Great points -- we'd definitely expect see different levels of performance based on the way the data is shared/presented and prompting instructions as well as the underlying model. The concept here is just to show the possibilities of LLM workflows for quant finance, not necessarily optimizing for best performance. I think Gemini 2.0 has the most promise at the moment for this sort of analysis, probably by leaps and bounds in comparison to the Llama 3.2 vision model. But who knows what new models will be available a week, month, year from now.
superb!!!!!
Excelent Explanation!! Thanks for sharing your knowledge with us. Have a great 2025!! Thanks again.
Thanks, you too!
Your channel has been one of the best sources of ideas for me in recent times. I appreciate the time you’ve invested. Happy holidays and I can't wait for next year's stuff!
Thanks -- the goal is to keep the ideas flowing into 2025
Want to support the channel? Subscribe to the new Deep Charts Newsletter for more deep learnings: deepcharts.substack.com/