FUTU HK Help Center-How to Set Trigger Conditions to Run a Strategy
English
Back
Open Account
Clear
All
Quotes
News
Learn
Help
All
HK
US
CN
SG
AU
JP
CA
MY
All
News
Announcements
Reports
No matches yet
Operations too frequent. Please try again later.
Please check network settings and try again Refresh Refresh
Loading
History record
    Latest News
      Quotes More
      News More
      Learn More
      Help More
      Loading
      News More
      Announcements More
      Reports More

      How to Set Trigger Conditions to Run a Strategy

      Trigger conditions are essential for running strategies during backtesting and live trading. The following are some of the trigger conditions provided in Algo trading:

      1. Real-time quotes

      1.1 Run once per candle

      If you select "Run once for every 1h candle," the strategy will start at the beginning of each hour's candle instead of its end. This means the strategy will always run at the start of the trading day, coinciding with the first 1-hour candle. But it won't run at the end of the trading day. Please note that at the beginning of each candle, it's still incomplete, so only one price is available. Thus, the highest, lowest, opening, and closing prices of the latest candle will all equal the opening price.

      1.2 Run once for every tick

      A tick shows the details of a trade.

      By selecting this option, the strategy will run once for every tick.

      The frequency of the trigger depends on the underlying security's trading activity. If the security is highly active, the strategy will run more frequently. This trigger condition is ideal for real-time monitoring of a specific security to avoid missing any quotes.

      Note: The tick data in backtesting is simulated based on 1-minute candles (with four trades per minute) and not actual past tick data.

       

      2. Time intervals

      If you set it to run once every 2 seconds, for example, the strategy will execute every 2 seconds, regardless of the underlying security's trading status.

      3. Specific time

      If you set it to run at a specific time, such as 15:50:00 ET, the strategy will run once daily at that specified time, regardless of the underlying security's trading status. This trigger condition is typically used for scenarios like "performing operations before market close each day" or "rebalancing portfolio each day".

      Market Insights

      Market Hot Picks Market Hot Picks
      Unlock Now

      Discussing

      關稅風暴暫離高壓區!市場能否迎來反彈?
      當地時間4月22日,美國總統特朗普公開承認美國目前對中國出口商品的關稅過高,預計稅率將大幅降低;美國財政部長貝森特也表示中美雙方關稅戰將很快降溫。4月25日,特朗普表示將爲不同國家設定「公平的」關稅稅率。特朗普此次對華關稅態度的轉變,能否平息市場恐慌情緒?關稅拉鋸戰最終結局如何? Show More