Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

my_schwab-1.0.8.tar.gz (34.5 kB view hashes)

Uploaded Source

Built Distribution

my_schwab-1.0.8-py3-none-any.whl (40.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page