Skip to content

Repository files navigation

Webull OpenAPI Python SDK

Note: This is the new version of the Webull SDK, currently applicable only to Webull Hong Kong, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX, Webull ZA, or Webull EU customers.

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

  • Please first generate the app key and app secret on the Webull official website.
BrokerLink
Webull HKhttps://www.webull.hk/open-api
Webull UShttps://www.webull.com/center#openApiManagement
Webull JPhttps://www.webull.co.jp/center/openapi/manage
Webull SGhttps://www.webull.com.sg/open-api-management
Webull THhttps://www.webull.co.th/open-api-management
Webull AUhttps://www.webull.com.au/open-api-management
Webull MYhttps://www.webull.com.my/open-api-management
Webull UKhttps://www.webull-uk.com/open-api-management
Webull BRhttps://www.webull.com.br/open-api-management
Webull MXhttps://www.webull.com.mx/open-api-management
Webull ZAhttps://www.webull.co.za/open-api-management
Webull EUhttps://www.webull.eu/open-api-management
  • Requires Python 3.8 through 3.14.

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.

ProtocolDescription
HTTPIt mainly provides interface services for data such as tradings, accounts, candlestick charts, snapshots, etc.
GRPC1. Provide real-time push messages for order status changes.
MQTTProvides data services for real-time market conditions.

Developer documentation

BrokerLink
Webull HKhttps://developer.webull.hk/apis/docs
Webull UShttps://developer.webull.com/apis/docs
Webull JPhttps://developer.webull.co.jp/apis/docs
Webull SGhttps://developer.webull.com.sg/apis/docs
Webull THhttps://developer.webull.co.th/apis/docs
Webull AUhttps://developer.webull.com.au/apis/docs
Webull MYhttps://developer.webull.com.my/apis/docs
Webull UKhttps://developer.webull-uk.com/apis/docs
Webull BRhttps://developer.webull.com.br/apis/docs
Webull MXhttps://developer.webull.com.mx/apis/docs
Webull ZAhttps://developer.webull.co.za/apis/docs
Webull EUhttps://developer.webull.eu/apis/docs

About

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.

Topics

Resources

Stars

57 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages