https://github.com/keskhanal/nepse-data
nepse-data(pip package nepal-stock-price) is a python package to get the price of companies which are listed on Nepal Stock Exchange(NEPSE).
https://github.com/keskhanal/nepse-data
datascraping python
Last synced: 5 months ago
JSON representation
nepse-data(pip package nepal-stock-price) is a python package to get the price of companies which are listed on Nepal Stock Exchange(NEPSE).
- Host: GitHub
- URL: https://github.com/keskhanal/nepse-data
- Owner: keskhanal
- License: mit
- Created: 2022-12-26T17:17:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-02T08:52:32.000Z (over 3 years ago)
- Last Synced: 2025-08-25T07:21:29.631Z (9 months ago)
- Topics: datascraping, python
- Language: Python
- Homepage:
- Size: 148 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nepal-stock-price
This is a python package to download the stock price data of the companies listed in Nepal Stock Exchage(NEPSE).
## Installation
```bash
pip install nepal-stock-price
```
## Usage
```python
from nepse_data import NepseData
#scripts name
price_history = NepseData("nica")
data_df = price_history.price_history()
#filepath to save price history in csv format
file_name = "nica.csv"
data_df.to_csv("data/" + file_name, encoding='utf-8', index=False)
```
Hurray!!! Now you will be able to get the stock price data of any companies which are listed on NEPSE...
## TODO
* add visualization
* add features like to get todays_price, broker_list, news, dividend_history etc.
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## Contact
If you have any queries then drop a [message here](https://www.linkedin.com/in/keskhanal/) or [visit here](https://www.khanalkeshav.com.np/).