schwabdev


Nameschwabdev JSON
Version 2.5.0 PyPI version JSON
download
home_pagehttps://github.com/tylerebowers/Schwab-API-Python
SummaryAn easy and lightweight wrapper for using the Charles Schwab API.
upload_time2025-01-28 19:33:38
maintainerNone
docs_urlNone
authorTyler Bowers
requires_python>=3.11
licenseMIT
keywords python schwab api client finance trading stocks equities options forex futures
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Schwabdev
![PyPI - Version](https://img.shields.io/pypi/v/schwabdev) ![Discord](https://img.shields.io/discord/1076596998150561873?logo=discord) ![PyPI - Downloads](https://img.shields.io/pypi/dm/schwabdev) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=8VDFKHMBFSC2Q&no_recurring=0&currency_code=USD) ![YouTube Video Views](https://img.shields.io/youtube/views/kHbom0KIJwc?style=flat&logo=youtube)  
This package is not affiliated with or endorsed by Schwab, it is maintained by [Tyler Bowers](https://github.com/tylerebowers) & [Contributors](https://github.com/tylerebowers/Schwabdev/graphs/contributors).   
Licensed under the MIT license. Acts in accordance with Schwab's API terms and conditions.  
Useful links:
* Join the [Discord](https://discord.gg/m7SSjr9rs9) to ask questions or get help.
* Read the [Documentation](https://tylerebowers.github.io/Schwabdev/).
* View the [PyPI](https://pypi.org/project/schwabdev/) package page.
* Watch the [Youtube](https://youtube.com/playlist?list=PLs4JLWxBQIxpbvCj__DjAc0RRTlBz-TR8) tutorials.
* View the [Github](https://github.com/tylerebowers/Schwab-API-Python) repository.

## Installation and Setup
Full setup instructions can be found in the [documentation page](https://tylerebowers.github.io/Schwabdev/?source=pages%2Fquickstart.html).  

`pip install schwabdev`  
*You may need to use `pip3` instead of `pip`*  



## What can this program do?
Automatic token management and refreshes.
Authenticate and access the full api with minimal code. [see examples](https://github.com/tylerebowers/Schwabdev/blob/main/examples/api_demo.py)
Stream real-time data with a customizable response handler [see examples](https://github.com/tylerebowers/Schwabdev/blob/main/examples/stream_demo.py)
Place orders and get order details [see examples](https://tylerebowers.github.io/Schwabdev/?source=pages%2Forders.html)
Optional capture of callback urls when callback has a port (starts webserver on this port).
Optional automatic starting/stopping of streamer when market opens/closes.
Streaming stability with automatic restarts if the streamer crashes.

### Developer Notes
The schwabdev folder contains code for main operations:   
 - `__init__.py` linker to client class.
 - `client.py` contains functions relating to api calls and requests.
 - `tokens.py` contains functions relating to token management.
 - `stream.py` contains functions for streaming data from websockets.

## Youtube Tutorials
*Github code has changed since these videos*
1. [Authentication and Requests](https://www.youtube.com/watch?v=kHbom0KIJwc&ab_channel=TylerBowers) 
2. [Streaming Real-time Data](https://www.youtube.com/watch?v=t7F2dUecgWc&list=PLs4JLWxBQIxpbvCj__DjAc0RRTlBz-TR8&index=2&ab_channel=TylerBowers) 

## MIT License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tylerebowers/Schwab-API-Python",
    "name": "schwabdev",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "python, schwab, api, client, finance, trading, stocks, equities, options, forex, futures",
    "author": "Tyler Bowers",
    "author_email": "tylerebowers@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1d/6c/56526ff5513c748e42b3b3e52d0fca965d9b9acbb755ce1762f87993c69f/schwabdev-2.5.0.tar.gz",
    "platform": null,
    "description": "# Schwabdev\n![PyPI - Version](https://img.shields.io/pypi/v/schwabdev) ![Discord](https://img.shields.io/discord/1076596998150561873?logo=discord) ![PyPI - Downloads](https://img.shields.io/pypi/dm/schwabdev) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=8VDFKHMBFSC2Q&no_recurring=0&currency_code=USD) ![YouTube Video Views](https://img.shields.io/youtube/views/kHbom0KIJwc?style=flat&logo=youtube)  \nThis package is not affiliated with or endorsed by Schwab, it is maintained by [Tyler Bowers](https://github.com/tylerebowers) & [Contributors](https://github.com/tylerebowers/Schwabdev/graphs/contributors).   \nLicensed under the MIT license. Acts in accordance with Schwab's API terms and conditions.  \nUseful links:\n* Join the [Discord](https://discord.gg/m7SSjr9rs9) to ask questions or get help.\n* Read the [Documentation](https://tylerebowers.github.io/Schwabdev/).\n* View the [PyPI](https://pypi.org/project/schwabdev/) package page.\n* Watch the [Youtube](https://youtube.com/playlist?list=PLs4JLWxBQIxpbvCj__DjAc0RRTlBz-TR8) tutorials.\n* View the [Github](https://github.com/tylerebowers/Schwab-API-Python) repository.\n\n## Installation and Setup\nFull setup instructions can be found in the [documentation page](https://tylerebowers.github.io/Schwabdev/?source=pages%2Fquickstart.html).  \n\n`pip install schwabdev`  \n*You may need to use `pip3` instead of `pip`*  \n\n\n\n## What can this program do?\nAutomatic token management and refreshes.\nAuthenticate and access the full api with minimal code. [see examples](https://github.com/tylerebowers/Schwabdev/blob/main/examples/api_demo.py)\nStream real-time data with a customizable response handler [see examples](https://github.com/tylerebowers/Schwabdev/blob/main/examples/stream_demo.py)\nPlace orders and get order details [see examples](https://tylerebowers.github.io/Schwabdev/?source=pages%2Forders.html)\nOptional capture of callback urls when callback has a port (starts webserver on this port).\nOptional automatic starting/stopping of streamer when market opens/closes.\nStreaming stability with automatic restarts if the streamer crashes.\n\n### Developer Notes\nThe schwabdev folder contains code for main operations:   \n - `__init__.py` linker to client class.\n - `client.py` contains functions relating to api calls and requests.\n - `tokens.py` contains functions relating to token management.\n - `stream.py` contains functions for streaming data from websockets.\n\n## Youtube Tutorials\n*Github code has changed since these videos*\n1. [Authentication and Requests](https://www.youtube.com/watch?v=kHbom0KIJwc&ab_channel=TylerBowers) \n2. [Streaming Real-time Data](https://www.youtube.com/watch?v=t7F2dUecgWc&list=PLs4JLWxBQIxpbvCj__DjAc0RRTlBz-TR8&index=2&ab_channel=TylerBowers) \n\n## MIT License\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An easy and lightweight wrapper for using the Charles Schwab API.",
    "version": "2.5.0",
    "project_urls": {
        "Homepage": "https://github.com/tylerebowers/Schwab-API-Python",
        "PyPI": "https://pypi.org/project/schwabdev/",
        "Source": "https://github.com/tylerebowers/Schwab-API-Python",
        "Youtube": "https://www.youtube.com/playlist?list=PLs4JLWxBQIxpbvCj__DjAc0RRTlBz-TR8"
    },
    "split_keywords": [
        "python",
        " schwab",
        " api",
        " client",
        " finance",
        " trading",
        " stocks",
        " equities",
        " options",
        " forex",
        " futures"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40671c1dab850fed66f0cbfe2892ce81b9d053b8a219a11b514856478a375bfc",
                "md5": "e8f78b4338f1d8e79e619b6bea138814",
                "sha256": "a5de4093572b4a0d20429d67e43947fcafb66ff1e8897e9a0b966115f53c3553"
            },
            "downloads": -1,
            "filename": "schwabdev-2.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e8f78b4338f1d8e79e619b6bea138814",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 19535,
            "upload_time": "2025-01-28T19:33:36",
            "upload_time_iso_8601": "2025-01-28T19:33:36.819948Z",
            "url": "https://files.pythonhosted.org/packages/40/67/1c1dab850fed66f0cbfe2892ce81b9d053b8a219a11b514856478a375bfc/schwabdev-2.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d6c56526ff5513c748e42b3b3e52d0fca965d9b9acbb755ce1762f87993c69f",
                "md5": "b23bbf9786c9f6c9e721bbf914e6190c",
                "sha256": "65f24352d98407fa53482948847dfa8ffe93c2a4b7ef678c5cdad41e33c8d649"
            },
            "downloads": -1,
            "filename": "schwabdev-2.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b23bbf9786c9f6c9e721bbf914e6190c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 20099,
            "upload_time": "2025-01-28T19:33:38",
            "upload_time_iso_8601": "2025-01-28T19:33:38.536324Z",
            "url": "https://files.pythonhosted.org/packages/1d/6c/56526ff5513c748e42b3b3e52d0fca965d9b9acbb755ce1762f87993c69f/schwabdev-2.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-28 19:33:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tylerebowers",
    "github_project": "Schwab-API-Python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "schwabdev"
}
        
Elapsed time: 0.43780s