跳转到内容

获取券商席位 ID

该接口用于获取券商席位 ID 数据 (可每天同步一次)。

CLI安装 CLI

bash
# 港股所有做市商券商 ID 和名称
longbridge participants
Info

Request

Request Example

Response

Response Properties

NameTypeDescription
participant_broker_numbersobject[]券商席位
∟ broker_idsint32[]券商对应的多个席位 ID
∟ participant_name_cnstring券商名称 (简)
∟ participant_name_enstring券商名称 (英)
∟ participant_name_hkstring券商名称 (繁)

Protobuf

protobuf
message ParticipantBrokerIdsResponse {
  repeated ParticipantInfo participant_broker_numbers = 1;
}

message ParticipantInfo {
  repeated int32 broker_ids = 1;
  string participant_name_cn = 2;
  string participant_name_en = 3;
  string participant_name_hk = 4;
}

Response JSON Example

json
{
  "participant_broker_numbers": [
    {
      "broker_ids": [7738, 7739],
      "participant_name_cn": "华兴金融 (香港)",
      "participant_name_en": "China Renaissance(HK)",
      "participant_name_hk": "華興金融 (香港)"
    },
    {
      "broker_ids": [6390, 6396, 6398, 6399],
      "participant_name_cn": "国信 (香港)",
      "participant_name_en": "Guosen(HK)",
      "participant_name_hk": "國信 (香港)"
    },
    {
      "broker_ids": [3168, 3169],
      "participant_name_cn": "泰嘉",
      "participant_name_en": "Tiger",
      "participant_name_hk": "泰嘉"
    }
  ]
}

错误码

协议错误码业务错误码描述排查建议
3301600无效的请求请求参数有误或解包失败
3301606限流降低请求频次
7301602服务端内部错误请重试或联系技术人员处理