Skip to content

Real-time Ticker

GET /api/v1.0/quote/{symbol}/rt-ticker

Get tick-by-tick trade data for a symbol. Returns the latest N trade details, including price, volume, buy/sell direction, trade type and session.

Parameters

NameTypeInRequiredDescription
symbolstringpathyesSymbol code, e.g. HK.00700.
numintquerynoNumber of ticks to return, default 500, range 1~750.
periodstring[]querynoFilter by session; pass multiple values with the same key, e.g. ?period=BEFORE&period=AFTER; omit for all sessions. See enum period_type.

Request Example

bash
curl -s "https://webapi.moomoo.com/api/v1.0/quote/HK.00700/rt-ticker?num=3" \
  -H "X-Futu-Client-Nnid: 76879657" | jq

Response Fields

Returns top-level fields + ticker_list array + volume_precision.

Top-level Fields

FieldTypeDescription
codestringSymbol code
namestringEnglish name
sc_namestringSimplified Chinese name
tc_namestringTraditional Chinese name
last_closefloatPrevious close price (for client-side change calculation)
volume_precisionintVolume precision n. Backend scales each ticker's volume by 10^n; regular stocks are usually 0, event contracts / perpetual contracts and other high-precision categories are non-0; divide by 10^n to restore

ticker_list[] Elements

FieldTypeDescription
sequenceintTick-by-tick sequence number (int64, monotonically increasing, can be used for dedup / incremental fetch)
timeintTrade time, millisecond timestamp
pricefloatTrade price
volumeintTrade volume (restore per volume_precision)
turnoverfloatTrade turnover
ticker_directionstringBuy/sell direction. See ticker_direction enum below
tick_typestringTick-by-tick trade type (trade method). See tick_type enum below
period_typestringSession the tick belongs to. See enum period_type
trade_typestringExchange trade type (ASCII character), display directly in UI, e.g. US P=Pre-market / T=Form-T / U=Cancel; HK / A-shares may be empty

Enum ticker_direction (Buy/sell direction)

ValueMeaning
BUYBuy
SELLSell
NEUTRALNeutral (cannot determine active side)

Enum tick_type (Tick-by-tick trade type)

ValueMeaning
UNKNOWNUnknown
AUTO_MATCHAuto-match trade (most common for HK)
LATELate trade
NON_AUTO_MATCHNon-auto-match trade
ODD_LOTOdd lot trade
AUCTIONAuction trade
BULKBlock trade
OVERSEASOverseas trade
UNAUTO_MATCH_OFFNon-auto-match off-exchange
NON_DIRECT_OFFNon-direct off-exchange
OVERSEAS_OFFOverseas off-exchange
AUTO_MATCH_OFFAuto-match off-exchange
BULK_OFFBlock trade off-exchange
LATE_OFFLate trade off-exchange
AUCTION_OFFAuction off-exchange
ODD_LOT_OFFOdd lot off-exchange
EVENINGEvening trade
ACCEPT_ELECTRONICAccept electronic
OUT_HOUR_CONTRACTAfter-hours contract trade
BANK_CHARGECCASS charge
ELECTRONICElectronic trade
HIGH_DENSITYHigh density trade
INTERMEDIATE_PRICEIntermediate price trade
AT_AUCTIONAt-auction trade
AUCTION_LIMITAuction limit trade
AT_AUCTION_LIMITAt-auction limit
ENHANCE_LIMITEnhanced limit
HOT_QUOTEReal-time quote
MARKETMarket order
ROUND_LOTRound lot
SPECIAL_LOTSpecial lot
ODD_AND_SPECIAL_LOTOdd and special lot

Supported Markets

  • Code must use a supported market prefix from the 5 markets listed below; otherwise returns invalid_symbol.
  • Only returns the latest N trades, does not support time range filtering; for historical tick-by-tick data by time range, use other history APIs.

Supported market prefixes and categories:

PrefixMarketSupported Categories
HKHong KongEquity / Trust / REIT / Warrant / CBBC / Inline Warrant / Index / Sector / ETF / Option
USUnited StatesEquity / ETF / Index
SHShanghaiEquity / ETF / Index / Sector
SZShenzhenEquity / ETF / Index / Sector
BJBeijingEquity / Index

Error Codes

ret_codeerror.codeTrigger ConditionRecommended Action
-3invalid_parametersymbol format invalid / num out of range / period value not in enumCorrect parameters and retry
-7invalid_symbolsymbol format valid but corresponding security not foundUse search API to confirm code validity
-5internal_errorBFF request construction or backend call failedRetry; if persistent, contact gateway support
positivebackend_biz_errorBackend business error (e.g. unsubscribed, insufficient permission)Follow ret_msg instructions; permission issues require enabling the corresponding market

Response Example

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "code": "HK.00700",
    "name": "TENCENT",
        "sc_name": "腾讯控股",
        "tc_name": "騰訊控股",
    "last_close": 481.6,
    "ticker_list": [
      {
        "sequence": 7647056964060558023,
        "time": 1780469195226,
        "price": 465.8,
        "volume": 100,
        "turnover": 46580,
        "ticker_direction": "SELL",
        "tick_type": "LATE",
        "period_type": "NORMAL",
        "trade_type": " "
      },
      {
        "sequence": 7647056964060558022,
        "time": 1780469195104,
        "price": 465.8,
        "volume": 500,
        "turnover": 232900,
        "ticker_direction": "SELL",
        "tick_type": "LATE",
        "period_type": "NORMAL",
        "trade_type": " "
      },
      {
        "sequence": 7647056964060558021,
        "time": 1780469195062,
        "price": 465.8,
        "volume": 100,
        "turnover": 46580,
        "ticker_direction": "BUY",
        "tick_type": "AUTO_MATCH",
        "period_type": "NORMAL",
        "trade_type": " "
      }
    ],
    "volume_precision": 0
  }
}