跳转到主要内容
GET
/
api
/
market-data
/
market
/
top_movers
获取热门异动
curl --request GET \
  --url https://openapi.fcontext.com/api/market-data/market/top_movers \
  --header 'x-api-key: <api-key>'
{
  "topMovers": {
    "events": [
      {
        "timestamp": "<string>",
        "alertReason": "<string>",
        "alertType": 123,
        "stock": {
          "symbol": "<string>",
          "code": "<string>",
          "name": "<string>",
          "lastDone": "<string>",
          "change": "<string>"
        },
        "post": "<unknown>"
      }
    ],
    "nextParams": "<unknown>"
  }
}

授权

x-api-key
string
header
必填

在账户设置中生成的 Financial Context key。请以 x-api-key: <key> 形式发送。

查询参数

market
string

单个市场代码。省略时返回所有市场。

markets
string

逗号分隔的市场代码。优先级高于 market

sort
string
默认值:hot

排序模式:hot(默认)、timechange;也接受 0/1/2

date
string<date>

目标日期 YYYY-MM-DD;省略时返回最新数据。

count
integer
默认值:20

要返回的记录数,默认 20,最大 100。

必填范围: 1 <= x <= 100

响应

热门异动

topMovers
object