sbd-npm 1.5.57 → 1.5.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/util.js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.5.57",
3
+ "version": "1.5.59",
4
4
  "description": "Stock Big Data",
5
5
  "author": "DHQ <dhq314@gmail.com>",
6
6
  "license": "ISC",
package/util.js CHANGED
@@ -629,14 +629,13 @@ const Util = {
629
629
  html.push("<td class='hk_industry'>", item.industry, "</td>");
630
630
  html.push("<td>", Util.map_url(item.province_city), "</td>");
631
631
  html.push("<td>", Util.to_float((item.pe_ttm ? item.pe_ttm : item.pe), 2), "</td>");
632
- html.push("<td>", Util.to_float(item.pb, 2), "</td>");
633
- html.push("<td>", Util.to_float(item.total_shares, 2), "亿</td>");
634
632
  html.push("<td>", Util.to_float(item.market_capital, 3), "亿</td>");
635
633
  html.push("<td class='price_", item.code, "'>", item.price, "</td>");
636
634
  html.push("<td>", Util.year_price_rate(item.price, item.year_price), "</td>");
637
635
  html.push("<td>", Util.year_price_rate(item.price, item.d5_price), "</td>");
638
636
  html.push("<td>", Util.digit_compare_trend(item.high_52week, item.price), "</td>");
639
637
  html.push("<td>", Util.digit_compare_trend(item.low_52week, item.price), "</td>");
638
+ html.push("<td>", Util.pack_holder_num(item), "</td>");
640
639
  return html;
641
640
  },
642
641
 
@@ -3337,6 +3336,9 @@ const Util = {
3337
3336
  */
3338
3337
  pack_holder_num: function (item) {
3339
3338
  let holder_info = "--";
3339
+ if (item.snowball_follower && item.code && Util.is_hk(item.code)) {
3340
+ return item.snowball_follower;
3341
+ }
3340
3342
  if (item.holder_num && item.holder_num > 0) {
3341
3343
  if (item.pre_holder_num && item.pre_holder_num > 0) {
3342
3344
  holder_info = Util.digit_compare_trend(item.holder_num, item.pre_holder_num);