Skip to content

Python Streamlit web app with an SQLite user login/authentication system. Application allows users to select multiple stocks, metrics, and visualizations. A Langchain pandas agent utilizing GPT-4 and customized stock-market/financial prompts is then initiated allowing the user to intelligently interact with their specified data.

Notifications You must be signed in to change notification settings

petermartens98/OpenAI-Stock-Market-Chat-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT4 LangChain Pandas Agent Stock Market Chat Bot

Description

Python Streamlit web app with an SQLite user login/authentication system. Application allows users to select multiple stocks, metrics, and visualizations. A Langchain pandas agent utilizing GPT-4 and customized stock-market/financial prompts is then initiated allowing the user to intelligently interact with their specified data.

Available Stocks

['AAPL', 'AI', 'AMZN', 'BTC-USD', 'DOW', 'ETH-USD', 'F', 'GOOGL', 'LCID', 'LYFY', 'MSFT', 'NIO', 'NVDA', 'TSL']

Available Metrics

  1. Adjusted Close
  2. Relative Returns

Available Visualizations

  1. Line Chart
  2. Area Chart

V4

V4 Improvements

  1. Using Sqlite3, implemented user login/authentiation system

V4 Screenshot

image

V3

V3 Improvements

  1. GPT4 Support
  2. ChatBot Memory of Chat implemented
  3. Improved prompting
  4. More Stock Options included

V2

V2 Improvements

  1. Improved organization of modularity of code
  2. Incorporated .env variables for OpenAI API key
  3. Incorporated sidebar
  4. Allow user to specify stock metric (adjusted closing, relative returns)
  5. Allow user to specify desired data visualization
  6. Allow user to adjust temperature of chat bot resposes
  7. Display Chat History

image

V1

image

About

Python Streamlit web app with an SQLite user login/authentication system. Application allows users to select multiple stocks, metrics, and visualizations. A Langchain pandas agent utilizing GPT-4 and customized stock-market/financial prompts is then initiated allowing the user to intelligently interact with their specified data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages