sbd-npm 1.2.25 → 1.2.28
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.
- package/package.json +1 -1
- package/sbd.css +4 -0
- package/stock_basics.js +5 -1
- package/util.js +1 -1
- package/.npmignore +0 -1
package/package.json
CHANGED
package/sbd.css
CHANGED
package/stock_basics.js
CHANGED
@@ -357,13 +357,15 @@ let Stock = {
|
|
357
357
|
Util.init_table_skeleton({
|
358
358
|
"element_id": "big_deal_table",
|
359
359
|
"head_cols": [
|
360
|
-
{"name": "时间", "table_sort": 1},
|
360
|
+
{"name": "时间", "table_sort": 1, "class": "info"},
|
361
361
|
{"name": "收盘价", "table_sort": 1},
|
362
362
|
{"name": "主力净流入", "table_sort": 1, "title": "超大单净流入 + 大单净流入"},
|
363
363
|
{"name": "超大单净流入", "table_sort": 1},
|
364
364
|
{"name": "大单净流入", "table_sort": 1},
|
365
365
|
{"name": "中单净流入", "table_sort": 1},
|
366
366
|
{"name": "小单净流入", "table_sort": 1},
|
367
|
+
{"name": "成交量", "table_sort": 1},
|
368
|
+
{"name": "成交额", "table_sort": 1},
|
367
369
|
]
|
368
370
|
});
|
369
371
|
Util.post("/stock/" + Stock.code, {action: "big_deal"}, function (j) {
|
@@ -400,6 +402,8 @@ let Stock = {
|
|
400
402
|
_html.push("<td data-val='", item["big_net_inflow"], "'><b class='", Util.text_color(item["big_net_inflow"]), "'>", Util.to_unit(item["big_net_inflow"]), "</b></td>");
|
401
403
|
_html.push("<td data-val='", item["middle_net_inflow"], "'><b class='", Util.text_color(item["middle_net_inflow"]), "'>", Util.to_unit(item["middle_net_inflow"]), "</b></td>");
|
402
404
|
_html.push("<td data-val='", item["small_net_inflow"], "'><b class='", Util.text_color(item["small_net_inflow"]), "'>", Util.to_unit(item["small_net_inflow"]), "</b></td>");
|
405
|
+
_html.push("<td class='volume-td'>", Util.to_float(item["volume"] / 10000, 2), "万手</td>");
|
406
|
+
_html.push("<td class='amount-td'>", Util.to_hundred_million(item["amount"]), "亿</td>");
|
403
407
|
_html.push("</tr>");
|
404
408
|
});
|
405
409
|
Util.render_table_html("big_deal_table_body", _html);
|
package/util.js
CHANGED
@@ -2458,8 +2458,8 @@ const Util = {
|
|
2458
2458
|
let end_id = prefix + "_end_date";
|
2459
2459
|
let nth_day = 0;
|
2460
2460
|
if (!Util.regexp_date_yyyy_mm_dd(start_date)) {
|
2461
|
-
start_date = "";
|
2462
2461
|
nth_day = start_date;
|
2462
|
+
start_date = "";
|
2463
2463
|
}
|
2464
2464
|
if (!Util.regexp_date_yyyy_mm_dd(end_date)) {
|
2465
2465
|
end_date = "";
|
package/.npmignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
sbd-npm.md
|