Schwabdev
Schwabdev is an easy and lightweight python wrapper for using the Charles Schwab API.
This package is not affiliated with or endorsed by Schwab, it is maintained by Tyler Bowers & Contributors.
Licensed under the MIT license. Acts in accordance with Schwab's API terms and conditions.
Setup Guide: Start Here
Useful links:
- Join the Discord to ask questions or get help.
- Read the Documentation.
- Watch the Youtube tutorial.
- Chat with the Schwabdev Claude assistant.
- View the PyPi package page.
- View the Github repository.
What can this program do?
- Automatic token management and refreshes.
- Authenticate and access the full api with minimal code. Examples.
- Stream real-time data with a customizable response handler Examples.
- Place orders and get order details Examples.
- Backtest and deploy strategies with the Trader Context submodule. (Beta)
- Support for Synchronous and Asynchronous programming Examples.
- Optional token database encryption for security Example.
- Optional automatic starting/stopping of streamer when market opens/closes.
- Streaming stability with automatic restarts if the streamer crashes.
How to Contribute
- Fork this repository.
- Create a branch off of
devfor your change (e.g.git checkout -b my-fix dev). - Make your change and commit it with a clear, descriptive message.
- Push your branch to your fork.
- Open a Pull Request against the
devbranch (notmain) of this repository.
Keep each PR focused on a single change so it's easy to review. If you're fixing a bug or adding a feature, a short description of the problem/motivation in the PR description helps a lot.
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.
Metadata
Release files for schwabdev 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| schwabdev-4.0.0.tar.gz | 37.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| schwabdev-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.4 kB
Release files / schwabdev-4.0.0.tar.gz
| Download URL | schwabdev-4.0.0.tar.gz |
|---|---|
| Size | 37.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38367d31e1b69a4230442bff24663035d1a8bcce777c66e2875bb37c15460887
|
|
BLAKE2b-256 checksum How to use checksums |
4885e5556c9690c38172ad69a71a80a1a4358a145ec1eb89981bd5feaf135e6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 9, 2026.
Transparency logRelease files / schwabdev-4.0.0-py3-none-any.whl
| Download URL | schwabdev-4.0.0-py3-none-any.whl |
|---|---|
| Size | 28.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd3ad2eb612d6b11a61f64b520a3a3662927b28d5c7d4efc98964afcb184bbd3
|
|
BLAKE2b-256 checksum How to use checksums |
8cc8664aa7f4178a1b8408c1f6301eab2658b4d4a7ca40a29fc1015d49780c99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 9, 2026.
Transparency log