nsepython


Namensepython JSON
Version 2.7 PyPI version JSON
download
home_pagehttps://github.com/aeron7/nsepython
SummaryPython library for NSE India APIs
upload_time2023-11-28 15:24:52
maintainer
docs_urlNone
authorAeron7
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.
            <p align="left">
  <a href="https://aeron7.github.io/nsepython/" target="_blank">
    <img width="300" src="https://forum.unofficed.com/uploads/default/original/2X/1/146aad29b92adf82059eacba2feca24741c9f859.png" alt="logo">
  </a>
</p>

#### NSEPython is a Python library to get publicly available data on the current [NSEIndia](https://nseindia.com) and [NIFTY Indices](https://www.niftyindices.com/) site by communicating with their REST APIs.

<p align="left">
  <a href="https://unofficed.com/nse-python/documentation/" target="_blank">
    <img width="200" src="https://forum.unofficed.com/uploads/default/original/2X/6/6b62554e8dc05701dab74b41e681e8b361e0f37f.png" alt="logo">
  </a>
</p>

## Support and Beta Functions

- If you have other doubts or want to check out the beta functions, visit the [NSEPython Discussions](https://forum.unofficed.com/c/programming/nse-python-api/) forum.
- If you have feature requests, you can submit them at the [NSEPython Feature Request](https://forum.unofficed.com/t/nsepython-discussion-and-feature-request/665) forum.

## Versions

There are two versions of NSEPython depending on the execution environment. While it's technically feasible to combine these versions into a single program, doing so could introduce latency. Given the financial nature of this program, time is of the essence.


| NSEPython Edition          | Compatibility                | Tested Environments           |
|---------------------------|-----------------------------|-------------------------------|
| [Local Edition](https://github.com/aeron7/nsepython)    | Laptops (Windows 9, 10)     | Windows 9, Windows 10         |
| [Server Edition](https://github.com/aeron7/nsepythonserver)   | Servers (AWS, Google Colab, DigitalOcean) | AWS, Google Colab, DigitalOcean |

## Installation

Use the package manager [pip](https://pypi.org/project/nsepython/) to install nsepython.

#### [NSEPython Local Edition](https://github.com/aeron7/nsepython)

Access NSEPython for laptops, specifically tailored for Windows 9 and Windows 10 compatibility.


```bash
pip install nsepython
```

#### [NSEPython Server Edition](https://github.com/aeron7/nsepythonserver)

Leverage NSEPython designed for server environments, seamlessly functioning on AWS, Google Colab, and DigitalOcean.

```bash
pip install nsepythonserver
```

## Cross Library Migration
All the functions from the two renowned packages, NsepY and NSETools, have been migrated here with the same function names. Both of these packages had been left unmaintained for a considerable period.

## Advanced Usecases

### Mastering AlgoTrading: A Beginner's Guide using NSEPython
- [Candlestick Charts in Python with NSEPython and Plotly](https://unofficed.com/courses/mastering-algotrading-beginners-guide-nsepython/lessons/candlestick-charts-python/)
- [Calculate any Option Greek using Black Scholes Formula in Python](https://unofficed.com/black-scholes-formula-in-python/)
- [How to find the beta of Indian stocks using Python?](https://unofficed.com/how-to-find-the-beta-of-indian-stocks-using-python/)
- [How to get Historical PE, PB and Dividend Ratio of any index using Python](https://unofficed.com/nse-python/documentation/nsepy/#index_pe_pb_div)

### Designing an Index Fund From Scratch in Indian Share Market
- [Building An Market-Weight Adjusted N50 Index Fund – Part I](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/building-an-market-weight-adjusted-n50-index-fund-i/)
- [Building An Market-Weight Adjusted N50 Index Fund – Part II](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/building-an-market-weight-adjusted-n50-index-fund-part-ii/)
- [How to calculate NIFTY 50 value from the stock prices in Python](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/how-to-calculate-nifty-50-value-from-the-stock-prices-in-python/)

### Coding Heatmap and ORB
- [Creating Dynamic Heatmap for Indian Stock Market](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/creating-dynamic-heatmap-for-indian-stock-market/)
- [Coding Heatmap Opening Range Breakout Strategy in Python – Part 1](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/opening-range-breakout-python-part-i/)
- [Coding Heatmap Opening Range Breakout Strategy in Python – Part 2](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/opening-range-breakout-python-part-ii/)

### Markov Chain

- [Stochastic Modeling in Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/stochastic-modeling-in-stock-market/)
- [Application of Markov Chains in Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/application-of-markov-chains-in-stock-market/)
- [Markov Chains in Stock Market Using Python – Getting Transition Matrix​](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/markov-chains-in-stock-market-using-python-getting-transition-matrix/)
- [How to do Random Walk using NSEPython in Indian Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/how-to-do-random-walk-using-nsepython-in-indian-stock-market/)
- [Markov Chain and Linear Algebra – Calculation of Stationary Distribution using Python​](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/markov-chain-and-linear-algebra-calculation-of-stationary-distribution-using-python/)
- [Find the Equilibrium Matrix in Markov Chain using Python in Indian Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/find-the-equilibrium-matrix-in-markov-chain-using-python-in-stock-market/)


## Leverage

In [Leverage](https://www.unofficed.com/leverage/), a plethora of trader-focused tools has been meticulously crafted using NSEPython.

Here's an illustration of a [Sectoral Heatmap](https://unofficed.com/leverage/sectoral-heatmap/), showcasing the extent of complexity that NSEPython API can effortlessly handle.

<p align="left">
  <a href="https://www.unofficed.com/leverage/" target="_blank">
    <img  src="https://unofficed.com/wp-content/uploads/2023/08/Sectoral-Heatmap.png" alt="logo">
  </a>
</p>





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aeron7/nsepython",
    "name": "nsepython",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "nseindia,nse,python,sdk,trading,stock markets",
    "author": "Aeron7",
    "author_email": "dexter@unofficed.com",
    "download_url": "https://files.pythonhosted.org/packages/19/34/52d5409494c99fc29f7350f0d5f3e95155b448c03a8bfbae6bd29df80c68/nsepython-2.7.tar.gz",
    "platform": null,
    "description": "<p align=\"left\">\r\n  <a href=\"https://aeron7.github.io/nsepython/\" target=\"_blank\">\r\n    <img width=\"300\" src=\"https://forum.unofficed.com/uploads/default/original/2X/1/146aad29b92adf82059eacba2feca24741c9f859.png\" alt=\"logo\">\r\n  </a>\r\n</p>\r\n\r\n#### NSEPython is a Python library to get publicly available data on the current [NSEIndia](https://nseindia.com) and [NIFTY Indices](https://www.niftyindices.com/) site by communicating with their REST APIs.\r\n\r\n<p align=\"left\">\r\n  <a href=\"https://unofficed.com/nse-python/documentation/\" target=\"_blank\">\r\n    <img width=\"200\" src=\"https://forum.unofficed.com/uploads/default/original/2X/6/6b62554e8dc05701dab74b41e681e8b361e0f37f.png\" alt=\"logo\">\r\n  </a>\r\n</p>\r\n\r\n## Support and Beta Functions\r\n\r\n- If you have other doubts or want to check out the beta functions, visit the [NSEPython Discussions](https://forum.unofficed.com/c/programming/nse-python-api/) forum.\r\n- If you have feature requests, you can submit them at the [NSEPython Feature Request](https://forum.unofficed.com/t/nsepython-discussion-and-feature-request/665) forum.\r\n\r\n## Versions\r\n\r\nThere are two versions of NSEPython depending on the execution environment. While it's technically feasible to combine these versions into a single program, doing so could introduce latency. Given the financial nature of this program, time is of the essence.\r\n\r\n\r\n| NSEPython Edition          | Compatibility                | Tested Environments           |\r\n|---------------------------|-----------------------------|-------------------------------|\r\n| [Local Edition](https://github.com/aeron7/nsepython)    | Laptops (Windows 9, 10)     | Windows 9, Windows 10         |\r\n| [Server Edition](https://github.com/aeron7/nsepythonserver)   | Servers (AWS, Google Colab, DigitalOcean) | AWS, Google Colab, DigitalOcean |\r\n\r\n## Installation\r\n\r\nUse the package manager [pip](https://pypi.org/project/nsepython/) to install nsepython.\r\n\r\n#### [NSEPython Local Edition](https://github.com/aeron7/nsepython)\r\n\r\nAccess NSEPython for laptops, specifically tailored for Windows 9 and Windows 10 compatibility.\r\n\r\n\r\n```bash\r\npip install nsepython\r\n```\r\n\r\n#### [NSEPython Server Edition](https://github.com/aeron7/nsepythonserver)\r\n\r\nLeverage NSEPython designed for server environments, seamlessly functioning on AWS, Google Colab, and DigitalOcean.\r\n\r\n```bash\r\npip install nsepythonserver\r\n```\r\n\r\n## Cross Library Migration\r\nAll the functions from the two renowned packages, NsepY and NSETools, have been migrated here with the same function names. Both of these packages had been left unmaintained for a considerable period.\r\n\r\n## Advanced Usecases\r\n\r\n### Mastering AlgoTrading: A Beginner's Guide using NSEPython\r\n- [Candlestick Charts in Python with NSEPython and Plotly](https://unofficed.com/courses/mastering-algotrading-beginners-guide-nsepython/lessons/candlestick-charts-python/)\r\n- [Calculate any Option Greek using Black Scholes Formula in Python](https://unofficed.com/black-scholes-formula-in-python/)\r\n- [How to find the beta of Indian stocks using Python?](https://unofficed.com/how-to-find-the-beta-of-indian-stocks-using-python/)\r\n- [How to get Historical PE, PB and Dividend Ratio of any index using Python](https://unofficed.com/nse-python/documentation/nsepy/#index_pe_pb_div)\r\n\r\n### Designing an Index Fund From Scratch in Indian Share Market\r\n- [Building An Market-Weight Adjusted N50 Index Fund \u00e2\u20ac\u201c Part I](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/building-an-market-weight-adjusted-n50-index-fund-i/)\r\n- [Building An Market-Weight Adjusted N50 Index Fund \u00e2\u20ac\u201c Part II](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/building-an-market-weight-adjusted-n50-index-fund-part-ii/)\r\n- [How to calculate NIFTY 50 value from the stock prices in Python](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/how-to-calculate-nifty-50-value-from-the-stock-prices-in-python/)\r\n\r\n### Coding Heatmap and ORB\r\n- [Creating Dynamic Heatmap for Indian Stock Market](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/creating-dynamic-heatmap-for-indian-stock-market/)\r\n- [Coding Heatmap Opening Range Breakout Strategy in Python \u00e2\u20ac\u201c Part 1](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/opening-range-breakout-python-part-i/)\r\n- [Coding Heatmap Opening Range Breakout Strategy in Python \u00e2\u20ac\u201c Part 2](https://unofficed.com/courses/designing-an-index-fund-from-scratch-in-indian-share-market/lessons/opening-range-breakout-python-part-ii/)\r\n\r\n### Markov Chain\r\n\r\n- [Stochastic Modeling in Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/stochastic-modeling-in-stock-market/)\r\n- [Application of Markov Chains in Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/application-of-markov-chains-in-stock-market/)\r\n- [Markov Chains in Stock Market Using Python \u00e2\u20ac\u201c Getting Transition Matrix\u00e2\u20ac\u2039](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/markov-chains-in-stock-market-using-python-getting-transition-matrix/)\r\n- [How to do Random Walk using NSEPython in Indian Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/how-to-do-random-walk-using-nsepython-in-indian-stock-market/)\r\n- [Markov Chain and Linear Algebra \u00e2\u20ac\u201c Calculation of Stationary Distribution using Python\u00e2\u20ac\u2039](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/markov-chain-and-linear-algebra-calculation-of-stationary-distribution-using-python/)\r\n- [Find the Equilibrium Matrix in Markov Chain using Python in Indian Stock Market](https://unofficed.com/courses/markov-model-application-of-markov-chain-in-stock-market/lessons/find-the-equilibrium-matrix-in-markov-chain-using-python-in-stock-market/)\r\n\r\n\r\n## Leverage\r\n\r\nIn [Leverage](https://www.unofficed.com/leverage/), a plethora of trader-focused tools has been meticulously crafted using NSEPython.\r\n\r\nHere's an illustration of a [Sectoral Heatmap](https://unofficed.com/leverage/sectoral-heatmap/), showcasing the extent of complexity that NSEPython API can effortlessly handle.\r\n\r\n<p align=\"left\">\r\n  <a href=\"https://www.unofficed.com/leverage/\" target=\"_blank\">\r\n    <img  src=\"https://unofficed.com/wp-content/uploads/2023/08/Sectoral-Heatmap.png\" alt=\"logo\">\r\n  </a>\r\n</p>\r\n\r\n\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python library for NSE India APIs",
    "version": "2.7",
    "project_urls": {
        "Homepage": "https://github.com/aeron7/nsepython"
    },
    "split_keywords": [
        "nseindia",
        "nse",
        "python",
        "sdk",
        "trading",
        "stock markets"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a7ac9ffc9a26e48b372a4ad14fcbe59d53e9cdb524e475eae422ab2a5fec73c",
                "md5": "76de764171c31b79f05bc766eb5ca3a1",
                "sha256": "735ca882743493909bd043e1dc0e490f8a238ac5c97dd6f209c5bed8c6c3859f"
            },
            "downloads": -1,
            "filename": "nsepython-2.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "76de764171c31b79f05bc766eb5ca3a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 25282,
            "upload_time": "2023-11-28T15:24:49",
            "upload_time_iso_8601": "2023-11-28T15:24:49.926716Z",
            "url": "https://files.pythonhosted.org/packages/9a/7a/c9ffc9a26e48b372a4ad14fcbe59d53e9cdb524e475eae422ab2a5fec73c/nsepython-2.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "193452d5409494c99fc29f7350f0d5f3e95155b448c03a8bfbae6bd29df80c68",
                "md5": "cb922e4e284a716cf4af740f0af8c61c",
                "sha256": "a24bad90a0a776fe53d685bf85780adce73ae50d7ee6f7b02eca77cc81cf6564"
            },
            "downloads": -1,
            "filename": "nsepython-2.7.tar.gz",
            "has_sig": false,
            "md5_digest": "cb922e4e284a716cf4af740f0af8c61c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 27470,
            "upload_time": "2023-11-28T15:24:52",
            "upload_time_iso_8601": "2023-11-28T15:24:52.422880Z",
            "url": "https://files.pythonhosted.org/packages/19/34/52d5409494c99fc29f7350f0d5f3e95155b448c03a8bfbae6bd29df80c68/nsepython-2.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-28 15:24:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aeron7",
    "github_project": "nsepython",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "nsepython"
}
        
Elapsed time: 0.16173s