code: def get_plate_stock(self, plate_code):
          
          if plate_code is None or is_str(plate_code) is False:
              error_str = ERROR_STR_PREFIX + "the type of code is wrong"
              return RET_ERROR, error_str
  
          query_processor = self._get_sync_query_processor(
              PlateStockQuery.pack_req, PlateStockQuery.unpack_rsp)
          kargs = {
              "plate_code": plate_code,
              "conn_id": self.get_sync_conn_id()
          }
  
          ret_code, msg, plate_stock_list = query_processor(**kargs)
          if ret_code == RET_ERROR:
              return ret_code, msg
  
          col_list = [
              'code', 'lot_size', 'stock_name', 'stock_owner',
              'stock_child_type', 'stock_type', 'list_time', 'stock_id',
          ]
          plate_stock_table = pd.DataFrame(plate_stock_list, columns=col_list)
  
          return RET_OK, plate_stock_table
docs: 获取特定板块下的股票列表
  
          :param plate_code: 板块代码, string, 例如，”SH.BK0001”，”SH.BK0002”，先利用获取子版块列表函数获取子版块代码
          :return: (ret, data)
  
                  ret == RET_OK 返回pd dataframe数据，data.DataFrame数据, 数据列格式如下
  
                  ret != RET_OK 返回错误字符串
  
                  =====================   ===========   ==============================================================
                  参数                      类型                        说明
                  =====================   ===========   ==============================================================
                  code                    str            股票代码
                  lot_size                int            每手股数
                  stock_name              str            股票名称
                  stock_owner             str            所属正股的代码
                  stock_child_type        str            股票子类型，参见WrtType
                  stock_type              str            股票类型，参见SecurityType
                  list_time               str            上市时间（美股默认是美东时间，港股A股默认是北京时间）
                  stock_id                int            股票id
                  =====================   ===========   ==============================================================