FUTU HK Help Center-What is OpenAPI
English
Back
Open Account

What is OpenAPI

1. Introduction

OpenAPI provides a wide variety of market data and trading services for your programmed trading to meet the needs of every developer's programmed trading and help your Algo dreams.

 

2. Account

OpenAPI involves two types of accounts, Futu ID and universal account.

2.1 Futu ID

The user account ID can be used for logging into APP and OpenAPI. You can use your user account ID and login password to log in and obtain market data.

2.2 Universal Account

Universal account allows trading across multiple markets (including Hong Kong stocks, US stocks, A-shares, and funds) in various currencies. There's no need for multiple accounts.

Universal Accounts come in two forms:

  • Securities Universal Account: Trade stocks, ETFs, options, and other securities across different markets.

  • Futures Universal Account: Trade futures, including Hong Kong, US CME Group, Singapore, and Japanese futures.

 

3. Functionality

There are 2 functions of OpenAPI: quotation and trading.

3.1 Quotation Functions

3.1.1 Quotation Data Categories

Including stocks, indices, options and futures from HK, US and A-share markets. Find the specific types of support in the table below. 

Market

Contract

Users

HK Market

Stocks, ETFs, warrants, CBBCs.Inline Warrants

Options

Futures

Indices

Plates

US Market

NYSE, NYSE-American and Nasdaq listed equities, ETFs

OTC Securities

×

Options

Futures

Indices

×

Plates

A-share

Market

Stocks, ETFs

Indices

Plates

Singapore

Market

Stocks, ETFs, structured warrants, business trusts, REITs, DLCs

×

Futures

×

Japanese

Market

Stocks, ETFs, REITs

×

Futures

×

 

3.1.2 Method to Obtain Market Data

● Subscribe and receive pushed real-time quote, candlestick, tick-by-tick and order book.

● Request for the latest market snapshot, historical candlesticks etc.

3.2 Trading Functions

3.2.1 Trading Capacity

The available trading capacities include: stocks, options and futures from HK, US, A-share, Singapore and Japanese markets. Find the specific types of support in the table below.

Market

Contract

Paper

Trading

Live Trading

FUTU HK

Moomoo US

Moomoo SG

Moomoo AU

HK Market

Stocks, ETFs, warrants, CBBCs.Inline Warrants

Options

×

×

×

Futures

×

×

×

US Market

NYSE, NYSE-American and Nasdaq listed equities, ETFs

Options

×

Futures

×

×

A-share

Market

HKCC stocks, ETFs

×

Non-HKCC stocks

×

×

×

×

Singapore

Market

Stocks, ETFs, structured warrants, business trusts, REITs, DLCs

×

×

×

×

×

Futures

×

×

Japanese

Market

Stocks, ETFs, REITs

×

×

×

×

×

Futures

×

×

×

3.2.2 Method of Trading

The trading interfaces are used for both live trading and paper trading.

 

4. Features

4.1 Full platform and multi-language

● Futu OpenD supports Windows, MacOS, CentOS, Ubuntu

● Futu API supports Python, Java, C#, C++, JavaScript, etc.

4.2 Stable speed and free transaction

● Stable technical architecture, directly connected to the exchanges

● The fastest order is 0.0014s

● There is no additional charge for trading via OpenAPI

4.3 Abundant investment varieties

● Support real-time quote, live trading, and paper trading in HK, US, and CN markets

4.4 Professional institutional services

● Customized market data and trading solutions

 

5. Technical Structure

OpenAPI includes Futu API and Futu OpenD program. To use Futu API, the gateway program Futu OpenD should be started locally or in the cloud. This program exposes the interface in a custom TCP protocol, which has nothing to do with the programming language. Considering convenience, Futu has packaged API SDKs for different programming languages for third parties to use.

For more details, please go to the the API Doc.

Options trading entails significant risk and is not appropriate for all customers. It is important that investors read Characteristics and Risks of Standardized Options before engaging in any options trading strategies. Options transactions are often complex and may involve the potential of losing the entire investment in a relatively short period of time. Certain complex options strategies carry additional risk, including the potential for losses that may exceed the original investment amount. Supporting documentation for any claims, if applicable, will be furnished upon request.

Futures live trading is currently only available for trading accounts with Moomoo SG or FUTU HK and is not yet supported by accounts with Moomoo US or Moomoo AU. Futures trading involves high risks and is not suitable for all investors. The amount you could lose may be greater than your initial investment.

Losses can happen more quickly with quant and algorithmic trading compared to other forms of trading. Trading in financial markets carries inherent risks, making effective risk management a crucial aspect of quantitative trading systems. These risks encompass various factors that can disrupt the performance of such systems, including market volatility leading to losses.

Moreover, quants face additional risks such as capital allocation, technology, and broker-related uncertainties. It's important to note that automated investment strategies do not guarantee profits or protect against losses.

The responsiveness of the trading system or app may vary due to market conditions, system performance, and other factors. Account access, real-time data, and trade execution may be affected by factors such as market volatility.

This presentation is for informational and educational use only and is not a recommendation or endorsement of any particular investment or investment strategy. Investment information provided in this content is general in nature, strictly for illustrative purposes, and may not be appropriate for all investors. It is provided without respect to individual investors’ financial sophistication, financial situation, investment objectives, investing time horizon, or risk tolerance. You should consider the appropriateness of this information having regard to your relevant personal circumstances before making any investment decisions. Past investment performance does not indicate or guarantee future success. Returns will vary, and all investments carry risks, including loss of principal. Our platform makes no representation or warranty as to its adequacy, completeness, accuracy or timeliness for any particular purpose of the above content.