shivrajkarewar commited on
Commit
44dfe2c
·
verified ·
1 Parent(s): 3f71e72

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +62 -1
README.md CHANGED
@@ -11,4 +11,65 @@ license: mit
11
  short_description: To suggest stock behaviour from News/Technical Analysis
12
  ---
13
 
14
- An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  short_description: To suggest stock behaviour from News/Technical Analysis
12
  ---
13
 
14
+ An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
15
+
16
+
17
+ README for Financial News and Technical Analysis Tool
18
+
19
+ Overview
20
+
21
+ The Financial News and Technical Analysis Tool is an interactive application built using Gradio, designed to assist users in analyzing stock performance. It provides financial news, sentiment analysis, technical data, and recommendations (Buy, Hold, or Sell) for selected companies based on AI-driven insights.
22
+
23
+ Key Features
24
+ - Financial News Fetching: Retrieves the latest news articles for a selected stock symbol using the NewsAPI.Sentiment Analysis: Analyzes the sentiment (Positive, Negative, Neutral) of news articles using TextBlob.
25
+ - Technical Analysis: Extracts and calculates key technical indicators such as RSI, MACD, and SMA using ta and yfinance.
26
+ - AI-Driven Recommendations: Generates stock recommendations using Groq's Llama 3 model.
27
+ - Interactive Interface: User-friendly Gradio interface with dropdowns and output fields.
28
+
29
+ Requirements: See the requirements.txt file
30
+
31
+ API Keys:
32
+ NewsAPI: Required for fetching news articles.
33
+ Groq: Required for accessing Groq’s AI model.
34
+
35
+ Installation
36
+
37
+ Clone the repository:
38
+
39
+ git clone <repository-url>
40
+ cd <repository-directory>
41
+
42
+ Install required Python packages:
43
+ pip install -r requirements.txt
44
+ Set environment variables for API keys:
45
+
46
+ export NEWSAPI_KEY=<your-newsapi-key>
47
+ export GROQ_API_KEY=<your-groq-api-key>
48
+
49
+ Usage
50
+ Launch the application:
51
+ python app.py
52
+ Open the Gradio interface in your browser.
53
+
54
+ Select a stock symbol from the dropdown and click Analyze.
55
+
56
+ - View financial news, sentiment analysis, technical data, and AI recommendations in the respective output sections.
57
+
58
+ Technical Indicators Explained:
59
+ RSI (Relative Strength Index): Indicates overbought or oversold conditions.
60
+ MACD (Moving Average Convergence Divergence): Highlights momentum direction.
61
+ SMA (Simple Moving Average): Tracks average closing prices over 50 and 200 days.
62
+
63
+ Application Flow:
64
+
65
+ Inputs --> Stock Symbol (Dropdown) --> Outputs --> Financial News --> Sentiment Analysis --> Technical Analysis --> Recommendation
66
+
67
+ Future Enhancements:
68
+ - Expand stock symbol support.
69
+ - Integrate advanced sentiment analysis models.
70
+ - Add more technical indicators and AI models.
71
+ - Enable real-time stock price tracking.
72
+
73
+ License
74
+ This project is licensed under the MIT License. See the LICENSE file for details.
75
+