regholl2023 / A.I.-STOCKBOT

StockBot is a Python chatbot using OpenAI's Chat API for instant stock market insights. Analyze stock prices, technical indicators, and retrieve news with ease. Explore the world of stocks effortlessly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StockBot

StockBot is a Python-based chatbot designed to provide quick and convenient information on publicly traded stocks. Leveraging the OpenAI Chat API, StockBot interprets natural language queries and executes a set of predefined functions, allowing users to gain insights into various aspects of the stock market.

Features

  1. get_stock_price: Retrieve the current stock price for a specified company.
  2. calculate_SMA: Calculate the simple moving average for a given stock.
  3. calculate_EMA: Calculate the exponential moving average for a specified stock.
  4. calculate_RSI: Calculate the relative strength index for a particular stock.
  5. calculate_MACD: Calculate the moving average convergence divergence for a chosen stock.
  6. plot_stock_price: Generate a plot displaying the stock price trend over the last year.
  7. compare_stock_prices: Compare the stock prices of two companies over a specified period.
  8. average_volume: Obtain the average trading volume for a specific stock over the last month.
  9. get_dividend_info: Retrieve dividend information for a given stock.
  10. get_stock_news: Fetch the latest news headlines related to a particular stock.
  11. calculate_daily_returns: Get the daily return for a given stock.
Demo.mp4

Note

StockBot may not cover all stocks, and the information provided may not be real-time. It's designed to offer quick insights based on historical and publicly available data.

Disclaimer

This project is for educational and informational purposes only. It does not constitute financial advice. Use the information provided by StockBot responsibly and consider consulting with a financial professional for personalized guidance.

License

Copyright [2023] [Ravi Tiwari]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

About

StockBot is a Python chatbot using OpenAI's Chat API for instant stock market insights. Analyze stock prices, technical indicators, and retrieve news with ease. Explore the world of stocks effortlessly.


Languages

Language:Python 100.0%