Markets and trading · Independent · 23 Oct 2026

FutunnOpen/py-futu-api

富途 OpenAPI Python SDK

← Markets and trading
Futu API: Python trading bridge. Connects your Python code to the Futu brokerage platform.

In simple English

This library lets your computer program talk to the Futu trading platform. You can pull stock prices, view order books, and buy or sell shares automatically. It does not cost money to download, but you must have a funded brokerage account to trade real money. You also need to run a separate desktop gateway program on your computer while your script is running. If the gateway loses its connection, your automated script will stop working.

What it is

A Python software development kit (a collection of code tools that help programmers build software for a specific service) for the Futu Open API (application programming interface, a way for different programs to talk to each other). It communicates with a local desktop gateway to send commands to global stock exchanges.

What it is good for

Solo builders and traders who want to write custom stock trading strategies in Python without building a connection to a broker from scratch.

Stars1.3k
LicenceApache-2.0
LatestNo tagged releasechecked 23 Oct 2026
Last code change2026-04-01
Written inPython
Setup effort
3 / 5
Payoff
4 / 5
Good
  • Provides ready-to-use Python functions for quotes, orders, and account details.
  • Includes sample trading strategies in the source files to help you learn.
  • Apache-2.0 licence (allows you to use and modify the code freely).
Watch for
  • Requires running a proprietary desktop gateway application alongside your script.
  • Targeted specifically at one broker, so your code will not work with other brokers without a rewrite.
  • Documentation and examples are primarily written in Chinese.
Replaces

Writing custom network requests to connect to a broker's trading system

Works well with

Pandas for analysing stock price data in your Python scripts

Similar repositories
  • ccxt/ccxt45k stars

    Connects to crypto exchanges instead of stock brokers, but serves a similar purpose for automated trading.

Also reviewed on Repo Radar
  • jesse-ai/jesse8.7k stars

    A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.

  • hummingbot/hummingbot20k stars

    A free framework for writing and running automated trading programs on cryptocurrency exchanges.

  • lballabio/QuantLib7.7k stars

    The long-established free library for pricing and risk-managing financial instruments.

Install
source venv/bin/activate
pip install futu-api

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Trading & Investing › Market Data & Connectivity › Broker & Trading APIs.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.