Metadata-Version: 2.1
Name: pyschwab
Version: 0.0.1
Summary: A Python library for the Schwab trading API
Home-page: https://github.com/hzheng/pyschwab
License: MIT
Keywords: schwab,trading,api,finance
Author: Hui Zheng
Author-email: xyz.dll@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business :: Financial
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: holidays (>=0.48,<0.49)
Requires-Dist: pydantic (>=2.7.1,<3.0.0)
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Project-URL: Documentation, https://pyschwab.readthedocs.io
Project-URL: Repository, https://github.com/hzheng/pyschwab
Description-Content-Type: text/markdown


# Schwab API Python Library

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

A Python library for interacting with the Schwab API. This library provides a simple and convenient way to access Schwab's financial data and services programmatically.

## Installation

You can install the library using pip:

```bash
pip install schwab-api
```

## Usage

Here's a basic example of how to use the library:

```python
from schwab_api import SchwabClient

# Initialize the client
client = SchwabClient(api_key='your_api_key')

# Get account information
account_info = client.get_account_info()
print(account_info)

# Place a trade
trade_response = client.place_trade(symbol='AAPL', quantity=10, order_type='buy')
print(trade_response)
```

## Features

- Retrieve account information
- Place trades
- Check order status
- Access market data
- And more...

## Documentation

For detailed usage and API reference, please refer to the [Documentation](https://github.com/yourusername/schwab-api/wiki).

## Contributing

We welcome contributions! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) file for more information.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgements

- Special thanks to the Schwab API team for providing the API and documentation.
- Inspired by other financial API libraries.

## Contact

For any questions or issues, please open an issue on GitHub or contact us at [your.email@example.com].

---

**Note:** Replace placeholders such as `your_api_key`, `yourusername`, and `your.email@example.com` with your actual details.

---

## License

MIT License

```
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.
```

