Skip to content
项目

关于

一个简单且轻量的 Charles Schwab API 封装库。

商业与金融

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
+3
15天
+8
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Schwabdev

PyPI - Version Discord PyPI - Downloads Donate YouTube Video Views
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:

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

  1. Fork this repository.
  2. Create a branch off of dev for your change (e.g. git checkout -b my-fix dev).
  3. Make your change and commit it with a clear, descriptive message.
  4. Push your branch to your fork.
  5. Open a Pull Request against the dev branch (not main) 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.

探索相关项目

加载中…