nselib


Namenselib JSON
Version 0.7 PyPI version JSON
download
home_pagehttps://github.com/RuchiTanmay/nselib
Summarylibrary to get NSE India data
upload_time2023-07-30 08:03:01
maintainer
docs_urlNone
authorRuchiTanmay
requires_python
license
keywords nseindia nse python sdk trading stock markets
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # NSElib 0.6

Python Library to get publicly available data on new NSE india website.

Release Notes
* Compatible and Tested with Python 3.8 and above 
* Future release will be done on requirement basic

## Libraries Required
- requests
- beautifulsoup
- numpy 
- scipy
- pandas
- lxml

For Windows systems you can install Anaconda, this will cover many dependencies (You'll have to install requests and beautifulsoup additionally though)

## Installation
Fresh installation 

```$pip install nselib```

Upgrade

```$pip install nselib --upgrade```

## Function list

### nselib
* trading_holiday_calendar

Example :

import nselib

data = nselib.trading_holiday_calendar()

### Capital Market
* price_volume_and_deliverable_position_data 
* price_volume_data
* deliverable_position_data
* bulk_deal_data
* block_deals_data
* short_selling_data
* bhav_copy_with_delivery
* bhav_copy_equities
* equity_list
* fno_equity_list
* nifty50_equity_list
* india_vix_data
* index_data
* market_watch_all_indices
* fii_dii_trading_activity

Example : 

from nselib import capital_market 

data = capital_market.price_volume_and_deliverable_position_data(symbol='SBIN', from_date='01-06-2023', to_date='10-06-2023')
                                            
OR

data = capital_market.price_volume_and_deliverable_position_data(symbol='SBIN', period='1M')

More functions will be available in future releases...

### Derivative
* future_price_volume_data
* option_price_volume_data
* fno_bhav_copy
* participant_wise_open_interest
* participant_wise_trading_volume
* expiry_dates_future
* expiry_dates_option_index
* nse_live_option_chain
* fii_derivatives_statistics

Example : 

from nselib import derivatives

data = derivatives.future_price_volume_data(symbol='SBIN', instrument='FUTSTK', from_date='01-06-2023', to_date='10-06-2023')

OR

data = derivatives.price_volume_and_deliverable_position_data(symbol='BANKNIFTY', instrument='FUTIDX', period='1M')

Note: instrument type ( future index = FUTIDX, future stocks = FUTSTK, option index = OPTIDX, option stocks = OPTSTK)

More functions will be available in future releases...

### Debt

More functions will be available in future releases...


## How can I contribute?
There are multiple ways in which you can contribute-

### Write about your project

There are working on to add many function to this library. NSElib at the moment is short of good documentation. There are lot of features in NSElib yet to come :( , so till we complete the documentation, I'll need support from the community.

Please write about your projects in blogs, quora answers and other forums, so that people find working examples to get started.

### Raising issues, bugs, enhancement requests

For quick resolution please raise issues both [here on issue page](https://github.com/RuchiTanmay/nselib/issues). I'll try my best to address the issues quickly on github as and when I get notified, but raising it on stackoverflow will provide you access to a larger group and someone else might solve your problem before I do.

### Submit patches

If you have fixed an issue or added a new feature, please fork this repository, make your changes and submit a pull request. [Here's good article on how to do this.](https://code.tutsplus.com/tutorials/how-to-collaborate-on-github--net-34267) 

Looking forward for healthy participation from community.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/RuchiTanmay/nselib",
    "name": "nselib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "nseindia,nse,python,sdk,trading,stock markets",
    "author": "RuchiTanmay",
    "author_email": "ruchitanmay@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/32/17/8be82a249e62598792f5e1ed770fd3bc81ef7e5f0e03c5df65ddba867ecd/nselib-0.7.tar.gz",
    "platform": null,
    "description": "# NSElib 0.6\r\n\r\nPython Library to get publicly available data on new NSE india website.\r\n\r\nRelease Notes\r\n* Compatible and Tested with Python 3.8 and above \r\n* Future release will be done on requirement basic\r\n\r\n## Libraries Required\r\n- requests\r\n- beautifulsoup\r\n- numpy \r\n- scipy\r\n- pandas\r\n- lxml\r\n\r\nFor Windows systems you can install Anaconda, this will cover many dependencies (You'll have to install requests and beautifulsoup additionally though)\r\n\r\n## Installation\r\nFresh installation \r\n\r\n```$pip install nselib```\r\n\r\nUpgrade\r\n\r\n```$pip install nselib --upgrade```\r\n\r\n## Function list\r\n\r\n### nselib\r\n* trading_holiday_calendar\r\n\r\nExample :\r\n\r\nimport nselib\r\n\r\ndata = nselib.trading_holiday_calendar()\r\n\r\n### Capital Market\r\n* price_volume_and_deliverable_position_data \r\n* price_volume_data\r\n* deliverable_position_data\r\n* bulk_deal_data\r\n* block_deals_data\r\n* short_selling_data\r\n* bhav_copy_with_delivery\r\n* bhav_copy_equities\r\n* equity_list\r\n* fno_equity_list\r\n* nifty50_equity_list\r\n* india_vix_data\r\n* index_data\r\n* market_watch_all_indices\r\n* fii_dii_trading_activity\r\n\r\nExample : \r\n\r\nfrom nselib import capital_market \r\n\r\ndata = capital_market.price_volume_and_deliverable_position_data(symbol='SBIN', from_date='01-06-2023', to_date='10-06-2023')\r\n                                            \r\nOR\r\n\r\ndata = capital_market.price_volume_and_deliverable_position_data(symbol='SBIN', period='1M')\r\n\r\nMore functions will be available in future releases...\r\n\r\n### Derivative\r\n* future_price_volume_data\r\n* option_price_volume_data\r\n* fno_bhav_copy\r\n* participant_wise_open_interest\r\n* participant_wise_trading_volume\r\n* expiry_dates_future\r\n* expiry_dates_option_index\r\n* nse_live_option_chain\r\n* fii_derivatives_statistics\r\n\r\nExample : \r\n\r\nfrom nselib import derivatives\r\n\r\ndata = derivatives.future_price_volume_data(symbol='SBIN', instrument='FUTSTK', from_date='01-06-2023', to_date='10-06-2023')\r\n\r\nOR\r\n\r\ndata = derivatives.price_volume_and_deliverable_position_data(symbol='BANKNIFTY', instrument='FUTIDX', period='1M')\r\n\r\nNote: instrument type ( future index = FUTIDX, future stocks = FUTSTK, option index = OPTIDX, option stocks = OPTSTK)\r\n\r\nMore functions will be available in future releases...\r\n\r\n### Debt\r\n\r\nMore functions will be available in future releases...\r\n\r\n\r\n## How can I contribute?\r\nThere are multiple ways in which you can contribute-\r\n\r\n### Write about your project\r\n\r\nThere are working on to add many function to this library. NSElib at the moment is short of good documentation. There are lot of features in NSElib yet to come :( , so till we complete the documentation, I'll need support from the community.\r\n\r\nPlease write about your projects in blogs, quora answers and other forums, so that people find working examples to get started.\r\n\r\n### Raising issues, bugs, enhancement requests\r\n\r\nFor quick resolution please raise issues both [here on issue page](https://github.com/RuchiTanmay/nselib/issues). I'll try my best to address the issues quickly on github as and when I get notified, but raising it on stackoverflow will provide you access to a larger group and someone else might solve your problem before I do.\r\n\r\n### Submit patches\r\n\r\nIf you have fixed an issue or added a new feature, please fork this repository, make your changes and submit a pull request. [Here's good article on how to do this.](https://code.tutsplus.com/tutorials/how-to-collaborate-on-github--net-34267) \r\n\r\nLooking forward for healthy participation from community.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "library to get NSE India data",
    "version": "0.7",
    "project_urls": {
        "Homepage": "https://github.com/RuchiTanmay/nselib"
    },
    "split_keywords": [
        "nseindia",
        "nse",
        "python",
        "sdk",
        "trading",
        "stock markets"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b4321a47ee0cae35624153d23ce5bd52983c1e6528b1e6e98f64d1fa5699f1b0",
                "md5": "169088f48cd5147e9d621290757f0759",
                "sha256": "3fab2a8e5944d641d5d6ec8ebacc87b72a6fe5bb6dde2fb12f544ddfeaf83c38"
            },
            "downloads": -1,
            "filename": "nselib-0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "169088f48cd5147e9d621290757f0759",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 18538,
            "upload_time": "2023-07-30T08:02:59",
            "upload_time_iso_8601": "2023-07-30T08:02:59.481578Z",
            "url": "https://files.pythonhosted.org/packages/b4/32/1a47ee0cae35624153d23ce5bd52983c1e6528b1e6e98f64d1fa5699f1b0/nselib-0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "32178be82a249e62598792f5e1ed770fd3bc81ef7e5f0e03c5df65ddba867ecd",
                "md5": "91dd15f8b5dcf238a75984832601fe6b",
                "sha256": "c012de700e8840ea2734128ca102259e0e4a33473225504cdc238d9dd807d626"
            },
            "downloads": -1,
            "filename": "nselib-0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "91dd15f8b5dcf238a75984832601fe6b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16985,
            "upload_time": "2023-07-30T08:03:01",
            "upload_time_iso_8601": "2023-07-30T08:03:01.400529Z",
            "url": "https://files.pythonhosted.org/packages/32/17/8be82a249e62598792f5e1ed770fd3bc81ef7e5f0e03c5df65ddba867ecd/nselib-0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-30 08:03:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "RuchiTanmay",
    "github_project": "nselib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "nselib"
}
        
Elapsed time: 0.10162s