{"id":3786,"date":"2026-03-31T07:21:00","date_gmt":"2026-03-30T23:21:00","guid":{"rendered":"https:\/\/www.laoyulaoyu.com\/?p=3786"},"modified":"2026-03-28T18:22:41","modified_gmt":"2026-03-28T10:22:41","slug":"%e5%a4%9a%e7%ad%96%e7%95%a5%e9%80%89%e8%82%a1%e6%80%bb%e6%89%93%e6%9e%b6%ef%bc%9f%e4%bd%a0%e5%8f%af%e4%bb%a5%e8%af%b7%e4%b8%80%e4%b8%aa%e6%99%ba%e8%83%bd%e4%bb%b2%e8%a3%81","status":"publish","type":"post","link":"https:\/\/laoyulaoyu.com\/index.php\/2026\/03\/31\/%e5%a4%9a%e7%ad%96%e7%95%a5%e9%80%89%e8%82%a1%e6%80%bb%e6%89%93%e6%9e%b6%ef%bc%9f%e4%bd%a0%e5%8f%af%e4%bb%a5%e8%af%b7%e4%b8%80%e4%b8%aa%e6%99%ba%e8%83%bd%e4%bb%b2%e8%a3%81\/","title":{"rendered":"\u591a\u7b56\u7565\u9009\u80a1\u603b\u6253\u67b6\uff1f\u4f60\u53ef\u4ee5\u8bf7\u4e00\u4e2a&#8221;\u667a\u80fd\u4ef2\u88c1&#8221;\u200b"},"content":{"rendered":"\n<p>\u4f5c\u8005\uff1a<a href=\"https:\/\/www.laoyulaoyu.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u8001\u4f59\u635e\u9c7c<\/a><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">\u539f\u521b\u4e0d\u6613\uff0c\u8f6c\u8f7d\u8bf7\u6807\u660e\u51fa\u5904\u53ca\u539f\u4f5c\u8005\u3002<\/mark><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"900\" height=\"383\" src=\"https:\/\/www.laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/cover-8.png\" alt=\"\" class=\"wp-image-3787\" srcset=\"https:\/\/laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/cover-8.png 900w, https:\/\/laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/cover-8-300x128.png 300w, https:\/\/laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/cover-8-768x327.png 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-verse\"><strong>\u5199\u5728\u524d\u9762\u7684\u8bdd\uff1a<\/strong>\u4f60\u6709\u6ca1\u6709\u88ab\"\u4fe1\u53f7\u6253\u67b6\"\u5751\u8fc7\uff1f\u51e0\u4e2a\u7b56\u7565\u540c\u65f6\u63a8\u540c\u4e00\u53ea\u80a1\uff0c\u6709\u7684\u8bf4\u4e70\u3001\u6709\u7684\u8bf4\u5356\u3002\u968f\u4fbf\u9009\u4e00\u4e2a\uff0c\u7ed3\u679c\u53ef\u80fd\u662f\u4e8f\u5f97\u83ab\u540d\u5176\u5999\u3002<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">\u73b0\u5728\u53ef\u4ee5\u5728\u7b56\u7565\u548c\u4ea4\u6613\u4e4b\u95f4\uff0c\u52a0\u4e00\u5c42\"\u667a\u80fd\u4ef2\u88c1\"\u3002<\/mark>\u5b83\u8d1f\u8d23\u7efc\u5408\u6240\u6709\u4fe1\u53f7\u3001\u7ed9\u4e2a\u9760\u8c31\u7ed3\u8bba\u3002\u8fd9\u4e2a\u601d\u8def\u53ef\u80fd\u4f1a\u6539\u53d8\u4f60\u7ba1\u7406\u4ea4\u6613\u7684\u65b9\u5f0f\u3002<\/pre>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u524d\u8a00\uff1a\u4f60\u7684\u7b5b\u9009\u5668\u53ef\u80fd\u5728&#8221;\u9a97&#8221;\u4f60<\/strong><\/h2>\n\n\n\n<p>\u5927\u5bb6\u7528\u80a1\u7968\u7b5b\u9009\u5668\uff0c\u6709\u6ca1\u6709\u53d1\u73b0\u4e00\u4e2a\u95ee\u9898\uff1a<strong>\u7b56\u7565\u7ed9\u7684\u4ea4\u6613\u6e05\u5355\uff0c\u4e0d\u4e00\u5b9a\u9760\u8c31\u3002<\/strong><\/p>\n\n\n\n<p>\u4e0d\u662f\u6307\u6807\u4e0d\u51c6\uff0c\u800c\u662f\u5f53\u591a\u4e2a\u7b56\u7565\u540c\u65f6\u8dd1\u7684\u65f6\u5019\uff0c\u5b83\u4eec\u4f1a\u6253\u67b6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6709\u7684\u8bf4\u4e70\uff1b<\/li>\n\n\n\n<li>\u6709\u7684\u8bf4\u5356\uff1b<\/li>\n\n\n\n<li>\u8fd8\u6709\u7684\u8bf4\u518d\u7b49\u7b49\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u5982\u679c\u968f\u4fbf\u9009\u4e00\u4e2a\u6267\u884c\uff0c\u8d44\u91d1\u5c31\u8fd9\u4e48\u7a00\u91cc\u7cca\u6d82\u5730\u88ab\u6d88\u8017\u6389\u4e86\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u6211\u60f3\u505a\u4e00\u4ef6\u4e8b\uff1a<strong>\u7b5b\u9009\u5668\u8d1f\u8d23&#8221;\u53d1\u73b0\u95ee\u9898&#8221;\uff0c\u4f46&#8221;\u62cd\u677f&#8221;\u8fd9\u6d3b\u513f\uff0c\u9700\u8981\u53e6\u4e00\u4e2a\u4eba\u3002<\/strong>&nbsp;\u6211\u7ba1\u5b83\u53eb&#8221;\u4ef2\u88c1\u5c42&#8221;\uff08Arbiter\uff09\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001\u4e3a\u4ec0\u4e48&#8221;\u4ef2\u88c1&#8221;\u662f\u5fc5\u8981\u7684\uff1f<\/strong><\/h2>\n\n\n\n<p>\u5f53\u4f60\u5728\u7528\u591a\u4e2a\u7b56\u7565\uff08\u8d8b\u52bf\u7b56\u7565\u3001\u53cd\u8f6c\u7b56\u7565\u3001\u7a81\u7834\u7b56\u7565\u7b49\uff09\u65f6\uff0c\u771f\u6b63\u7684\u5751\u4e0d\u5728\u4e8e\u67d0\u4e2a\u7b56\u7565\u9519\u4e86\u3002\u771f\u6b63\u7684\u5751\u5728\u4e8e\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th class=\"has-text-align-left\" data-align=\"left\">\u95ee\u9898<\/th><th class=\"has-text-align-left\" data-align=\"left\">\u540e\u679c<\/th><\/tr><tr><td>\u7b56\u7565\u4e4b\u95f4\u4e92\u76f8\u77db\u76fe\u65f6\u505a\u4ea4\u6613<\/td><td>\u88ab\u53cd\u590d\u6253\u8138<\/td><\/tr><tr><td>\u5f80\u558a\u5f97\u6700\u51f6\u7684\u7b56\u7565\u4e0a\u91cd\u4ed3<\/td><td>\u5355\u7b56\u7565\u98ce\u9669\u8fc7\u5927<\/td><\/tr><tr><td>\u5ffd\u7565\u4ea4\u6613\u6210\u672c<\/td><td>\u9884\u671f\u6536\u76ca\u88ab\u8695\u98df<\/td><\/tr><tr><td>\u5728\u6ce2\u52a8\u7387\u98d9\u5347\u524d\u52a0\u4ed3<\/td><td>\u56de\u64a4\u5931\u63a7<\/td><\/tr><tr><td>\u8ba9\u574f\u65e5\u5b50\u53d8\u6210\u574f\u6708\u4efd<\/td><td>\u5fc3\u6001\u5d29\u76d8<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u6211\u7684\u89c2\u70b9\u53ef\u80fd\u6709\u70b9\u4e89\u8bae\uff1a<\/strong><strong>\u4e00\u4e2a\u53ea\u51fa\u4fe1\u53f7\u3001\u6ca1\u6709\u4efb\u4f55\u4ef2\u88c1\u5c42\u7684\u7b5b\u9009\u5668\uff1a\u672c\u8d28\u4e0a\u662f\u4e2a\u73a9\u5177\u3002\u9002\u5408\u7814\u7a76\uff0c\u4e0d\u9002\u5408\u76f4\u63a5\u7528\u3002<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p>\u4ef2\u88c1\u5c42\u7684\u4f5c\u7528\u5f88\u76f4\u63a5\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>&#8220;\u8c22\u8c22\uff0c\u4f46\u4e0d\u91c7\u7eb3&#8221;\uff1b<\/li>\n\n\n\n<li>&#8220;\u53ef\u4ee5\uff0c\u4f46\u4ed3\u4f4d\u5c0f\u70b9&#8221;\uff1b<\/li>\n\n\n\n<li>&#8220;\u884c\uff0c\u4f46\u5f97\u5148\u7b97\u6e05\u695a\u80fd\u627f\u53d7\u591a\u5c11&#8221;\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u4ef2\u88c1\u5c42\u7684\u8fd0\u4f5c\u6d41\u7a0b<\/strong><\/h2>\n\n\n\n<p>\u4ea4\u6613\u6d41\u7a0b\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"907\" height=\"1024\" src=\"https:\/\/www.laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/lct-907x1024.png\" alt=\"\" class=\"wp-image-3788\" srcset=\"https:\/\/laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/lct-907x1024.png 907w, https:\/\/laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/lct-266x300.png 266w, https:\/\/laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/lct-768x867.png 768w, https:\/\/laoyulaoyu.com\/wp-content\/uploads\/2026\/03\/lct.png 1360w\" sizes=\"(max-width: 907px) 100vw, 907px\" \/><\/figure>\n\n\n\n<p>1. \u5b9a\u65f6\u89e6\u53d1\uff08\u6bcf\u5929\/\u6bcf\u5c0f\u65f6\uff0c\u6839\u636e\u4f60\u7684\u5468\u671f\u6765\uff09 \uff1b<\/p>\n\n\n\n<p>2. \u52a0\u8f7d\u5f53\u524d\u6301\u4ed3\uff08\u770b\u770b\u54ea\u4e9b\u8be5\u5e73\u4e86\uff09 \uff1b<\/p>\n\n\n\n<p>3. \u5148\u5904\u7406\u9000\u51fa\u4fe1\u53f7\uff08\u6b62\u635f\/\u6b62\u76c8\/\u65f6\u95f4\u6b62\u635f\/\u53cd\u5411\u4fe1\u53f7\uff09 \uff1b<\/p>\n\n\n\n<p>4. \u6536\u96c6\u65b0\u4fe1\u53f7\uff08\u6765\u81ea\u6240\u6709\u7b56\u7565\uff09 \uff1b<\/p>\n\n\n\n<p>5. \u767d\u540d\u5355\u8fc7\u6ee4\uff08\u53ea\u7559\u53ef\u4ea4\u6613\u6807\u7684\uff09 \uff1b<\/p>\n\n\n\n<p>6. \u4ef2\u88c1\uff1a\u628a\u591a\u4e2a\u7b56\u7565\u7684\u4fe1\u53f7\u5408\u5e76\u6210&#8221;\u6bcf\u53ea\u80a1\u7968\u4e00\u4e2a\u7ed3\u8bba&#8221; \uff1b<\/p>\n\n\n\n<p>7. \u8f93\u51fa\u63a8\u8350\u7ed3\u679c + \u8bca\u65ad\u4fe1\u606f\uff08\u65b9\u4fbf\u4ee5\u540e\u590d\u76d8\uff09 \uff1b<\/p>\n\n\n\n<p>8. \u63a8\u9001\u901a\u77e5\uff08\u5fae\u4fe1\/\u90ae\u4ef6\/\u7fa4\uff09 \uff1b<\/p>\n\n\n\n<p>9. \u6301\u4e45\u5316\u8bb0\u5f55\uff08\u91cd\u542f\u540e\u4e0d\u4f1a\u4e22\u5931\u98ce\u9669\u72b6\u6001\uff09\uff1b<\/p>\n\n\n\n<p><strong>\u6838\u5fc3\u54f2\u5b66\uff1a<\/strong>&nbsp;\u4ef2\u88c1\u5c42\u662f\u4e00\u4e2a&#8221;\u5173\u5361&#8221;\uff0c\u800c\u4e0d\u662f&#8221;\u9884\u6d4b\u6a21\u578b&#8221;\u3002<\/p>\n\n\n\n<p><strong>\u4f60\u53ef\u4ee5\u628a\u8fd9\u4e2a\u6d41\u7a0b\u903b\u8f91\u5582\u7ed9\u4f60\u7684AI\uff0c\u8ba9\u5b83\u6765\u5e2e\u4f60\u4fee\u8ba2\u4ea4\u6613\u6d41\u7a0b\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e09\u3001\u4ef2\u88c1\u5c42\u5230\u5e95\u5728&#8221;\u5224&#8221;\u4ec0\u4e48\uff1f<\/strong><\/h2>\n\n\n\n<p>\u6bcf\u53ea\u80a1\u7968\uff0c\u6211\u7528\u56db\u4e2a\u7ef4\u5ea6\u6253\u5206\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. \u65b9\u5411\u5171\u8bc6\uff08\u6295\u7968\u6bd4\u4f8b\uff09<\/strong><\/h3>\n\n\n\n<p>\u591a\u4e2a\u7b56\u7565\u540c\u65f6\u8bf4&#8221;\u505a\u591a&#8221;\uff0c\u548c\u6709\u7684\u8bf4&#8221;\u505a\u591a&#8221;\u3001\u6709\u7684\u8bf4&#8221;\u505a\u7a7a&#8221;\uff0c\u5b8c\u5168\u4e0d\u662f\u4e00\u56de\u4e8b\u3002<\/p>\n\n\n\n<p>\u6211\u7528\u4e00\u4e2a [-1, 1] \u7684\u6570\u5b57\u6765\u8868\u8fbe\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>+1<\/strong>\uff1a\u5168\u5458\u770b\u591a<\/li>\n\n\n\n<li><strong>-1<\/strong>\uff1a\u5168\u5458\u770b\u7a7a<\/li>\n\n\n\n<li><strong>0<\/strong>\uff1a\u591a\u7a7a\u57fa\u672c\u6301\u5e73<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. \u7b56\u7565\u5e7f\u5ea6\uff08\u5206\u6563\u7a0b\u5ea6\uff09<\/strong><\/h3>\n\n\n\n<p>\u5982\u679c\u53ea\u67091\u4e2a\u7b56\u7565\u63d0\u5230\u67d0\u53ea\u80a1\uff0c\u5b83\u7684\u53ef\u4fe1\u5ea6\u5c31\u6bd4\u8f83\u4f4e\u3002<\/p>\n\n\n\n<p>\u5e7f\u5ea6\u5927\u610f\u5473\u7740&#8221;\u591a\u4e2a\u72ec\u7acb\u89c6\u89d2\u90fd\u6ce8\u610f\u5230\u4e86\u8fd9\u53ea\u80a1\u7968&#8221;\uff0c\u51cf\u5c11\u8e29\u4e2d\u67d0\u4e2a\u7b56\u7565&#8221;\u62bd\u98ce\u671f&#8221;\u7684\u6982\u7387\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. \u77db\u76fe\u60e9\u7f5a\uff08\u5206\u6b67\u4ee3\u4ef7\uff09<\/strong><\/h3>\n\n\n\n<p>\u7b56\u7565\u4e4b\u95f4\u6253\u67b6\uff0c\u662f\u8981\u4ed8\u51fa\u4ee3\u4ef7\u7684\uff1a\u6765\u56de\u4ea4\u6613\u78e8\u635f\u3001\u5047\u4fe1\u53f7\u4e8f\u635f\u3001\u4ed3\u4f4d\u8ba1\u7b97\u9519\u8bef\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u6211\u7ed9\u77db\u76fe\u52a0\u4e86\u4e00\u4e2a\u60e9\u7f5a\u9879\uff1a<strong>\u4e0d\u662f\u56e0\u4e3a\u6211\u559c\u6b22\u60e9\u7f5a\uff0c\u800c\u662f\u8bda\u5b9e\u5730\u53cd\u6620\u73b0\u5b9e<\/strong>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. \u5206\u6570\u538b\u7f29\uff08\u9632\u6b62\u865a\u9ad8\uff09<\/strong><\/h3>\n\n\n\n<p>\u76f4\u63a5\u628a\u51e0\u4e2a\u5206\u6570\u52a0\u8d77\u6765\uff0c\u5bb9\u6613\u51fa\u73b0&#8221;\u865a\u5047\u7cbe\u51c6&#8221;\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u6211\u7528\u4e86&nbsp;<code>tanh<\/code>&nbsp;\u51fd\u6570\u6765\u538b\u7f29\u6700\u7ec8\u5206\u6570\uff0c\u8ba9\u5b83\u843d\u5728 [-1, 1] \u8fd9\u4e2a\u7a33\u5b9a\u533a\u95f4\uff0c\u96f6\u662f\u4e2d\u5fc3\u70b9\u3002\u8fd9\u6837\u8f93\u51fa\u5c31\u662f\u4e00\u4e2a&#8221;\u53ef\u4fe1\u5ea6\u7cfb\u6570&#8221;\uff0c\u540e\u7eed\u60f3\u8f6c\u6982\u7387\u4e5f\u884c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u56db\u3001\u7b97\u7b14\u8d26\uff1a\u4f60\u7684\u7b56\u7565\u80fd\u8986\u76d6\u6210\u672c\u5417\uff1f<\/strong><\/h2>\n\n\n\n<p>\u5148\u522b\u6025\u7740\u8c03\u53c2\u6570\uff0c\u628a\u6570\u5b66\u505a\u4e00\u904d\u3002\u5047\u8bbe\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6301\u4ed3\u91d1\u989d\uff1a<strong>2\u4e07\u7f8e\u5143<\/strong><\/li>\n\n\n\n<li>\u9884\u671f\u76c8\u5229\u5e45\u5ea6\uff1a+0.5%<\/li>\n\n\n\n<li>\u6b62\u635f\u5e45\u5ea6\uff1a-0.4%<\/li>\n\n\n\n<li>\u53cc\u5411\u6469\u64e6\u6210\u672c\uff08\u70b9\u5dee+\u6ed1\u70b9\uff09\uff1a0.08%<\/li>\n<\/ul>\n\n\n\n<p>\u8ba1\u7b97\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th class=\"has-text-align-left\" data-align=\"left\">\u9879\u76ee<\/th><th class=\"has-text-align-left\" data-align=\"left\">\u91d1\u989d<\/th><\/tr><tr><td>\u8fbe\u6807\u6b62\u76c8\u6536\u5165<\/td><td>0.5% \u00d7 $20,000 =&nbsp;<strong>$100<\/strong><\/td><\/tr><tr><td>\u6469\u64e6\u6210\u672c<\/td><td>0.08% \u00d7 $20,000 =&nbsp;<strong>$16<\/strong><\/td><\/tr><tr><td>\u6700\u597d\u60c5\u51b5\u51c0\u5229\u6da6<\/td><td><strong>$84<\/strong><\/td><\/tr><tr><td>\u6b62\u635f\u4e8f\u635f<\/td><td>0.4% \u00d7 $20,000 =&nbsp;<strong>$80<\/strong><\/td><\/tr><tr><td>\u52a0\u6469\u64e6\u540e\u4e8f\u635f<\/td><td>$80 + $16 =&nbsp;<strong>$96<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u7ed3\u8bba\uff1a<\/strong>&nbsp;\u5982\u679c\u80dc\u7387\u4e0d\u523050%\u4ee5\u4e0a\uff0c\u8fd9\u4e2a\u7b56\u7565\u662f\u8106\u5f31\u7684\u3002\u5982\u679c\u4f60\u7684\u4ef2\u88c1\u5c42\u8fd8\u589e\u52a0\u4e86\u4ea4\u6613\u9891\u7387\uff0c\u90a3\u66f4\u7cdf\u7cd5\u3002<\/p>\n\n\n\n<p>\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u6211\u575a\u6301\uff1a<strong>\u77db\u76fe\u4e0d\u662f\u566a\u97f3\uff0c\u662f\u7a0e\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e94\u3001\u4e00\u4e2a\u53ef\u4ee5\u8dd1\u8d77\u6765\u7684\u4ef2\u88c1\u5c42\u4ee3\u7801<\/strong><\/h2>\n\n\n\n<p><strong>\u4e0b\u9762\u7684\u4ee3\u7801\u5b9e\u73b0\u4e86\u6700\u6838\u5fc3\u7684\u4ef2\u88c1\u903b\u8f91\uff08Python\uff09\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>import&nbsp;numpy&nbsp;as&nbsp;np<\/code><code>import&nbsp;pandas&nbsp;as&nbsp;pd<\/code><code><\/code><code># \u6a21\u62df\u7b56\u7565\u4fe1\u53f7<\/code><code>rows = &#91;<\/code><code>&nbsp; {\"asset\":\"AAPL\",&nbsp;\"strategy\":\"mr_1\",&nbsp;\"dir\":\"long\",&nbsp;\"w\":1.0},<\/code><code>&nbsp; {\"asset\":\"AAPL\",&nbsp;\"strategy\":\"brk_2\",&nbsp;\"dir\":\"long\",&nbsp;\"w\":1.0},<\/code><code>&nbsp; {\"asset\":\"AAPL\",&nbsp;\"strategy\":\"trend_1\",&nbsp;\"dir\":\"short\",&nbsp;\"w\":1.0},<\/code><code>&nbsp; {\"asset\":\"MSFT\",&nbsp;\"strategy\":\"mr_1\",&nbsp;\"dir\":\"long\",&nbsp;\"w\":1.0},<\/code><code>&nbsp; {\"asset\":\"MSFT\",&nbsp;\"strategy\":\"brk_2\",&nbsp;\"dir\":\"long\",&nbsp;\"w\":1.0},<\/code><code>&nbsp; {\"asset\":\"TSLA\",&nbsp;\"strategy\":\"trend_1\",&nbsp;\"dir\":\"short\",&nbsp;\"w\":1.2},<\/code><code>]<\/code><code><\/code><code>df = pd.DataFrame(rows)<\/code><code>all_strats =&nbsp;sorted(df&#91;\"strategy\"].unique())<\/code><code>S =&nbsp;max(1,&nbsp;len(all_strats))<\/code><code><\/code><code>def&nbsp;arbiter(g):<\/code><code>&nbsp; &nbsp; wl = g.loc&#91;g.dir.eq(\"long\"),&nbsp;\"w\"].sum()<\/code><code>&nbsp; &nbsp; ws = g.loc&#91;g.dir.eq(\"short\"),&nbsp;\"w\"].sum()<\/code><code>&nbsp; &nbsp; tot =&nbsp;max(1e-9, wl + ws)<\/code><code><\/code><code>&nbsp; &nbsp; vote = (wl - ws) \/ tot<\/code><code>&nbsp; &nbsp; contr =&nbsp;min(wl, ws) \/ tot<\/code><code>&nbsp; &nbsp; div = g&#91;\"strategy\"].nunique() \/ S<\/code><code>&nbsp; &nbsp; div_conf =&nbsp;0.5&nbsp;+&nbsp;0.5&nbsp;* div<\/code><code><\/code><code>&nbsp; &nbsp; raw = vote * div_conf -&nbsp;0.4&nbsp;* contr<\/code><code>&nbsp; &nbsp; score =&nbsp;float(np.tanh(1.6&nbsp;* raw))<\/code><code>&nbsp; &nbsp; conf =&nbsp;int(round(abs(score) *&nbsp;100))<\/code><code><\/code><code>&nbsp; &nbsp; action =&nbsp;\"NO_TRADE\"<\/code><code>&nbsp; &nbsp;&nbsp;if&nbsp;conf &gt;=&nbsp;60:<\/code><code>&nbsp; &nbsp; &nbsp; &nbsp; action =&nbsp;\"LONG\"&nbsp;if&nbsp;score &gt;&nbsp;0&nbsp;else&nbsp;\"SHORT\"<\/code><code><\/code><code>&nbsp; &nbsp;&nbsp;return&nbsp;pd.Series({\"score\":score,&nbsp;\"conf\":conf,&nbsp;\"vote\":vote,&nbsp;<\/code><code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;\"contr\":contr,&nbsp;\"div\":div,&nbsp;\"action\":action})<\/code><code><\/code><code>out = df.groupby(\"asset\", sort=False).apply(arbiter).reset_index()<\/code><code>print(out.sort_values(&#91;\"conf\",&nbsp;\"score\"], ascending=False).to_string(index=False))<\/code><\/code><\/pre>\n\n\n\n<p><strong>\u8fd0\u884c\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th class=\"has-text-align-left\" data-align=\"left\">asset<\/th><th class=\"has-text-align-left\" data-align=\"left\">score<\/th><th class=\"has-text-align-left\" data-align=\"left\">conf<\/th><th class=\"has-text-align-left\" data-align=\"left\">vote<\/th><th class=\"has-text-align-left\" data-align=\"left\">contr<\/th><th class=\"has-text-align-left\" data-align=\"left\">div<\/th><th class=\"has-text-align-left\" data-align=\"left\">action<\/th><\/tr><tr><td>MSFT<\/td><td>0.6640<\/td><td>66<\/td><td>1.000<\/td><td>0.000<\/td><td>0.667<\/td><td>LONG<\/td><\/tr><tr><td>TSLA<\/td><td>-0.5370<\/td><td>54<\/td><td>-1.000<\/td><td>0.000<\/td><td>0.333<\/td><td>NO_TRADE<\/td><\/tr><tr><td>AAPL<\/td><td>0.1100<\/td><td>11<\/td><td>0.333<\/td><td>0.333<\/td><td>1.000<\/td><td>NO_TRADE<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u7ed3\u679c\u89e3\u8bfb\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>MSFT<\/strong>\uff1a\u6240\u6709\u7b56\u7565\u4e00\u81f4\u770b\u591a\uff0c\u5e7f\u5ea6\u5145\u8db3 \u2192 \u7ed3\u8bba\uff1a<strong>\u505a\u591a<\/strong><\/li>\n\n\n\n<li><strong>AAPL<\/strong>\uff1a\u7b56\u7565\u591a\uff0c\u4f46\u591a\u7a7a\u6253\u67b6 \u2192 \u7ed3\u8bba\uff1a<strong>\u4e0d\u53c2\u4e0e<\/strong><\/li>\n\n\n\n<li><strong>TSLA<\/strong>\uff1a\u65b9\u5411\u660e\u786e\uff0c\u4f46\u53ea\u6709\u4e00\u4e2a\u7b56\u7565\u63d0\u5230 \u2192 \u7ed3\u8bba\uff1a<strong>\u9700\u8981\u989d\u5916\u5ba1\u6838<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u5c0f\u800c\u6734\u7d20\uff0c\u8fd9\u5c31\u662f\u5b83\u6709\u6548\u7684\u539f\u56e0\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u516d\u3001\u4ed3\u4f4d\u7ba1\u7406\uff1a\u56de\u64a4\u771f\u6b63\u88ab\u63a7\u5236\u7684\u5730\u65b9<\/strong><\/h2>\n\n\n\n<p>\u4ef2\u88c1\u5c42\u56de\u7b54\u7684\u662f&nbsp;<strong>&#8220;\u4e70\u4ec0\u4e48&#8221;<\/strong>\uff0c\u800c\u4ed3\u4f4d\u7ba1\u7406\u56de\u7b54\u7684\u662f&nbsp;<strong>&#8220;\u4e70\u591a\u5c11&#8221;<\/strong>\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\u6709\u4e00\u4e2a\u5b66\u672f\u754c\u4e5f\u6709\u652f\u6491\u7684\u601d\u8def\uff1a<strong>\u6839\u636e\u8fd1\u671f\u6ce2\u52a8\u7387\u6765\u8c03\u6574\u4ed3\u4f4d<\/strong>\u3002<\/p>\n\n\n\n<p>\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u6211\u6709\u4e09\u6761\u9632\u7ebf\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th class=\"has-text-align-left\" data-align=\"left\">\u9632\u7ebf<\/th><th class=\"has-text-align-left\" data-align=\"left\">\u89c4\u5219<\/th><\/tr><tr><td>\u6ce2\u52a8\u7387\u76ee\u6807<\/td><td>\u8fd1\u671fATR\u6216\u5b9e\u9645\u6ce2\u52a8\u7387\u4e0a\u5347\u65f6\uff0c\u7f29\u51cf\u4ed3\u4f4d<\/td><\/tr><tr><td>\u5355\u7968\u4e0a\u9650<\/td><td>\u4efb\u4f55\u4e00\u53ea\u80a1\u7968\u4e0d\u80fd\u5360\u7528\u8fc7\u591a\u98ce\u9669\u655e\u53e3<\/td><\/tr><tr><td>\u56de\u64a4\u8282\u6d41<\/td><td>\u8d26\u6237\u56de\u64a4\u8d85\u8fc7X%\u65f6\uff0c\u65b0\u5f00\u4ed3\u4f4d\u7f29\u51cfY%<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83d\udccc \u89c2\u70b9\u603b\u7ed3<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u591a\u4e2a\u7b56\u7565\u4fe1\u53f7\u6253\u67b6\u65f6\uff0c\u4e0d\u8981\u968f\u4fbf\u9009\u4e00\u4e2a\u5c31\u6267\u884c\uff0c\u8981\u5148&#8221;\u4ef2\u88c1&#8221;\u3002<\/li>\n\n\n\n<li>\u4ef2\u88c1\u5c42\u6253\u5206\u770b4\u4e2a\u7ef4\u5ea6\uff1a\u65b9\u5411\u5171\u8bc6\u3001\u7b56\u7565\u5e7f\u5ea6\u3001\u77db\u76fe\u60e9\u7f5a\u3001\u5206\u6570\u538b\u7f29\u3002<\/li>\n\n\n\n<li>\u77db\u76fe\u4e0d\u662f\u566a\u97f3\uff0c\u662f\u6210\u672c\u2014\u2014\u8981\u8bda\u5b9e\u5730\u628a\u5b83\u7b97\u8fdb\u51b3\u7b56\u3002<\/li>\n\n\n\n<li>\u4ef2\u88c1\u5c42\u53ea\u7ba1&#8221;\u4e70\u4ec0\u4e48&#8221;\uff0c\u4ed3\u4f4d\u7ba1\u7406\u624d\u662f\u63a7\u5236\u56de\u64a4\u7684\u5173\u952e\u3002<\/li>\n\n\n\n<li>\u4ee3\u7801\u903b\u8f91\u4e0d\u590d\u6742\uff0c\u5173\u952e\u662f\u575a\u6301\u6267\u884c\u3001\u6709\u8bb0\u5f55\u53ef\u67e5\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u4f60\u73b0\u5728\u7528\u4ec0\u4e48\u65b9\u5f0f\u5904\u7406\u7b56\u7565\u6253\u67b6\uff1f<\/strong><\/p>\n\n\n\n<p>\u8bc4\u8bba\u533a\u804a\u804a\uff0c\u6211\u633a\u60f3\u770b\u770b\u5927\u5bb6\u5404\u81ea\u7684\u505a\u6cd5\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-verse\"><strong>\u98ce\u9669\u63d0\u793a\uff1a<\/strong>\u672c\u6587\u4ec5\u4f9b\u53c2\u8003\uff0c\u4e0d\u6784\u6210\u6295\u8d44\u5efa\u8bae\u3002\u6295\u8d44\u6709\u98ce\u9669\uff0c\u5165\u5e02\u9700\u8c28\u614e\u3002<\/pre>\n\n\n\n<pre class=\"wp-block-verse\"><strong>\u7248\u6743\u58f0\u660e\uff1a<\/strong>\u672c\u6587\u4e3a\u539f\u521b\u5185\u5bb9\uff0c\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\u3002<\/pre>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>&nbsp;<a>#\u80a1\u7968\u6295\u8d44<\/a>&nbsp;<a>#\u91cf\u5316\u4ea4\u6613<\/a>&nbsp;<a>#\u591a\u7b56\u7565<\/a>&nbsp;<a>#\u4ea4\u6613\u7cfb\u7edf<\/a>&nbsp;<a>#\u9009\u80a1\u7b56\u7565<\/a>&nbsp;<a>#\u98ce\u9669\u7ba1\u7406<\/a>&nbsp;<a>#\u4ed3\u4f4d\u7ba1\u7406<\/a>&nbsp;<a>#\u6280\u672f\u5206\u6790<\/a>&nbsp;<a>#\u91cf\u5316\u7b56\u7565<\/a>&nbsp;<a>#\u6295\u8d44\u903b\u8f91<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\uff1a\u8001\u4f59\u635e\u9c7c \u539f\u521b\u4e0d\u6613\uff0c\u8f6c\u8f7d\u8bf7\u6807\u660e\u51fa\u5904\u53ca\u539f\u4f5c\u8005\u3002&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/laoyulaoyu.com\/index.php\/2026\/03\/31\/%e5%a4%9a%e7%ad%96%e7%95%a5%e9%80%89%e8%82%a1%e6%80%bb%e6%89%93%e6%9e%b6%ef%bc%9f%e4%bd%a0%e5%8f%af%e4%bb%a5%e8%af%b7%e4%b8%80%e4%b8%aa%e6%99%ba%e8%83%bd%e4%bb%b2%e8%a3%81\/\">Continue reading<span class=\"screen-reader-text\">\u591a\u7b56\u7565\u9009\u80a1\u603b\u6253\u67b6\uff1f\u4f60\u53ef\u4ee5\u8bf7\u4e00\u4e2a&#8221;\u667a\u80fd\u4ef2\u88c1&#8221;\u200b<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[17,4,5],"class_list":{"0":"post-3786","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-aiinvest","7":"tag-ai","10":"entry"},"_links":{"self":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/3786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/comments?post=3786"}],"version-history":[{"count":3,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/3786\/revisions"}],"predecessor-version":[{"id":3792,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/3786\/revisions\/3792"}],"wp:attachment":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/media?parent=3786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/categories?post=3786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/tags?post=3786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}