market-generic


Namemarket-generic JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/sharmasourab93/market-generic
SummaryA Generic Python Package for Stock Market Analysis and Trading
upload_time2024-06-16 18:09:29
maintainerNone
docs_urlNone
authorSourab S Sharma
requires_pythonNone
licenseNone
keywords market trade analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # market-generic - A Generic Python Package for Stock Market Analysis and Trading

### Overview

`market-generic` is a powerful and flexible Python library designed to simplify the process of working with stock market data. It provides a comprehensive set of tools and utilities to handle, analyze, and visualize stock data, enabling developers and analysts to build dynamic stock scanners, trading strategies, and other financial applications with ease.


### Key Features
- <b>Data Handling</b>: Seamless integration with popular data sources (e.g., Yahoo Finance, NSE APIs) to fetch and manage stock data.
- <b>Technical Indicators</b>: A wide range of technical indicators (e.g., Moving Averages, Pivot Points, RSI, MACD) for in-depth market analysis.
- <b>Generic Strategy Abstractions</b>: Tools to dynamically create trading strategies on the fly based on user-defined parameters.
- <b>Extensibility</b>: Modular design allows for easy integration with other Python libraries and frameworks.


### Installation
To install the AlgoTrade package, use pip:

```commandline
pip install market-generic
```

### Usage

Here's a simple example of how to use the Trade package to fetch and analyze stock data:
python

```python 
>>from trade.nse import NSEStock
>>stock = NSEStock("RELIANCE", "17-May-2024")
>>stock.symbol == "RELIANCE"
True 
>>stock.curr_ohlc 
# Will Display Reliance's latest Bhav 
{
"open": 2860.7,
"low": ...,
"high":...,
 "close": ...,
 "volume": ...
 "pct_change": ...
}
```

`AllNSEStocks` uses `NSEStock` module underneath to utilize stock functions.

```python
>>from trade.nse import AllNSEStocks
>>all_stocks = AllNSEStocks("17-May-2024", ["RELIANCE", "SBIN"])
>>all_stocks.symbols[0] == "RELIANCE"
True
>>all_stocks.symbols[1] == "SBIN"
True 
>>all_stocks.symbols[0].curr_ohlc
# Will Display Reliance's latest Bhav 
{
"open": 2860.7,
"low": ...,
"high":...,
 "close": ...,
 "volume": ...
 "pct_change": ...
}
```


### Documentation

For detailed documentation, examples, and API reference, please visit the 
[market-generic 
GitHub repository](https://github.com/sharmasourab93/market-generic).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sharmasourab93/market-generic",
    "name": "market-generic",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "Market, Trade, Analysis",
    "author": "Sourab S Sharma",
    "author_email": "sharmasourab93@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/86/29/d703f2fb9eda64c41ab9b8151125cd0dfec517f743b62651ef1a160d0d7f/market_generic-0.3.0.tar.gz",
    "platform": null,
    "description": "# market-generic - A Generic Python Package for Stock Market Analysis and Trading\n\n### Overview\n\n`market-generic` is a powerful and flexible Python library designed to simplify the process of working with stock market data. It provides a comprehensive set of tools and utilities to handle, analyze, and visualize stock data, enabling developers and analysts to build dynamic stock scanners, trading strategies, and other financial applications with ease.\n\n\n### Key Features\n- <b>Data Handling</b>: Seamless integration with popular data sources (e.g., Yahoo Finance, NSE APIs) to fetch and manage stock data.\n- <b>Technical Indicators</b>: A wide range of technical indicators (e.g., Moving Averages, Pivot Points, RSI, MACD) for in-depth market analysis.\n- <b>Generic Strategy Abstractions</b>: Tools to dynamically create trading strategies on the fly based on user-defined parameters.\n- <b>Extensibility</b>: Modular design allows for easy integration with other Python libraries and frameworks.\n\n\n### Installation\nTo install the AlgoTrade package, use pip:\n\n```commandline\npip install market-generic\n```\n\n### Usage\n\nHere's a simple example of how to use the Trade package to fetch and analyze stock data:\npython\n\n```python \n>>from trade.nse import NSEStock\n>>stock = NSEStock(\"RELIANCE\", \"17-May-2024\")\n>>stock.symbol == \"RELIANCE\"\nTrue \n>>stock.curr_ohlc \n# Will Display Reliance's latest Bhav \n{\n\"open\": 2860.7,\n\"low\": ...,\n\"high\":...,\n \"close\": ...,\n \"volume\": ...\n \"pct_change\": ...\n}\n```\n\n`AllNSEStocks` uses `NSEStock` module underneath to utilize stock functions.\n\n```python\n>>from trade.nse import AllNSEStocks\n>>all_stocks = AllNSEStocks(\"17-May-2024\", [\"RELIANCE\", \"SBIN\"])\n>>all_stocks.symbols[0] == \"RELIANCE\"\nTrue\n>>all_stocks.symbols[1] == \"SBIN\"\nTrue \n>>all_stocks.symbols[0].curr_ohlc\n# Will Display Reliance's latest Bhav \n{\n\"open\": 2860.7,\n\"low\": ...,\n\"high\":...,\n \"close\": ...,\n \"volume\": ...\n \"pct_change\": ...\n}\n```\n\n\n### Documentation\n\nFor detailed documentation, examples, and API reference, please visit the \n[market-generic \nGitHub repository](https://github.com/sharmasourab93/market-generic).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Generic Python Package for Stock Market Analysis and Trading",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/sharmasourab93/market-generic"
    },
    "split_keywords": [
        "market",
        " trade",
        " analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca3067008fa80a410d2dd8c97d947cfd02ab9d9bdf28bf0436649b0c1173bec2",
                "md5": "54245bb1965a0ff289bd834d26cd76c8",
                "sha256": "fa846bf1c51369033185f719ffafd0d60b265e0bb5a6541410039a76cd97568e"
            },
            "downloads": -1,
            "filename": "market_generic-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "54245bb1965a0ff289bd834d26cd76c8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 47712,
            "upload_time": "2024-06-16T18:09:27",
            "upload_time_iso_8601": "2024-06-16T18:09:27.895360Z",
            "url": "https://files.pythonhosted.org/packages/ca/30/67008fa80a410d2dd8c97d947cfd02ab9d9bdf28bf0436649b0c1173bec2/market_generic-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8629d703f2fb9eda64c41ab9b8151125cd0dfec517f743b62651ef1a160d0d7f",
                "md5": "e767c84c8f86335eb691ba0b50eaea39",
                "sha256": "8d8fe49c880c709d61803fd68a673c772cb4d4413aa500f40773a6e46534451b"
            },
            "downloads": -1,
            "filename": "market_generic-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e767c84c8f86335eb691ba0b50eaea39",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 32776,
            "upload_time": "2024-06-16T18:09:29",
            "upload_time_iso_8601": "2024-06-16T18:09:29.493865Z",
            "url": "https://files.pythonhosted.org/packages/86/29/d703f2fb9eda64c41ab9b8151125cd0dfec517f743b62651ef1a160d0d7f/market_generic-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-16 18:09:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sharmasourab93",
    "github_project": "market-generic",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "market-generic"
}
        
Elapsed time: 0.43618s