跳轉到內容

異動股票(Top Movers)

獲取價格波動超過近 20 個交易日標準差的異動股票,系統自動關聯相關新聞解讀異動原因。

CLI
longbridge top-movers
longbridge top-movers --market HK --sort time

Parameters

SDK 方法參數。

NameTypeRequiredDescription
marketsstring[]市場列表:HKUSCNSG;不傳返回所有市場
sortinteger排序方式:0=時間(最新優先),1=漲跌幅,2=熱度(默認)
datestring指定日期,格式 YYYY-MM-DD;不傳返回最新數據
limitinteger返回條數,默認 20

Request Example

Response

Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {
    "events": [
      {
        "stock": {
          "code": "TSLA",
          "counter_id": "ST/US/TSLA",
          "name": "特斯拉",
          "change": "-0.0388",
          "last_done": "404.110",
          "market": "US",
          "labels": ["汽車製造商"],
          "logo": "https://assets.lbkrs.com/ticker/ST/US/TSLA.png",
          "trade_status": 0
        },
        "timestamp": "1779202097",
        "alert_reason": "波動超 20 日均值",
        "alert_type": 11,
        "post": null
      }
    ],
    "next_params": {
      "visited": ["11098290", "11098478", "11099705"]
    }
  }
}

Response Status

StatusDescriptionSchema
200成功TopMoversResponse
400請求錯誤None

Schemas

TopMoversResponse

NameTypeRequiredDescription
eventsobject[]false異動股票列表
∟ stockobjectfalse股票基本信息
∟ ∟ codestringfalse股票代碼(如 TSLA
∟ ∟ counter_idstringfalseCounter ID(如 ST/US/TSLA
∟ ∟ namestringfalse證券名稱
∟ ∟ changestringfalse漲跌幅(如 -0.0388
∟ ∟ last_donestringfalse最新成交價
∟ ∟ marketstringfalse市場:USHKCNSG
∟ ∟ labelsstring[]false行業 / 主題標籤
∟ ∟ logostringfalseLogo 圖片 URL
∟ ∟ trade_statusintegerfalse交易狀態碼
∟ timestampstringfalse異動時間(Unix 秒,字符串格式)
∟ alert_reasonstringfalse異動原因描述
∟ alert_typeintegerfalse異動類型代碼
∟ postobjectfalse關聯新聞文章(複雜對象,包含 titledescription_htmlpublished_at 等字段;無關聯新聞時為 null
next_paramsobjectfalse翻頁參數對象,傳入下次請求以獲取下一頁