No matches yet
Operations too frequent. Please try again later.
Please check network settings and try again Refresh Refresh
History record delete
    Quotes All >
      News All >
        Log in to access Online Inquiry
        Back to the Top

        What is OpenAPI

        1. Introduction

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


        2. Account

        OpenAPI involves two types of accounts, moomoo ID and trading account.

        2.1 moomoo ID

        moomoo ID is your user account (including moomoo ID), which can be used in moomoo APP and OpenAPI.
        You can use your moomoo ID and login password to log in to moomoo OpenD and obtain market data.

        2.2 Trading Account

        The trading account (also known as a brokerage account) is your securities account, which is available after opening securities accounts via the moomoo app. It is mainly used for deposits, withdrawals, margin trading and short selling all kinds of financial instruments.

        The choices of trading account include: HK trading account, US trading account, A-share market trading account, and futures trading account:

        ● HK trading account is used for trading HK market securities and options.

        ● US trading account (offered through Moomoo Financial Inc. Member FINRA/SIPC) is used for trading US market stocks, ETFs and options. 

        ● A-share market trading account is used for trading HKCC stocks.

        ● Futures trading account is used for trading futures in the global market and currently supports HKFE futures, CME Group futures, SGX futures, OSE futures.

        Tips: Under one moomoo ID, you can open trading accounts from different securities firms. That is, under one moomoo ID, there might be several trading accounts. Not all of the above-referenced types of trading accounts are available in all regions. Please visit the official website for your region for more details. Not all of the above-referenced types of trading accounts are available in all regions. Please visit the official.


        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 Type moomoo Users
        HK Market Securities(including stocks, ETFs, warrants, CBBCs. Inline Warrants)
        Futures X
        US Market Securities(Covers NYSE, NYSE-American and Nasdaq listed equities,ETFs)
        OTC Securities X
        Indices X
        A-share Market Securities(including stocks, ETFS)
        Singapore Market Securities(including stocks, ETFs, structured warrants, business trusts, REITS, DLCS) X
        Futures X
        Japanese Market Futures X

        *Futures trading is not offered by Moomoo Financial Inc. and is not available to US customers. Futures trading involves high risks and is not suitable for all investors. The amount you could lose may be greater than your initial investment.

        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.

        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

        ● moomoo OpenD supports Windows, MacOS, CentOS, Ubuntu

        ● moomoo 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 single order placing speed can reach 0.0014s

        ● There is no additional charge for trading via OpenAPI. However, other fees may apply. Please see your brokerage's pricing page for more information. 

        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


        4. Technical Structure

        OpenAPI includes moomoo API and moomoo OpenD program. To use moomoo API, the gateway program moomoo 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, Moomoo has packaged API SDKs for different programming languages for third parties to use.

        More details, click API Doc.

        Options trading subject to eligibility requirements. Strategies available will depend on options level approved. Options trading is very risky and is not appropriate for all customers. Read the Characteristics and Risks of Standardized Options (j.us.moomoo.com/00xBBz) before considering trading options. Options transactions are complex and may involve losing the entire investment in a short period of time. Supporting documentation for any claims, if applicable, will be furnished upon request.

        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, technological broker-related uncertainties. It's important to note that automated investment strategies do not guaranteeprofits 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.

        Moomoo is a financial information and trading app offered by MoomooTechnologies Inc.

        In the U.S., investment products and services available through the moomoo app are offered by Moomoo Financial Inc., a broker-dealer registered with the U.S. Securities and Exchange Commission SEC) and a member of Financial Industry Regulatory Authority (FINRA)/Securities Investor Protection Corporation (SIPC)

        In Singapore, investment products and services available through the moomoo app are offered through

        Moomoo Financial Singapore Pte. Ltd. regulated by the Monetary Authority of Singapore (MAS).Moomoo Financial Singapore Pte. Ltd. is a Capital Markets Services License (License No. CMS101000) holder with the Exempt Financial Adviser Status. This advertisement has not been reviewed by the Monetary Authority of Singapore

        In Australia, financial products and services available through the moormoo app are provided by Futu Securities (Australia) Ltd, an Australian Financial Services Licensee (AFSL No. 2246663) regulated by the Australian Securities and Investment Commission (ASIC). Please read and understand our Financial Services Guide, Terms and Conditions, Privacy Policy and other disclosure documents which are available on our websites https:/www.moomoo.com/au. Moomoo Technologies Inc. Moomoo Financial Inc., Moomoo Financial Singapore Pte. Ltd.and Futu Securities (Australia) Ltd are affiliated companies.

        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. Moomoo makes no representation or warranty as to its adequacy, completeness, accuracy or timeliness for any particular purpose of the above content.