A Python package to interact with the Charles Schwab API.
Project description
Schwab
About
The my-schwab
API client is a Python package that provides a convenient way to interact with the Schwab API. It allows you to access your Schwab account information, fetch account details, place orders, and retrieve order history. With this client, you can easily integrate Schwab functionality into your Python applications and automate trading strategies. It provides a simple and intuitive interface, making it easy to get started with the Schwab API. Start using the my-Schwab
API client today and take control of your Schwab account programmatically.
Installation
You can install the my-schwab
package using pip. Open your terminal and type:
pip install my-schwab
from schwab import Client
# fetch will fetch your current account and positions
client = Client(fetch=True)
client.place_order('AAPL', qty=1, order_type='limit', side='buy')
orders = client.get_orders()
transactions = client.get_transactions()
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for my_schwab-1.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558b8c6d67eb602f50bbfc121db09d7f8e25e5fc35b2db5c0c05186523c8d8b0 |
|
MD5 | 49ef469d249e2384ede24aaf9cef6a7e |
|
BLAKE2b-256 | 04dfed66f3725cd111b39f366a07c898871976dd8aa4942462d6955877d93122 |