| title | STOCK_INSPECT |
|---|---|
| emoji | 📊 |
| colorFrom | gray |
| colorTo | pink |
| sdk | streamlit |
| pinned | false |
| license | apache-2.0 |
Stock Inspect is a Streamlit web application designed for stock analysis. It uses the Language Model (Gemini-pro from google) to provide insights based on user-provided stock names from NSE.
Try Hugging Face Demo from Here
-
Clone the repository:
git clone git@github.com:kailashsp/Stock_Inspect.git cd Stock_Inspect -
Install the required dependencies:
pip install -r requirements.txt
-
Setup env file
-
Create a
.envfile in the root directory of the project. -
Add the following line to your
.envfile, replacingYOUR_GOOGLE_API_KEYwith your actual Google API key:GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY
-
-
Run the Streamlit app:
streamlit run app.py
-
The web application will open in your default browser.
-
Enter a stock symbol in the search box to analyze the stock.
- Pandas: Data manipulation and analysis.
- JSON: Data interchange format.
- Streamlit: Web application framework.
- Streamlit Searchbox: Extension for a searchable dropdown.
app.py: Main Streamlit application.document_preprocessor.py: Module for generating stock fundamentals.llm.py: Module for the Language Model (LLM).prompt.py: Module containing the stock analysis prompt.MCAP31122023.xlsx: Excel file containing stock data.
streamlit_config.toml: Configuration file for Streamlit settings.
- Stock data provided by Finology.
This project is licensed under the MIT License.