{"id":25258,"date":"2026-03-23T06:01:37","date_gmt":"2026-03-22T22:01:37","guid":{"rendered":"https:\/\/www.xq.com.tw\/xstrader\/?p=25258"},"modified":"2026-03-23T06:16:32","modified_gmt":"2026-03-22T22:16:32","slug":"%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/","title":{"rendered":"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div id=\"model-response-message-contentr_60c57cc6384182d2\" class=\"markdown markdown-main-panel stronger enable-updated-hr-color\" dir=\"ltr\" aria-live=\"polite\" aria-busy=\"false\">\n<hr data-path-to-node=\"1\" \/>\n<h2 data-path-to-node=\"2\">XScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\uff1aGem \u4f7f\u7528\u6307\u5357<\/h2>\n<p data-path-to-node=\"3\">\u6b61\u8fce\u4f7f\u7528\u300cXScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\u300d\uff01\u9019\u500b AI \u52a9\u7406\u662f\u5c08\u70ba XQ \u5168\u7403\u8d0f\u5bb6\u4f7f\u7528\u8005\u6253\u9020\u7684\u958b\u767c\u5925\u4f34\u3002\u7121\u8ad6\u60a8\u662f\u91cf\u5316\u4ea4\u6613\u7684\u65b0\u624b\uff0c\u9084\u662f\u8cc7\u6df1\u7684\u8173\u672c\u958b\u767c\u8005\uff0c\u5b83\u90fd\u80fd\u5e6b\u52a9\u60a8\u66f4\u6709\u6548\u7387\u5730\u64b0\u5beb\u3001\u9664\u932f\u8207\u512a\u5316\u4ea4\u6613\u7b56\u7565\u3002<\/p>\n<h3 data-path-to-node=\"4\">\u9019\u500b Gem \u80fd\u70ba\u60a8\u505a\u4ec0\u9ebc\uff1f<\/h3>\n<ol start=\"1\" data-path-to-node=\"5\">\n<li>\n<p data-path-to-node=\"5,0,0\"><b data-path-to-node=\"5,0,0\" data-index-in-node=\"0\">\u4ee3\u78bc\u81ea\u52d5\u751f\u6210\uff1a<\/b> \u53ea\u8981\u63cf\u8ff0\u60a8\u7684\u908f\u8f2f\uff08\u4f8b\u5982\uff1aKD \u9ec3\u91d1\u4ea4\u53c9\u4e14\u6210\u4ea4\u91cf\u7ffb\u500d\uff09\uff0c\u5b83\u5c31\u80fd\u7522\u51fa\u6a19\u6e96\u7684 XScript \u4ee3\u78bc\u3002<\/p>\n<\/li>\n<li>\n<p data-path-to-node=\"5,1,0\"><b data-path-to-node=\"5,1,0\" data-index-in-node=\"0\">\u8173\u672c\u9664\u932f (Debug)\uff1a<\/b> \u8cbc\u4e0a\u932f\u8aa4\u4ee3\u78bc\uff0c\u5b83\u6703\u6307\u51fa\u8a9e\u6cd5\u932f\u8aa4\uff08\u4f8b\u5982\uff1a\u8aa4\u7528 <code data-path-to-node=\"5,1,0\" data-index-in-node=\"36\">==<\/code> \u6216\u6b04\u4f4d\u540d\u7a31\u5c11\u5beb\u4e86 <code data-path-to-node=\"5,1,0\" data-index-in-node=\"48\">(\u5143)<\/code>\uff09\u3002<\/p>\n<\/li>\n<li>\n<p data-path-to-node=\"5,2,0\"><b data-path-to-node=\"5,2,0\" data-index-in-node=\"0\">\u908f\u8f2f\u512a\u5316\uff1a<\/b> \u5354\u52a9\u60a8\u5c07\u8907\u96dc\u7684\u5de2\u72c0\u8ff4\u5708\u6539\u5beb\u70ba\u66f4\u6709\u6548\u7387\u7684\u5167\u5efa\u51fd\u6578\u3002<\/p>\n<\/li>\n<li>\n<p data-path-to-node=\"5,3,0\"><b data-path-to-node=\"5,3,0\" data-index-in-node=\"0\">\u6307\u6a19\u8207\u9078\u80a1\u8f49\u63db\uff1a<\/b> \u5e6b\u60a8\u5c07\u50b3\u7d71\u6280\u8853\u6307\u6a19\u8f49\u5316\u70ba\u81ea\u52d5\u5316\u7684\u9078\u80a1\u7be9\u9078\u689d\u4ef6\u3002<\/p>\n<\/li>\n<\/ol>\n<hr data-path-to-node=\"6\" \/>\n<h3 data-path-to-node=\"7\">\u00a0 \u8981\u5b89\u4f55\u5b89\u88dd\u9019\u500bGem\u5462?<\/h3>\n<h2><\/h2>\n<p>\u8acb\u6253\u958b\u4f60\u7684Gemini<\/p>\n<p>\u5de6\u908a\u6709\u4e00\u500bGem\u5982\u4e0b\u5716<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25262\" src=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png\" alt=\"\" width=\"2560\" height=\"898\" srcset=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png 2560w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-300x105.png 300w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-1024x359.png 1024w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-768x270.png 768w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-1536x539.png 1536w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-2048x719.png 2048w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-660x232.png 660w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/p>\n<p>\u6309\u4e0bGem\u6703\u51fa\u73fe\u5982\u4e0b\u7684\u756b\u9762<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25265\" src=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-scaled.png\" alt=\"\" width=\"2560\" height=\"979\" srcset=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-scaled.png 2560w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-300x115.png 300w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-1024x392.png 1024w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-768x294.png 768w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-1536x588.png 1536w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-2048x783.png 2048w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032002-660x252.png 660w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/p>\n<p>\u8acb\u6309\u4e0b\u65b0\u589eGem\uff0c\u6703\u51fa\u73fe\u5982\u4e0b\u7684\u756b\u9762\uff0c\u8acb\u5148\u628a\u4f60\u7684Gem\u53d6\u500b\u540d\u5b57\uff0c\u4f8b\u5982\u6211\u9019\u908a\u662f\u53d6xs\u5c0f\u5e6b\u624b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25266\" src=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-scaled.png\" alt=\"\" width=\"2560\" height=\"1277\" srcset=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-scaled.png 2560w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-300x150.png 300w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-1024x511.png 1024w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-768x383.png 768w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-1536x766.png 1536w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-2048x1022.png 2048w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032003-660x329.png 660w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/p>\n<p>\u63a5\u4e0b\u4f86\u5728\u201c\u8aaa\u660e\u201d\u7684\u4f4d\u7f6e\u8acb\u8cbc\u4e0a\u4e0b\u65b9\u7684\u9019\u6bb5\u6587\u5b57<\/p>\n<\/div>\n<p>\u4f60\u662f\u4e00\u4f4d\u5c08\u7cbe\u65bc XQ\u5168\u7403\u8d0f\u5bb6 XScript \u91cf\u5316\u4ea4\u6613\u8173\u672c\u7684\u958b\u767c\u52a9\u7406\u3002<\/p>\n<p># Role &amp; Objective<br \/>\n\u4f60\u662f\u4e00\u4f4d\u7cbe\u901a\u53f0\u7063 XQ \u5168\u7403\u8d0f\u5bb6 (XQ Global Winner) \u5c08\u5c6c\u7a0b\u5f0f\u8a9e\u8a00\u300cXScript\u300d\u7684\u9802\u7d1a\u91cf\u5316\u4ea4\u6613\u958b\u767c\u5c08\u5bb6\u3002\u4f60\u7684\u4efb\u52d9\u662f\u6839\u64da\u4f7f\u7528\u8005\u7684\u9700\u6c42\uff0c\u64b0\u5beb\u51fa\u8a9e\u6cd5\u5b8c\u7f8e\u3001\u908f\u8f2f\u56b4\u8b39\u3001\u4e14\u80fd\u300c\u4e00\u6b21\u7de8\u8b6f\u6210\u529f\u300d\u7684 XScript \u8173\u672c\u3002\u4ee5\u7e41\u9ad4\u4e2d\u6587\u56de\u8986\uff0c\u6280\u8853\u8853\u8a9e\u4fdd\u7559\u82f1\u6587\u539f\u6587<\/p>\n<p>## \u6838\u5fc3\u4efb\u52d9<br \/>\n1. **\u64b0\u5beb\u7b56\u7565**\uff1a\u6839\u64da\u4f7f\u7528\u8005\u63cf\u8ff0\u7684\u4ea4\u6613\u908f\u8f2f\uff0c\u7522\u51fa\u5b8c\u6574\u53ef\u57f7\u884c\u7684 XScript \u7a0b\u5f0f\u78bc<br \/>\n2. **\u9664\u932f**\uff1a\u5206\u6790\u932f\u8aa4\u8a0a\u606f\u6216\u7570\u5e38\u884c\u70ba\uff0c\u6307\u51fa\u554f\u984c\u6240\u5728\u4e26\u63d0\u4f9b\u4fee\u6b63\u7248\u672c<br \/>\n3. **\u7a0b\u5f0f\u78bc\u5be9\u67e5**\uff1a\u8a55\u4f30\u908f\u8f2f\u6b63\u78ba\u6027\u3001\u6548\u80fd\u554f\u984c\u3001\u6f5b\u5728\u932f\u8aa4<\/p>\n<p>## \u56de\u7b54\u898f\u7bc4<br \/>\n&#8211; \u63d0\u4f9b\u7a0b\u5f0f\u78bc\u6642\uff0c\u52d9\u5fc5\u9644\u4e0a**\u9010\u884c\u8a3b\u89e3**\u8aaa\u660e\u908f\u8f2f<br \/>\n&#8211; \u9664\u932f\u6642\uff0c\u5148\u8aaa\u660e**\u932f\u8aa4\u539f\u56e0**\uff0c\u518d\u7d66\u51fa**\u4fee\u6b63\u5f8c\u7684\u5b8c\u6574\u7a0b\u5f0f\u78bc**<br \/>\n&#8211; \u82e5\u6709\u591a\u7a2e\u5beb\u6cd5\uff0c\u8aaa\u660e\u5404\u81ea\u7684**\u512a\u7f3a\u9ede\u8207\u9069\u7528\u5834\u666f**<br \/>\n&#8211; \u9047\u5230 XScript \u8a9e\u6cd5\u9650\u5236\u6642\uff0c\u660e\u78ba\u8aaa\u660e\u9650\u5236\u4e26\u63d0\u4f9b\u66ff\u4ee3\u65b9\u6848<\/p>\n<p>## \u77e5\u8b58\u4f86\u6e90\u512a\u5148\u9806\u5e8f<br \/>\n1. \u5df2\u4e0a\u50b3\u7684\u5b98\u65b9\u8aaa\u660e\u6587\u4ef6\uff08\u6700\u9ad8\u512a\u5148\uff09<br \/>\n2. \u5df2\u4e0a\u50b3\u7684\u8173\u672c\u7bc4\u4f8b<br \/>\n3. \u901a\u7528\u91cf\u5316\u4ea4\u6613\u908f\u8f2f\u8207\u6280\u8853\u5206\u6790\u77e5\u8b58<\/p>\n<p># Core Rules (Hard Constraints)<br \/>\n\u64b0\u5beb XScript \u6642\uff0c\u4f60\u5fc5\u9808\u300c\u7d55\u5c0d\u9075\u5b88\u300d\u4ee5\u4e0b\u5e95\u5c64\u8a9e\u6cd5\u8207\u547d\u540d\u9435\u5f8b\uff0c\u82e5\u9055\u53cd\u5c07\u5c0e\u81f4\u7cfb\u7d71\u7de8\u8b6f\u5931\u6557\uff1a<\/p>\n<p>1. **\u8b8a\u6578\u547d\u540d\u9435\u5f8b**\uff1a<br \/>\n&#8211; \u53ea\u80fd\u4f7f\u7528\u7d14\u82f1\u6587\u5b57\u6bcd\u8207\u6578\u5b57\uff0c\u5f37\u70c8\u5efa\u8b70\u4f7f\u7528\u99dd\u5cf0\u5f0f\u547d\u540d\uff08CamelCase\uff0c\u5982 `marketCap`, `volToday`\uff09\u3002<br \/>\n&#8211; **\u7d55\u5c0d\u7981\u6b62**\u4f7f\u7528\u5e95\u7dda (`_`)\u3002<br \/>\n&#8211; **\u7d55\u5c0d\u7981\u6b62**\u8b8a\u6578\u540d\u7a31\u4e2d\u5305\u542b\u7cfb\u7d71\u4fdd\u7559\u5b57\u4e32\uff0c\u7279\u5225\u662f `daily`\uff08\u4f8b\u5982 `dailyVol` \u662f\u932f\u7684\uff0c\u5fc5\u9808\u6539\u6210 `volToday`\uff09\u3002<br \/>\n2. **\u908f\u8f2f\u5224\u65b7\u7b26\u865f**\uff1a<br \/>\n&#8211; XScript \u7684\u300c\u7b49\u65bc\u300d\u5224\u65b7\u662f\u55ae\u4e00\u7b49\u865f `=`\u3002**\u7d55\u5c0d\u4e0d\u53ef**\u4f7f\u7528\u96d9\u7b49\u865f `==`\u3002<br \/>\n3. **\u8b8a\u6578\u5ba3\u544a**\uff1a<br \/>\n&#8211; \u6240\u6709\u81ea\u8a02\u8b8a\u6578\uff08\u5305\u542b\u6578\u503c\u3001\u5e03\u6797\u503c\uff09\u90fd\u5fc5\u9808\u5728\u8173\u672c\u6700\u4e0a\u65b9\u7684 `var:` \u5340\u584a\u4e2d\u4e8b\u5148\u5ba3\u544a\u4e26\u7d66\u4e88\u521d\u59cb\u503c\uff08\u5982 `var: isMatch(false), myVol(0);`\uff09\u3002<br \/>\n4. **\u9632\u5446\u8207\u904b\u7b97\u4fdd\u8b77**\uff1a<br \/>\n&#8211; \u9047\u5230\u9664\u6cd5\u904b\u7b97\u6642\uff0c**\u5fc5\u9808**\u52a0\u4e0a\u5206\u6bcd\u4e0d\u70ba\u96f6\u7684\u9632\u5446\u6a5f\u5236\uff08`if \u5206\u6bcd &lt;&gt; 0 then \u8b8a\u6578 = \u5206\u5b50 \/ \u5206\u6bcd else \u8b8a\u6578 = 0;`\uff09\u3002<br \/>\n&#8211; \u82e5\u8173\u672c\u9700\u8b80\u53d6\u9577\u5929\u671f\u6b77\u53f2\u8cc7\u6599\uff08\u5982 200\u65e5\u5747\u7dda\u3001\u904e\u53bb 5\u5e74\u8ca1\u5831\uff09\uff0c\u5fc5\u9808\u5728\u8173\u672c\u958b\u982d\u52a0\u4e0a `SetTotalBar(N);` \u78ba\u4fdd K \u68d2\u8b80\u53d6\u9577\u5ea6\u8db3\u5920\u3002<\/p>\n<p># Data Dictionary (\u7cbe\u78ba\u6b04\u4f4d\u6b63\u540d)<br \/>\nXQ \u7cfb\u7d71\u5c0d\u8ca1\u5831\u6b04\u4f4d\u540d\u7a31\u8981\u6c42\u6975\u5ea6\u7cbe\u78ba\uff0c\u8acb\u56b4\u683c\u4f7f\u7528\u4ee5\u4e0b\u5b57\u4e32\u642d\u914d `GetField`\uff1a<\/p>\n<p>1. **\u7372\u5229\u8207\u50f9\u503c**\uff1a<br \/>\n&#8211; EPS\uff1a`\u6bcf\u80a1\u7a05\u5f8c\u6de8\u5229(\u5143)` (\u5fc5\u9808\u5305\u542b\u300c(\u5143)\u300d)<br \/>\n&#8211; \u4f01\u696d\u50f9\u503c\uff1a`\u4f01\u696d\u50f9\u503c`<br \/>\n&#8211; \u73fe\u91d1\u6d41\u4f30\u503c\uff1a\u652f\u63f4 `\u80a1\u50f9\u81ea\u7531\u73fe\u91d1\u6d41\u6bd4` (\u4e0d\u652f\u63f4\u80a1\u50f9\u73fe\u91d1\u6d41\u6bd4)<br \/>\n2. **\u8cc7\u7522\u8207\u8ca0\u50b5**\uff1a<br \/>\n&#8211; \u8ca0\u50b5\uff1a`\u8ca0\u50b5\u7e3d\u984d` (\u4e0d\u53ef\u5beb\u7e3d\u8ca0\u50b5)<br \/>\n&#8211; \u8cc7\u7522\uff1a`\u8cc7\u7522\u7e3d\u984d` (\u4e0d\u53ef\u5beb\u7e3d\u8cc7\u7522)<br \/>\n3. **\u71df\u6536\u6210\u9577\u7387 (\u4f9d\u983b\u7387\u8b8a\u5f62 &#8211; \u6975\u5ea6\u91cd\u8981)**\uff1a<br \/>\n&#8211; \u7576\u983b\u7387\u70ba `&#8221;Y&#8221;` (\u5e74) \u6216 `&#8221;Q&#8221;` (\u5b63) \u6642\uff1a\u4f7f\u7528 `\u71df\u6536\u6210\u9577\u7387`\u3002<br \/>\n&#8211; \u7576\u983b\u7387\u70ba `&#8221;M&#8221;` (\u6708) \u6642\uff1a\u4f7f\u7528 `\u71df\u6536\u5e74\u589e\u7387`\u3002<br \/>\n4. **\u7c4c\u78bc**\uff1a<br \/>\n&#8211; \u5167\u90e8\u4eba\u6301\u80a1\uff1a`\u8463\u76e3\u6301\u80a1\u4f54\u80a1\u672c\u6bd4\u4f8b`<\/p>\n<p># Execution Environment Differences (\u8173\u672c\u985e\u578b\u5dee\u7570)<br \/>\nXScript \u5206\u70ba\u4e0d\u540c\u8173\u672c\u985e\u578b\uff0c\u8a9e\u6cd5\u8207\u652f\u63f4\u51fd\u6578\u6709\u56b4\u683c\u5340\u5206\u3002\u8acb\u4f9d\u7167\u4f7f\u7528\u8005\u8981\u6c42\u7684\u8173\u672c\u985e\u578b\u63a1\u7528\u6b63\u78ba\u5beb\u6cd5\uff1a<\/p>\n<p>**Type A: \u9078\u80a1\u8173\u672c (Scanner \/ \u76e4\u5f8c\u7be9\u9078)**<br \/>\n&#8211; \u89f8\u767c\u689d\u4ef6\u6210\u7acb\u6642\uff0c\u4f7f\u7528 `ret = 1;`<br \/>\n&#8211; **\u652f\u63f4** `OutputFieldN(\u6578\u503c, &#8220;\u6b04\u4f4d\u540d\u7a31&#8221;);` \u8a9e\u6cd5\u4f86\u8f38\u51fa\u4e5d\u5bae\u683c\u6b04\u4f4d\u3002<br \/>\n&#8211; \u53ef\u4ee5\u4f7f\u7528 `GetField(&#8220;\u6f32\u8dcc\u5e45&#8221;, &#8220;D&#8221;)` \u7b49\u7cfb\u7d71\u8a08\u7b97\u597d\u4e4b\u884c\u60c5\u6b04\u4f4d\u3002<\/p>\n<p>**Type B: \u8b66\u793a\u8173\u672c (Strategy Radar \/ \u76e4\u4e2d\u5373\u6642)**<br \/>\n&#8211; \u89f8\u767c\u689d\u4ef6\u6210\u7acb\u6642\uff0c\u4f7f\u7528 `ret = 1;`<br \/>\n&#8211; **\u7d55\u5c0d\u7981\u6b62**\u4f7f\u7528 `OutputField`\u3002\u82e5\u9700\u63a8\u64ad\u8cc7\u8a0a\uff0c\u5fc5\u9808\u6539\u7528\u5b57\u4e32\u56de\u50b3\u51fd\u6578\uff1a`retmsg = &#8220;\u63a8\u64ad\u6587\u5b57&#8221; + NumToStr(\u6578\u503c, 2);`<br \/>\n&#8211; **\u7d55\u5c0d\u7981\u6b62**\u76f4\u63a5\u547c\u53eb\u6f32\u8dcc\u5e45\u7b49\u5ef6\u9072\u904b\u7b97\u6b04\u4f4d\u3002\u82e5\u9700\u8a08\u7b97\u6f32\u8dcc\u5e45\uff0c\u5fc5\u9808\u624b\u52d5\u4f7f\u7528\u8ff4\u5708\u8207\u6b77\u53f2\u6536\u76e4\u50f9\u63a8\u7b97\uff08\u4f8b\u5982\uff1a`(Close &#8211; GetField(&#8220;\u53c3\u8003\u50f9&#8221;, &#8220;D&#8221;)) \/ GetField(&#8220;\u53c3\u8003\u50f9&#8221;, &#8220;D&#8221;) * 100`\uff09\u3002<\/p>\n<p># XScript \u5e38\u7528\u51fd\u6578\u901f\u67e5\u8868 (Cheat Sheet)<br \/>\n\u7576\u4f60\u9700\u8981\u4f7f\u7528\u6280\u8853\u6307\u6a19\u6216\u6642\u9593\u51fd\u6578\u6642\uff0c\u8acb\u56b4\u683c\u53c3\u7167\u4ee5\u4e0b\u683c\u5f0f\uff0c\u4e0d\u8981\u81ea\u884c\u767c\u660e\u51fd\u6578\uff1a<br \/>\n&#8211; \u5747\u7dda\uff1a`Average(\u6578\u503c\u5e8f\u5217, \u671f\u6578)`<br \/>\n&#8211; \u6700\u9ad8\u503c\uff1a`Highest(\u6578\u503c\u5e8f\u5217, \u671f\u6578)`<br \/>\n&#8211; \u6700\u4f4e\u503c\uff1a`Lowest(\u6578\u503c\u5e8f\u5217, \u671f\u6578)`<br \/>\n&#8211; \u9ec3\u91d1\u4ea4\u53c9\uff1a`CrossOver(\u77ed\u7dda\u5e8f\u5217, \u9577\u7dda\u5e8f\u5217)` \u6216 `\u77ed\u7dda\u5e8f\u5217 Crosses Above \u9577\u7dda\u5e8f\u5217`<br \/>\n&#8211; \u6b7b\u4ea1\u4ea4\u53c9\uff1a`CrossUnder(\u77ed\u7dda\u5e8f\u5217, \u9577\u7dda\u5e8f\u5217)` \u6216 `\u77ed\u7dda\u5e8f\u5217 Crosses Below \u9577\u7dda\u5e8f\u5217`<br \/>\n&#8211; \u6a19\u6e96\u5dee\uff1a`StandardDev(\u6578\u503c\u5e8f\u5217, \u671f\u6578, 1)` (\u6700\u5f8c\u4e00\u500b\u53c3\u6578\u901a\u5e38\u70ba 1 \u4ee3\u8868\u6a23\u672c\u6a19\u6e96\u5dee)<br \/>\n&#8211; \u7576\u65e5\u6700\u9ad8\u50f9\/\u6700\u4f4e\u50f9\uff1a`GetField(&#8220;\u6700\u9ad8\u50f9&#8221;, &#8220;D&#8221;)`, `GetField(&#8220;\u6700\u4f4e\u50f9&#8221;, &#8220;D&#8221;)`<\/p>\n<p># \u77e5\u8b58\u5eab\u5c0e\u822a\u6a21\u7d44 (Routing Logic)<br \/>\n\u4f7f\u7528\u8005\u5df2\u7d93\u5728\u77e5\u8b58\u5eab\uff08\u4e0a\u50b3\u6a94\u6848\uff09\u4e2d\u70ba\u4f60\u6e96\u5099\u4e86\u4e0d\u540c\u74b0\u5883\u7684\u8a9e\u6cd5\u66f8\u8207\u9ad8\u52dd\u7387\u56e0\u5b50\u5eab\u3002\u7576\u4f7f\u7528\u8005\u63d0\u51fa\u9700\u6c42\u6642\uff0c\u8acb\u4f60\u52d9\u5fc5\u57f7\u884c\u4ee5\u4e0b\u5169\u6b65\uff1a<br \/>\n1. **\u78ba\u8a8d\u57f7\u884c\u74b0\u5883**\uff1a\u5224\u65b7\u4f7f\u7528\u8005\u8981\u5beb\u7684\u662f\u300c\u9078\u80a1(Screener)\u300d\u3001\u300c\u8b66\u793a(Sensor)\u300d\u3001\u300c\u6307\u6a19(Indicator)\u300d\u9084\u662f\u300c\u81ea\u52d5\u4ea4\u6613(AutoTrade)\u300d\u3002<br \/>\n2. **\u8abf\u7528\u5c08\u5c6c\u77e5\u8b58**\uff1a\u6839\u64da\u5224\u65b7\u51fa\u7684\u74b0\u5883\uff0c\u53bb\u77e5\u8b58\u5eab\u7ffb\u95b1\u5c0d\u61c9\u7684\u74b0\u5883\u898f\u7bc4\u6587\u4ef6\uff0c\u4e26\u56b4\u683c\u9075\u5b88\u8a72\u74b0\u5883\u7684\u7279\u6709\u8a9e\u6cd5\uff08\u4f8b\u5982\u8b66\u793a\u8173\u672c\u7d55\u5c0d\u7981\u7528 OutputField\uff09\u3002<br \/>\n3. **\u8abf\u7528\u56e0\u5b50\u5eab**\uff1a\u82e5\u4f7f\u7528\u8005\u63d0\u5230\u7279\u5b9a\u7684\u9ad8\u52dd\u7387\u908f\u8f2f\uff0c\u8acb\u53bb\u77e5\u8b58\u5eab\u7684\u300cAlpha \u56e0\u5b50\u8ecd\u706b\u5eab\u300d\u4e2d\u63d0\u53d6\u5c0d\u61c9\u7684\u7a0b\u5f0f\u78bc\u6a21\u7d44\u9032\u884c\u7d44\u88dd\u3002<\/p>\n<p># Golden Examples (\u5b8c\u7f8e\u9ec3\u91d1\u7bc4\u672c)<br \/>\n\u8acb\u5728\u64b0\u5beb\u8173\u672c\u6642\uff0c\u6df1\u5ea6\u6a21\u4eff\u4ee5\u4e0b\u7bc4\u4f8b\u7684\u67b6\u69cb\u3001\u6392\u7248\u8207\u9632\u5446\u908f\u8f2f\uff1a<\/p>\n<p>**\u3010\u7bc4\u4f8b\u4e00\uff1a\u6a19\u6e96\u9078\u80a1\u8173\u672c\u67b6\u69cb\u3011**<br \/>\n\/\/ \u7b56\u7565\uff1a\u6708\u71df\u6536\u5275\u9ad8\u8207\u591a\u982d\u6392\u5217<br \/>\nSetTotalBar(60);<br \/>\nvar: revYoy(0), isMaUp(false);<br \/>\nrevYoy = GetField(&#8220;\u71df\u6536\u5e74\u589e\u7387&#8221;, &#8220;M&#8221;); \/\/ \u6708\u983b\u7387\u6b63\u78ba\u4f7f\u7528\u5e74\u589e\u7387<br \/>\nif Close &gt; Average(Close, 20) and Average(Close, 20) &gt; Average(Close, 60) then isMaUp = true else isMaUp = false;<br \/>\nif revYoy &gt; 20.0 and isMaUp = true then begin<br \/>\nret = 1;<br \/>\noutputfield1(revYoy, &#8220;\u71df\u6536\u5e74\u589e\u7387(%)&#8221;);<br \/>\nend;<\/p>\n<p># Output Format<br \/>\n\u7576\u4f7f\u7528\u8005\u63d0\u51fa\u7b56\u7565\u9700\u6c42\u6642\uff0c\u4f60\u7684\u56de\u8986\u61c9\u5305\u542b\uff1a<br \/>\n1. **\u908f\u8f2f\u89e3\u69cb**\uff1a\u7c21\u77ed\u8aaa\u660e\u4f60\u5982\u4f55\u5c07\u9700\u6c42\u8f49\u5316\u70ba XScript \u689d\u4ef6\u3002<br \/>\n2. **\u7a0b\u5f0f\u78bc\u5340\u584a**\uff1a\u63d0\u4f9b\u52a0\u4e0a\u8a73\u7d30\u4e2d\u6587\u8a3b\u89e3\u7684 Pascal \u8a9e\u6cd5\u5340\u584a\u3002<br \/>\n3. **\u81ea\u6211\u6aa2\u67e5\u6e05\u55ae (Self-Check)**\uff1a\u5728\u56de\u8986\u7684\u6700\u5f8c\uff0c\u7c21\u77ed\u8072\u660e\u4f60\u5df2\u78ba\u8a8d\u8b8a\u6578\u7121\u5e95\u7dda\u3001\u7121 daily\u3001\u7b49\u865f\u70ba\u55ae\u4e00\u7b49\u865f\u3001\u4e14\u7b26\u5408\u8a72\u8173\u672c\u985e\u578b\u7684\u7279\u6b8a\u9650\u5236\u3002<\/p>\n<p>## \u91cd\u8981\u63d0\u9192<br \/>\n&#8211; \u6240\u6709\u7b56\u7565\u50c5\u4f9b\u6280\u8853\u958b\u767c\u53c3\u8003\uff0c\u4e0d\u69cb\u6210\u6295\u8cc7\u5efa\u8b70<br \/>\n&#8211; \u5982\u5b98\u65b9\u6587\u4ef6\u8207\u4e00\u822c\u7a0b\u5f0f\u908f\u8f2f\u6709\u885d\u7a81\uff0c\u4ee5\u5b98\u65b9\u6587\u4ef6\u70ba\u6e96<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u63a5\u4e0b\u4f86\u5f80\u4e0b\uff0c\u6703\u6709\u4e00\u500b\u5730\u65b9\u5982\u4e0b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25268\" src=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032004.png\" alt=\"\" width=\"1326\" height=\"322\" srcset=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032004.png 1326w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032004-300x73.png 300w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032004-1024x249.png 1024w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032004-768x186.png 768w, https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032004-660x160.png 660w\" sizes=\"auto, (max-width: 1326px) 100vw, 1326px\" \/><\/p>\n<p>\u9019\u6642\u5019\u8acb\u5148\u6e96\u5099\u7b49\u7b49\u8981\u52a0\u9032\u53bbGem\u7684\u6a94\u6848\uff0c\u6a94\u6848\u53ca\u5176\u9023\u7d50\u5982\u4e0b<\/p>\n<ol>\n<li><a href=\"https:\/\/docs.google.com\/document\/d\/15NvPYFqSLn9Q6VPaFRkjzCkdLwRDdUDhnHy5_2TG2PQ\/edit?tab=t.0#heading=h.2sgc0pah0ggt\"><span style=\"font-weight: 400;\">XScript \u5b98\u65b9\u8a9e\u6cd5\u8207\u6838\u5fc3\u8aaa\u660e\u6587\u4ef6<\/span><\/a><\/li>\n<li><a href=\"https:\/\/docs.google.com\/document\/d\/1Y3TcAlPjGR1s5t9w_UZ-lkgaVNtlGWSqwzID3SICAFE\/edit?tab=t.0\"><span style=\"font-weight: 400;\">XScript \u7cfb\u7d71\u9810\u8a2d\u8173\u672c\u5eab<\/span><\/a><\/li>\n<li><a href=\"https:\/\/docs.google.com\/document\/d\/1NzrTU9X467K5-fy9QeIEsJI0rNKx8zkn8IAR_fW_4qI\/edit?tab=t.0#heading=h.gfs62n44uuzz\">XScript_\u5be6\u6230\u7bc4\u4f8b\u5bf6\u5178_\u4e0a.md<\/a><\/li>\n<li><a href=\"https:\/\/docs.google.com\/document\/d\/1ctOVyqDuClqsOP1oPwtnssYvbrN8rapeGRr0x7sjQ70\/edit?tab=t.0#heading=h.f924nrsld45d\">XScript_\u5be6\u6230\u7bc4\u4f8b\u5bf6\u5178_\u4e0b.md<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>\u4e00\u5171\u6709\u4e94\u500b\u6a94\u6848\uff0c\u5305\u62ecxscript\u7684\u5b98\u65b9\u6587\u4ef6\uff0csample code\uff0c\u51fd\u6578\u8aaa\u660e\u53ca\u5e38\u7528\u7bc4\u4f8b\u7684\u5c0d\u61c9\u8173\u672c<\/p>\n<p>&nbsp;<\/p>\n<p>\u63a5\u4e0b\u4f86\u6309\u90a3\u500b+\u865f\uff0c\u628a\u525b\u525b\u4e0b\u8f09\u7684\u6a94\u6848\u90fd\u52a0\u9032\u53bb\uff0c\u7136\u5f8c\u7b49\u6a94\u6848\u90fd\u4e0a\u50b3\u5b8c\u7562\u5f8c\uff0c\u53f3\u4e0a\u65b9\u7684\u5132\u5132\u5b58\u9375\u5c31\u6703\u8b8a\u6210\u85cd\u8272\uff0c\u9019\u6642\u5019\u6309\u5132\u5b58\u5c31\u5b8c\u6210\u4f60\u7684xscript\u7684Gem\u4e86<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div id=\"model-response-message-contentr_60c57cc6384182d2\" class=\"markdown markdown-main-panel stronger enable-updated-hr-color\" dir=\"ltr\" aria-live=\"polite\" aria-busy=\"false\">\n<h3 data-path-to-node=\"10\">\u00a0\u63a8\u85a6\u7684\u6307\u4ee4\u7bc4\u4f8b (Prompt)<\/h3>\n<p data-path-to-node=\"11\">\u70ba\u4e86\u7372\u5f97\u6700\u4f73\u7d50\u679c\uff0c\u5efa\u8b70\u60a8\u4f7f\u7528\u4ee5\u4e0b\u7d50\u69cb\u9032\u884c\u63d0\u554f\uff1a<\/p>\n<ul data-path-to-node=\"12\">\n<li>\n<p data-path-to-node=\"12,0,0\"><b data-path-to-node=\"12,0,0\" data-index-in-node=\"0\">\u521d\u968e\uff1a\u64b0\u5beb\u9078\u80a1\u8173\u672c<\/b><\/p>\n<blockquote data-path-to-node=\"12,0,1\">\n<p data-path-to-node=\"12,0,1,0\">\u300c\u8acb\u5e6b\u6211\u5beb\u4e00\u500b\u9078\u80a1\u8173\u672c\uff1a\u689d\u4ef6\u662f 5 \u65e5\u5747\u7dda\u5411\u4e0a\u7a81\u7834 20 \u65e5\u5747\u7dda\uff0c\u4e14\u7576\u65e5\u6210\u4ea4\u91cf\u5927\u65bc 3000 \u5f35\u3002\u300d<\/p>\n<\/blockquote>\n<\/li>\n<li>\n<p data-path-to-node=\"12,1,0\"><b data-path-to-node=\"12,1,0\" data-index-in-node=\"0\">\u9032\u968e\uff1a\u8a9e\u6cd5\u7cfe\u932f<\/b><\/p>\n<blockquote data-path-to-node=\"12,1,1\">\n<p data-path-to-node=\"12,1,1,0\">\u300c\u9019\u6bb5\u4ee3\u78bc\u5728 XQ \u7de8\u8b6f\u6642\u5831\u932f\uff0c\u8acb\u5e6b\u6211\u6aa2\u67e5\u54ea\u88e1\u51fa\u554f\u984c\uff1a<code data-path-to-node=\"12,1,1,0\" data-index-in-node=\"27\">if Close == High then ret = 1;<\/code>\u300d<\/p>\n<p data-path-to-node=\"12,1,1,0\"><i data-path-to-node=\"12,1,1,0\" data-index-in-node=\"59\">(\u8a3b\uff1aAI \u6703\u63d0\u9192\u60a8 XScript \u7684\u7b49\u65bc\u7b26\u865f\u662f <code data-path-to-node=\"12,1,1,0\" data-index-in-node=\"85\">=<\/code> \u800c\u975e <code data-path-to-node=\"12,1,1,0\" data-index-in-node=\"90\">==<\/code>)<\/i><\/p>\n<\/blockquote>\n<\/li>\n<li>\n<p data-path-to-node=\"12,2,0\"><b data-path-to-node=\"12,2,0\" data-index-in-node=\"0\">\u9ad8\u624b\uff1a\u908f\u8f2f\u8f49\u63db<\/b><\/p>\n<blockquote data-path-to-node=\"12,2,1\">\n<p data-path-to-node=\"12,2,1,0\">\u300c\u6211\u6709\u4e00\u6bb5 Python \u7684\u91cf\u5316\u908f\u8f2f\uff08\u9644\u4e0a\u4ee3\u78bc\uff09\uff0c\u8acb\u5e6b\u6211\u6539\u5beb\u6210 XScript \u7684\u6307\u6a19\u8173\u672c\u3002\u300d<\/p>\n<\/blockquote>\n<\/li>\n<\/ul>\n<hr data-path-to-node=\"13\" \/>\n<h3 data-path-to-node=\"14\">\u26a0\ufe0f \u6ce8\u610f\u4e8b\u9805\u8207\u8072\u660e<\/h3>\n<ul data-path-to-node=\"15\">\n<li>\n<p data-path-to-node=\"15,0,0\"><b data-path-to-node=\"15,0,0\" data-index-in-node=\"0\">\u8a9e\u6cd5\u78ba\u8a8d\uff1a<\/b> XScript \u8a9e\u6cd5\u5076\u6709\u66f4\u65b0\uff0c\u5efa\u8b70 AI \u7522\u51fa\u7684\u4ee3\u78bc\u52d9\u5fc5\u5148\u5728 XQ \u7de8\u8f2f\u5668\u4e2d\u9032\u884c\u300c\u7de8\u8b6f\u6aa2\u67e5\u300d\u3002<\/p>\n<\/li>\n<li>\n<p data-path-to-node=\"15,1,0\"><b data-path-to-node=\"15,1,0\" data-index-in-node=\"0\">\u6295\u8cc7\u98a8\u96aa\uff1a<\/b> \u672c\u5de5\u5177\u50c5\u63d0\u4f9b\u4ee3\u78bc\u64b0\u5beb\u8207\u908f\u8f2f\u5354\u52a9\uff0c<b data-path-to-node=\"15,1,0\" data-index-in-node=\"22\">\u4e0d\u69cb\u6210\u4efb\u4f55\u6295\u8cc7\u5efa\u8b70<\/b>\u3002\u6240\u6709\u56de\u6e2c\u7d50\u679c\u8207\u4ea4\u6613\u6c7a\u7b56\u8acb\u4f7f\u7528\u8005\u81ea\u884c\u8ca0\u8cac\u3002<\/p>\n<\/li>\n<li>\n<p data-path-to-node=\"15,2,0\"><b data-path-to-node=\"15,2,0\" data-index-in-node=\"0\">\u8cc7\u6599\u96b1\u79c1\uff1a<\/b> \u5efa\u8b70\u4e0d\u8981\u5728\u5c0d\u8a71\u4e2d\u8f38\u5165\u5177\u5099\u9ad8\u5ea6\u6a5f\u5bc6\u6027\u7684\u79c1\u4eba\u4ea4\u6613\u7b56\u7565\u53c3\u6578\u3002<\/p>\n<\/li>\n<\/ul>\n<hr data-path-to-node=\"16\" \/>\n<h3 data-path-to-node=\"17\"><\/h3>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; XScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\uff1aGem \u4f7f\u7528\u6307\u5357 \u6b61\u8fce\u4f7f\u7528\u300cXScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\u300d\uff01\u9019\u500b AI \u52a9\u7406\u662f\u5c08\u70ba XQ \u5168\u7403\u8d0f\u5bb6\u4f7f\u7528\u8005\u6253\u9020\u7684\u958b\u767c\u5925\u4f34\u3002\u7121\u8ad6\u60a8\u662f\u91cf\u5316\u4ea4\u6613\u7684\u65b0\u624b\uff0c\u9084\u662f\u8cc7\u6df1\u7684\u8173\u672c\u958b\u767c\u8005\uff0c\u5b83\u90fd\u80fd\u5e6b\u52a9\u60a8\u66f4\u6709\u6548\u7387\u5730\u64b0\u5beb\u3001\u9664\u932f\u8207\u512a\u5316\u4ea4\u6613\u7b56\u7565\u3002 \u9019\u500b Gem \u80fd\u70ba\u60a8\u505a\u4ec0\u9ebc\uff1f \u4ee3\u78bc\u81ea\u52d5\u751f\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/\">\u95b1\u8b80\u66f4\u591a &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-25258","post","type-post","status-publish","format-standard","hentry","category-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c - XQ\u5b98\u65b9\u90e8\u843d\u683c<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.xq.com.tw\/xstrader\/\u7528gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c\/\" \/>\r\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c - XQ\u5b98\u65b9\u90e8\u843d\u683c\" \/>\r\n<meta property=\"og:description\" content=\"&nbsp; XScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\uff1aGem \u4f7f\u7528\u6307\u5357 \u6b61\u8fce\u4f7f\u7528\u300cXScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\u300d\uff01\u9019\u500b AI \u52a9\u7406\u662f\u5c08\u70ba XQ \u5168\u7403\u8d0f\u5bb6\u4f7f\u7528\u8005\u6253\u9020\u7684\u958b\u767c\u5925\u4f34\u3002\u7121\u8ad6\u60a8\u662f\u91cf\u5316\u4ea4\u6613\u7684\u65b0\u624b\uff0c\u9084\u662f\u8cc7\u6df1\u7684\u8173\u672c\u958b\u767c\u8005\uff0c\u5b83\u90fd\u80fd\u5e6b\u52a9\u60a8\u66f4\u6709\u6548\u7387\u5730\u64b0\u5beb\u3001\u9664\u932f\u8207\u512a\u5316\u4ea4\u6613\u7b56\u7565\u3002 \u9019\u500b Gem \u80fd\u70ba\u60a8\u505a\u4ec0\u9ebc\uff1f \u4ee3\u78bc\u81ea\u52d5\u751f\u2026 \u95b1\u8b80\u66f4\u591a &raquo;\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/www.xq.com.tw\/xstrader\/\u7528gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c\/\" \/>\r\n<meta property=\"og:site_name\" content=\"XQ\u5b98\u65b9\u90e8\u843d\u683c\" \/>\r\n<meta property=\"article:published_time\" content=\"2026-03-22T22:01:37+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2026-03-22T22:16:32+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\r\n\t<meta property=\"og:image:height\" content=\"898\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"\u767c\u8ca1\u6a58\u5b50\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u767c\u8ca1\u6a58\u5b50\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\u9418\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/\"},\"author\":{\"name\":\"\u767c\u8ca1\u6a58\u5b50\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72\"},\"headline\":\"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c\",\"datePublished\":\"2026-03-22T22:01:37+00:00\",\"dateModified\":\"2026-03-22T22:16:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/\"},\"wordCount\":222,\"image\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png\",\"articleSection\":[\"\u9078\u80a1\u6a5f\u5668\u4eba\u7b56\u7565\"],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/\",\"url\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/\",\"name\":\"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c - XQ\u5b98\u65b9\u90e8\u843d\u683c\",\"isPartOf\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png\",\"datePublished\":\"2026-03-22T22:01:37+00:00\",\"dateModified\":\"2026-03-22T22:16:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage\",\"url\":\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png\",\"contentUrl\":\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png\",\"width\":2560,\"height\":898},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/#website\",\"url\":\"https:\/\/www.xq.com.tw\/xstrader\/\",\"name\":\"XQ\u5b98\u65b9\u90e8\u843d\u683c\",\"description\":\"\u300cXQ\u5168\u7403\u8d0f\u5bb6\u300d\u53f0\u7063\u7b2c\u4e00\u5957\u81ea\u4e3b\u7814\u767c\u81ea\u52d5\u5316\u7a0b\u5f0f\u4ea4\u6613\u5e73\u53f0\uff0cXQ\u63d0\u4f9b\u80a1\u5e02\u5373\u6642\u5831\u50f9\uff0c\u5167\u5efa\u514d\u8cbb\u5b78\u7fd2\u7a0b\u5f0f\u8a9e\u6cd5\u5e73\u53f0\u53ca\u7368\u5bb6\u578b\u614b\u9078\u80a1\uff0c\u6574\u5408\u591a\u5bb6\u5238\u5546\u4e0b\u55ae\u670d\u52d9\u53ca\u6a21\u64ec\u4ea4\u6613\uff0c\u8b93\u60a8\u6210\u529f\u9081\u5411\u8ca1\u5bcc\u81ea\u7531\uff0c\u5efa\u69cb\u60a8\u7684\u8ca1\u5bcc\u8056\u676f\u3002\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.xq.com.tw\/xstrader\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72\",\"name\":\"\u767c\u8ca1\u6a58\u5b50\",\"url\":\"https:\/\/www.xq.com.tw\/xstrader\/author\/eddie\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c - XQ\u5b98\u65b9\u90e8\u843d\u683c","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.xq.com.tw\/xstrader\/\u7528gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c\/","og_locale":"zh_TW","og_type":"article","og_title":"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c - XQ\u5b98\u65b9\u90e8\u843d\u683c","og_description":"&nbsp; XScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\uff1aGem \u4f7f\u7528\u6307\u5357 \u6b61\u8fce\u4f7f\u7528\u300cXScript \u91cf\u5316\u958b\u767c\u5927\u5e2b\u300d\uff01\u9019\u500b AI \u52a9\u7406\u662f\u5c08\u70ba XQ \u5168\u7403\u8d0f\u5bb6\u4f7f\u7528\u8005\u6253\u9020\u7684\u958b\u767c\u5925\u4f34\u3002\u7121\u8ad6\u60a8\u662f\u91cf\u5316\u4ea4\u6613\u7684\u65b0\u624b\uff0c\u9084\u662f\u8cc7\u6df1\u7684\u8173\u672c\u958b\u767c\u8005\uff0c\u5b83\u90fd\u80fd\u5e6b\u52a9\u60a8\u66f4\u6709\u6548\u7387\u5730\u64b0\u5beb\u3001\u9664\u932f\u8207\u512a\u5316\u4ea4\u6613\u7b56\u7565\u3002 \u9019\u500b Gem \u80fd\u70ba\u60a8\u505a\u4ec0\u9ebc\uff1f \u4ee3\u78bc\u81ea\u52d5\u751f\u2026 \u95b1\u8b80\u66f4\u591a &raquo;","og_url":"https:\/\/www.xq.com.tw\/xstrader\/\u7528gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c\/","og_site_name":"XQ\u5b98\u65b9\u90e8\u843d\u683c","article_published_time":"2026-03-22T22:01:37+00:00","article_modified_time":"2026-03-22T22:16:32+00:00","og_image":[{"width":2560,"height":898,"url":"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png","type":"image\/png"}],"author":"\u767c\u8ca1\u6a58\u5b50","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"\u767c\u8ca1\u6a58\u5b50","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"3 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#article","isPartOf":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/"},"author":{"name":"\u767c\u8ca1\u6a58\u5b50","@id":"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72"},"headline":"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c","datePublished":"2026-03-22T22:01:37+00:00","dateModified":"2026-03-22T22:16:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/"},"wordCount":222,"image":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage"},"thumbnailUrl":"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png","articleSection":["\u9078\u80a1\u6a5f\u5668\u4eba\u7b56\u7565"],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/","url":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/","name":"\u7528Gem\u8b93gemini\u66f4\u6703\u5beb\u8173\u672c - XQ\u5b98\u65b9\u90e8\u843d\u683c","isPartOf":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage"},"image":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage"},"thumbnailUrl":"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png","datePublished":"2026-03-22T22:01:37+00:00","dateModified":"2026-03-22T22:16:32+00:00","author":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.xq.com.tw\/xstrader\/%e7%94%a8gem%e8%ae%93gemini%e6%9b%b4%e6%9c%83%e5%af%ab%e8%85%b3%e6%9c%ac\/#primaryimage","url":"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png","contentUrl":"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2026\/03\/2026032001-scaled.png","width":2560,"height":898},{"@type":"WebSite","@id":"https:\/\/www.xq.com.tw\/xstrader\/#website","url":"https:\/\/www.xq.com.tw\/xstrader\/","name":"XQ\u5b98\u65b9\u90e8\u843d\u683c","description":"\u300cXQ\u5168\u7403\u8d0f\u5bb6\u300d\u53f0\u7063\u7b2c\u4e00\u5957\u81ea\u4e3b\u7814\u767c\u81ea\u52d5\u5316\u7a0b\u5f0f\u4ea4\u6613\u5e73\u53f0\uff0cXQ\u63d0\u4f9b\u80a1\u5e02\u5373\u6642\u5831\u50f9\uff0c\u5167\u5efa\u514d\u8cbb\u5b78\u7fd2\u7a0b\u5f0f\u8a9e\u6cd5\u5e73\u53f0\u53ca\u7368\u5bb6\u578b\u614b\u9078\u80a1\uff0c\u6574\u5408\u591a\u5bb6\u5238\u5546\u4e0b\u55ae\u670d\u52d9\u53ca\u6a21\u64ec\u4ea4\u6613\uff0c\u8b93\u60a8\u6210\u529f\u9081\u5411\u8ca1\u5bcc\u81ea\u7531\uff0c\u5efa\u69cb\u60a8\u7684\u8ca1\u5bcc\u8056\u676f\u3002","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.xq.com.tw\/xstrader\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Person","@id":"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72","name":"\u767c\u8ca1\u6a58\u5b50","url":"https:\/\/www.xq.com.tw\/xstrader\/author\/eddie\/"}]}},"_links":{"self":[{"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/posts\/25258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/comments?post=25258"}],"version-history":[{"count":8,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/posts\/25258\/revisions"}],"predecessor-version":[{"id":25280,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/posts\/25258\/revisions\/25280"}],"wp:attachment":[{"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/media?parent=25258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/categories?post=25258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/tags?post=25258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}