webull-inc / openapi-python-sdk

Apache License 2.0
29 stars 3 forks source link

Webull OpenAPI Python SDK

Webull OpenAPI aims to provide quantitative trading investors with convenient, fast and secure services. Webull aims to help every quant traders achieve flexible and changeable trading or market strategies.

The main function:

Trading management: create, modify, cancel orders, etc.

Market information: You can query stocks/ETFs and other related market information through the HTTP interface.

Account Information: Query account balance and position information.

Subscription to real-time information: Subscribe to order status changes, market information, etc.

Requirements

Market Link
HK https://www.webull.hk
US https://www.webull.com

Interface Protocol

The bottom layer of Webull OpenAPI provides three protocols, HTTP / GRPC / MQTT, to support functions and features like trading, subscriptions for changes of order status and real-time market quotes.

Protocol Description
HTTP It mainly provides interface services for data such as tradings, accounts, candlestick charts, snapshots, etc.
GRPC 1. Provide real-time push messages for order status changes.
2. Provide data query support for the market interface.
MQTT Provides data services for real-time market conditions.

Developer documentation

Market Link
HK https://developer.webull.hk/api-doc/
US https://developer.webull.com/api-doc/