English
Back

Operations Card - Close all positions

1. "Close All Positions Card" is implemented through a combination of APIs. It is targeted at not only orders generated in using certain quantitative strategies, but all open positions and all unfilled orders in an account.

2. "Close All Positions Card" will trigger a request to cancel orders or liquidate positions, but there's no guarantee that the request will be carried out successfully. Here is how it works:

• Liquidate all positions: All positions in the account are liquidated by placing opposite orders on a one-by-one basis.

• Cancel all orders and liquidate all positions: First, all unfilled orders in the account are cancelled, and then all positions in the account are liquidated by placing opposite orders on a one-by-one basis.

3. Order types for liquidation

Market Product Type Order Type for Liquidation
HK

Securities (including stocks, ETFs, warrants, CBBCs,

Inline Warrants)

Mkt
Options Lmt
Futures Mkt
US Securities (including stocks, ETFs) Mkt
Options Mkt
Futures Mkt
HKCC Securities (including stocks, ETFs) Lmt
Singapore Futures Lmt
Japan Futures Lmt

Note: When using a limit order to close a position, the order price will be the 5th price level of opposite orders in the order book. If there are no opposite orders under the top 5 price levels each, that position will not be closed, and the system will continue to close other positions. Suppose you hold stocks of Tencent (HK.00700). When using "Liquidate all positions Card", the price of a sell limit order will be the 5th price level of buy orders in the order book.

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.