# 獲取產業板塊信息

get_industrial_plate_info(plate_id)

  • 介紹

    獲取產業板塊信息,返回指定產業板塊的簡介信息。

  • 參數

    參數 類型 說明
    plate_id int 產業板塊 ID(從 get_industrial_chain_detail 的 node_list 中獲取)(必填)
  • 返回

    參數 類型 說明
    ret RET_CODE 接口調用結果
    data dict 當 ret == RET_OK,返回字典數據
    str 當 ret != RET_OK,返回錯誤描述
    • 數據格式如下:
      字段 類型 說明
      plate_id int 產業板塊 ID
      summary str 板塊簡介
  • Example

from futu import *

quote_ctx = OpenQuoteContext(host='127.0.0.1', port=11111)

ret, data = quote_ctx.get_industrial_plate_info(plate_id=10010508)
if ret == RET_OK:
    for k, v in data.items():
        print(f"{k}: {v}")
else:
    print('error:', data)

quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
11
12
  • Output
plate_id: 10010508
summary: N/A
1
2

接口限制

  • 30 秒內最多 60 次請求
  • 分頁請求僅首頁計入限頻統計