# 实时报价推送

# 接口说明

已订阅股票的实时报价推送。

# 订阅参数

topicId:11

  • 推送消息实体
message BasicQotNotify {
    Security security = 1;
    BasicQot basicQot=2; // 基础行情返回
}
  • Security 实体
"security": [{
            "dataType": "int32 股票类型",
            "code": "string 股票代码(港股、沪深市场股票代码需要带后缀 .HK .SH .SZ)"
}]
  • BasicQot 实体
"basicQot": [ {
     "openPrice": "double 开盘价",
      "highPrice": "double 最高价",
      "lowPrice": "double 最低价",
      "lastPrice": "double 最新价",
      "lastClosePrice": "double 昨收价",
      "volume": "int64 成交量",
      "turnover": "double 成交额",
      "amplitude": "double 振幅",
      "tradeTime": "string 交易时间",
}]