Giter Site home page Giter Site logo

nepse-data's Introduction

nepse-data

nepse-data is the collection of all the datasets (from past to present) of various companies listed in the Nepal Stock Market. This repository is built for the students and people who want to perform analysis on Nepal Stock Market using historical (& current) data.

Data

The data can be found in data/company folder and are arranged according to the company. For example: in NMB.csv you can find all the data of NMB Bank Limited sorted in ascending order (date-wise).

The repository currently includes data of around 130 companies. However more are coming soon. Feel free to create an issue if you want data of any particular company urgently.

The Github Actions updates the data on an almost daily basis so that the datasets available here are up to date.

Code

The code through which the data were/are being collected resides on the src/ folder. The code is written in python3.8 and the required library is stored in src/requirements.txt

If you want to collect the datasets by yourself then you can run the following command.

Firstly, Just make sure you have python3 installed ๐Ÿ˜‰. If not please find python3 installation procedure over here

# go into the src folder
cd src

# install requirements
pip3 install -r requirements.txt

# for historical data collection
# if you want the datasets only then you can just run this
python3 allDataScrapper.py

# optional -- for daily data updates
python3 dailyDataScrapper.py

The code that updates data on a daily basis resides on the .github/.workflows directory and runs on Github Action as a CRON job. The Github Action workflow runs 5 times every day (Sunday to Friday) so that if the data collection is missed first time then it will work the second time and so on.

Contributing

Pull requests are welcome. Please open an issue first to discuss what you would like to change.

Things you can consider doing:

  • Github action to update data on a daily basis on Kaggle
  • Date-wise Collection of data from past to present

License

MIT

nepse-data's People

Contributors

github-actions[bot] avatar aabishkar2 avatar ashokpds15 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.