Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/viddesh1/stock


https://github.com/viddesh1/stock

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# Stock Price Data Analysis for BPCL Company

This project aims to analyze historical stock price data for BPCL (Bharat Petroleum Corporation Limited) using Python and Jupyter notebooks.

## Technology Used



| Library | Version | Description |
|----------|:-------------:|:------:|
| Python | 3.10.12 | For data analysis of BPCL company from BSE (.ipynb (local machine)) |
| Numpy | 1.23.5 | For fast numeric / linear algebra computation |
| Nasdaq-Data-Link | 1.0.4| For Accessing BPCL data and API from data.nasdaq.com |
| matplotlib | 3.8.3 | For Plotting / Visualization |
| seaborn | 0.13.2 | For Plotting / Visualization |
| pandas | 2.2.1| For manipulation of the data.|

## Project tree structure

.
├── AI Project Test.docx # Information regarding task.
├── config.py # For saving API key as secrets.
├── README.md # Github README markdown file.
├── requirements.txt # Local machine project dependencies.
├── Task_1_colab.ipynb # Jupyter notebook on google colab.
├── Task_1_kaggle.ipynb # Juypyer notebook on kaggle.
└── Task_1_local.ipynb # Jupyter notebook of local machine.

## Notebooks
- [Task_1_local.ipynb](https://github.com/Viddesh1/stock/blob/main/Task_1_local.ipynb): Jypyter notebook of local machine.
- [Task_1_colab.ipynb](https://colab.research.google.com/drive/10H10H3N9yocnB5Z-xb0ZR6MBCWNtWd4j?usp=sharing): Jupyter notebook hosted on Google Colab.
- [Task_1_kaggle](https://www.kaggle.com/code/viddesh/task-1-kaggle): Kaggle notebook.

## Objective

The objective of this project is to:
- 1) Retrieve historical stock price data for BPCL from data.nasdaq.com.
- 2) Plot the raw stock prices over time.
- 3) Correct the stock prices for any splits and consolidations.
- 4) Display the final adjusted stock prices.
- 5) Show the dates for any splits and consolidations.

## How to Use

1. Open the notebook in Local machine, Google Colab or Kaggle.
2. Run the cells in the notebook to retrieve and analyze the data.
3. View the plots and analysis results to understand the stock price trends for BPCL.