{"id":11377,"date":"2021-03-17T11:41:25","date_gmt":"2021-03-17T03:41:25","guid":{"rendered":"https:\/\/xstrader.net\/?p=11377"},"modified":"2021-04-22T07:25:43","modified_gmt":"2021-04-21T23:25:43","slug":"xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0","status":"publish","type":"post","link":"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/","title":{"rendered":"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0"},"content":{"rendered":"<p>XQ\u4ea4\u6613\u8a9e\u6cd5\uff0c\u662f\u5c08\u9580\u70baXQ\u91cf\u5316\u4ea4\u6613\u5e73\u53f0\u6240\u8a2d\u8a08\u7684\u4ea4\u6613\u8a9e\u6cd5\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u900f\u904e\u9019\u500b\u8a9e\u6cd5\uff0c\u4f86\u8b93\u96fb\u8166\u5728\u6307\u5b9a\u7684\u50f9\u4f4d\u6216\u689d\u4ef6\u4e0b\uff0c\u81ea\u52d5\u57f7\u884c\u9032\u5834\uff0c\u52a0\u78bc\uff0c\u6e1b\u78bc\uff0c\u5e73\u5009\u7b49\u5404\u7a2e\u4e0d\u540c\u6210\u4ea4\u6578\u91cf\u7684\u4ea4\u6613\u52d5\u4f5c\u3002<\/p>\n<p>XQ\u4ea4\u6613\u8a9e\u6cd5\u4e3b\u8981\u662f\u7531\u5e7e\u500b\u6838\u5fc3\u7684\u8a9e\u6cd5\u6240\u5efa\u69cb\u800c\u6210<\/p>\n<p><a href=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2021\/03\/\u4ea4\u6613\u8a9e\u6cd5\u6574\u7406.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11812\" src=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2021\/03\/\u4ea4\u6613\u8a9e\u6cd5\u6574\u7406.png\" alt=\"\" width=\"1848\" height=\"749\" \/><\/a><\/p>\n<h2>\u4e00\uff0cSetposition(\u6578\u91cf,\u50f9\u683c\uff09<\/h2>\n<p class=\"brush:xs\">Position\u4ee3\u8868\u7684\u662f\u9019\u500b\u5546\u54c1\u5728\u9019\u500b\u7b56\u7565\u5167\u7684\u2019\u9810\u671f\u90e8\u4f4d\u2019, Position\u662f\u4e00\u500b\u6574\u6578, \u53ef\u4ee5\u5927\u65bc0, \u4e5f\u53ef\u4ee5\u5c0f\u65bc0. **\u8acb\u6ce8\u610f: \u4e00\u500b\u4ea4\u6613\u7b56\u7565\u5167\u53ef\u4ee5\u8dd1\u591a\u500b\u5546\u54c1\uff0c\u6bcf\u500b\u5546\u54c1\u7684Position\u662f\u7368\u7acb\u7684**<\/p>\n<p class=\"brush:xs\">\u7576\u6211\u5011\u60f3\u8981\u57f7\u884c\u4ea4\u6613\u6642, \u5c31\u547c\u53ebSetPosition\u9019\u4e00\u500b\u51fd\u6578, \u50b3\u5165\u6211\u5011\u9810\u671f\u7684\u90e8\u4f4d(\u540c\u6642\u4e5f\u53ef\u4ee5\u50b3\u5165\u59d4\u8a17\u50f9\u683c). \u8173\u672c\u958b\u59cb\u57f7\u884c\u6642, \u5546\u54c1\u7684Position\u9810\u8a2d\u6578\u503c\u662f0, \u7576\u6211\u5011\u60f3\u8981\u8cb7\u9032\u6642, \u5c31\u900f\u904eSetPosition\u628aPosition\u8b8a\u5927, \u60f3\u8981\u8ce3\u51fa\u6642, \u5c31\u900f\u904eSetPosition\u628aPosition\u8b8a\u5c0f. \u7cfb\u7d71\u6536\u5230\u4e86SetPosition()\u7684\u547c\u53eb\u4e4b\u5f8c, \u5c31\u6703\u4f9d\u7167\u76ee\u524d\u7684Position, \u76ee\u524d\u59d4\u8a17\/\u6210\u4ea4\u7684\u57f7\u884c\u72c0\u614b, \u6c7a\u5b9a\u5982\u4f55\u9001\u55ae, \u4f86\u8b93\u4f60\u7684\u7b56\u7565\u53ef\u4ee5\u9054\u5230(\u6210\u4ea4)\u9019\u500b\u65b0\u7684\u9810\u671f\u7684\u90e8\u4f4d.<\/p>\n<p class=\"brush:xs\">SetPosition()\u53ef\u4ee5\u63a5\u53d7\u5169\u500b\u53c3\u6578: \u7b2c\u4e00\u500b\u53c3\u6578\u662f\u9810\u671f\u7684\u90e8\u4f4d, \u7b2c\u4e8c\u500b\u53c3\u6578\u662f\u59d4\u8a17\u7684\u50f9\u683c, \u9019\u500b\u53c3\u6578\u5982\u679c\u4e0d\u50b3\u7684\u8a71, \u5247\u6703\u63a1\u7528\u7b56\u7565\u7684\u9810\u8a2d\u8cb7\u9032\/\u8ce3\u51fa\u50f9\u683c \u8acb\u770b\u4ee5\u4e0b\u7bc4\u4f8b\uff0c\u628a\u90e8\u4f4d(Position)\u8b8a\u62101, \u5982\u679c\u539f\u5148\u90e8\u4f4d\u662f0\u7684\u8a71, \u5247\u7b49\u65bc\u8cb7\u90321\u5f35 \u7b2c\u4e8c\u500b\u53c3\u6578(\u59d4\u8a17\u50f9\u683c)\u5982\u679c\u4e0d\u50b3\u7684\u8a71, \u5247\u4f7f\u7528\u7b56\u7565\u8a2d\u5b9a\u5167\u7684\u9810\u8a2d\u50f9\u683c SetPosition(1);<\/p>\n<p>\u7b2c\u4e8c\u500b\u53c3\u6578\u53ef\u4ee5\u50b3\u5165\u50f9\u683c, MARKET\u662f\u7cfb\u7d71\u4fdd\u7559\u5b57, \u4ee3\u8868\u662f&#8217;\u5e02\u50f9'(\u671f\u8ca8\u7684\u8a71\u5247\u6703\u662f&#8217;\u7bc4\u570d\u5e02\u50f9&#8217;)<\/p>\n<pre class=\"brush:xs\">SetPosition(1, MARKET);<\/pre>\n<p>\u4e5f\u53ef\u4ee5\u50b3\u5165K\u68d2\u7684\u50f9\u683c, \u4f8b\u5982Close<\/p>\n<pre class=\"brush:xs\">SetPosition(1, Close);<\/pre>\n<p>\u4e5f\u53ef\u4ee5\u50b3\u5165\u6578\u503c\u904b\u7b97\u5f0f<\/p>\n<pre class=\"brush:xs\">SetPosition(1, Close + 1.0);<\/pre>\n<p>\u4e5f\u53ef\u4ee5\u50b3\u5165\u7d55\u5c0d\u503c, \u4f8b\u5982100.0<\/p>\n<pre class=\"brush:xs\">SetPosition(1, 100.0);<\/pre>\n<p>\u652f\u63f4\u6a94\u4f4d\u63db\u7b97\u529f\u80fd(AddSpread) AddSpread(Close, 1)\u8868\u793a\u662fClose\u50f9\u683c\u5f80\u4e0a\u52a01\u6a94, AddSpread(Close, 2)\u8868\u793a\u52a02\u6a94 AddSpread(Close, -1)\u8868\u793a\u662fClose\u50f9\u683c\u5f80\u4e0b\u6e1b1\u6a94 AddSpread\u4e5f\u53ef\u4ee5\u7528\u5728\u8b66\u793a\u8173\u672c, \u4ee5\u53ca\u6307\u6a19\u8173\u672c\uff0c\u4f8b\u5982\u6211\u5011\u5982\u679c\u5728\u7a7a\u624b\u6642\u8981\u7528\u73fe\u50f9\u52a0\u4e00\u6a94\u8cb7\u9032\u4e00\u5f35\uff0c\u5c31\u53ef\u4ee5\u50cf\u4e0b\u9762\u9019\u9ebc\u5beb<\/p>\n<pre class=\"brush:xs\">SetPosition(1, AddSpread(Close, 1));<\/pre>\n<p>Position\u4e5f\u53ef\u4ee5\u662f\u8ca0\u7684, \u5982\u679c\u539f\u5148\u90e8\u4f4d\u662f0\u7684\u8a71, \u5247\u7b49\u65bc\u8ce3\u51fa1\u5f35<\/p>\n<pre class=\"brush:xs\">SetPosition(-1);<\/pre>\n<p>\u9664\u4e86\u53ef\u4ee5SetPosition\u4e4b\u5916, \u4e5f\u53ef\u4ee5\u8b80\u5230\u76ee\u524d\u7684Position\uff0c\u6240\u4ee5\u5982\u679c\u8981\u52a0\u78bc\u4e00\u5f35\uff0c\u53ef\u4ee5\u50cf\u4e0b\u9762\u9019\u6a23\u7684\u5beb\u6cd5<\/p>\n<pre class=\"brush:xs\">SetPosition(Position+1)<\/pre>\n<p class=\"brush:xs\">\u8868\u793a\u662f\u52a0\u78bc1\u5f35<\/p>\n<p class=\"brush:xs\">SetPosition\u7684\u50f9\u683c\u5982\u679c\u4e0d\u7b26\u5408\u5546\u54c1\u7684\u4ea4\u6613\u898f\u5247\u7684\u8a71, \u7cfb\u7d71\u6703\u81ea\u52d5\u8f49\u63db, \u4f8b\u5982: \u5982\u679c\u8d85\u904e\u6f32\u505c\u50f9, \u5247\u53ea\u6703\u9001\u51fa\u6f32\u505c\u50f9, \u4f8b\u5982: \u5982\u679c\u4e0d\u7b26\u5408\u8df3\u52d5\u9ede\u7684\u8a71, \u5247\u6703\u81ea\u52d5\u8f49\u63db\u5230\u7b26\u5408\u8df3\u52d5\u9ede\u50f9\u683c SetPosition(1, 123.1);<\/p>\n<p>\u5982\u679c\u662f\u8cb7\u9032\u53f0\u80a1\u7684\u8a71, \u56e0\u70ba\u4e0a\u767e\u5143\u7684\u8a71\u662f\u6bcf0.5\u5143\u4e00\u6a94\uff0c\u6240\u4ee5\u6703\u9001\u51fa\u59d4\u8a17\u50f9\u683c=123<\/p>\n<p>\u770b\u5230\u9019\u88e1\uff0c\u5404\u4f4d\u61c9\u8a72\u53ef\u4ee5\u4e86\u89e3\uff0cXQ\u7684\u4ea4\u6613\u8a9e\u6cd5\uff0c\u57fa\u672c\u4e0a\u5c31\u662f\u900f\u904eSetposition\u9019\u500b\u51fd\u6578\uff0c\u53bb\u628a\u90e8\u4f4d\u8abf\u6574\u5230\u4f60\u5fc3\u76ee\u4e2d\u7684\u7406\u60f3\u90e8\u4efd\uff0c\u50cf\u5982\u4f60\u60f3\u5168\u90e8\u5e73\u5009\uff0c\u4f60\u4e0d\u7528\u8a18\u76ee\u524d\u5eab\u5b58\u6709\u591a\u5c11\u5f35\uff0c\u53ea\u8981\u76f4\u63a5\u5bebsetposition(0,market)\uff0c\u5c31\u4ee3\u8868\u7528\u5e02\u50f9\u5e73\u5009\uff0c\u5bebsetposition(0,AddSpread(Close, -2))\u5c31\u4ee3\u8868\u7528\u73fe\u50f9\u4f4e\u5169\u6a94\u5e73\u5009\uff0c\u628a\u500b\u80a1\u7684\u5eab\u5b58\u90e8\u4f4d\u780d\u52300<\/p>\n<p>\u9019\u6a23\u7684\u8a9e\u6cd5\u975e\u5e38\u7c21\u6f54\uff0c\u4e0d\u5fc5\u5728\u90a3\u908abuy \u5566\u00a0 \u00a0sell\u5566\uff0c@market\u5566\uff0c\u5df4\u5566\u5427\u5566\u7684\u5beb\u7684\u843d\u843d\u9577\uff0c\u4f8b\u5982\u6211\u5011\u5982\u679c\u8981\u5728\u80a1\u50f9\u7a81\u7834\u6708\u7dda\u6642\u5e02\u50f9\u9032\u5834\u8cb7\u9032\u4e00\u5f35\uff0c\u90a3\u5c31\u53ef\u4ee5\u76f4\u63a5\u5beb<\/p>\n<pre class=\"brush:xs\">if close cross over average(close,22) then\u00a0 setposition(1,market);<\/pre>\n<p>\u9019\u6a23\u662f\u4e0d\u662f\u5f88\u7c21\u6f54\u4e14\u6613\u65bc\u8655\u7406\u5462?<\/p>\n<p>&nbsp;<\/p>\n<h2>\u4e8c\uff0cfilled<\/h2>\n<p>Filled\u662fPosition\u7684\u53e6\u5916\u4e00\u500b\u670b\u53cb, \u4ee3\u8868\u9019\u500b\u7b56\u7565\u5167\/\u9019\u500b\u57f7\u884c\u5546\u54c1\u7684\u6210\u4ea4\u90e8\u4f4d<\/p>\n<p>\u7576\u8173\u672c\u57f7\u884cSetPosition(1)\u5f8c, \u6703\u9001\u51fa\u4e00\u7b46\u8cb7\u90321\u5f35\u7684\u59d4\u8a17,<\/p>\n<p>\u5982\u679c\u6b64\u6642\u5c1a\u672a\u6210\u4ea4\u7684\u8a71, Position\u6703\u7b49\u65bc1, \u53ef\u662fFilled\u6703\u7b49\u65bc0<br \/>\n\u5982\u679c\u9019\u4e00\u7b46\u59d4\u8a17\u55ae\u6210\u4ea4\u7684\u8a71, \u5247Position\u6703\u7b49\u65bc1, Filled\u4e5f\u6703\u7b49\u65bc1<\/p>\n<p>\u5982\u679c\u8173\u672c\u5167\u60f3\u8981\u5224\u65b7\u76ee\u524d\u6210\u4ea4\u72c0\u614b\u7684\u8a71, \u5c31\u53ef\u4ee5\u900f\u904e\u8b80\u53d6Filled\u9019\u500b\u8b8a\u6578\u4f86\u5224\u65b7.\u4f8b\u5982\u7576\u76ee\u524d\u90e8\u4f4d\u662f\u96f6\u7684\u6642\u5019\uff0c\u4e0b\u9762\u7684\u5e7e\u7a2e\u5beb\u6cd5\uff0c\u4ee3\u8868\u4e0d\u540c\u7684\u610f\u7fa9<\/p>\n<pre class=\"brush:xs\">if Position = 1 and Filled = 1 then begin\r\n{ \u5df2\u7d93\u9001\u51fa\u4e00\u7b46\u8cb7\u90321\u5f35\u7684\u59d4\u8a17, \u800c\u4e14\u9019\u4e00\u7b46\u59d4\u8a17\u5df2\u7d93\u6210\u4ea4 }\r\n\r\nend;\r\n\r\n\r\n<\/pre>\n<pre class=\"brush:xs\">if Position = 1 and Filled = 0 then begin\r\n{ \u5df2\u7d93\u9001\u51fa\u4e00\u7b46\u8cb7\u90321\u5f35\u7684\u59d4\u8a17, \u53ef\u662f\u9084\u6c92\u6709\u6210\u4ea4}\r\n\r\nend;<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"brush:xs\">if Position = -1 and Filled = 0 then begin\r\n{ \u5df2\u7d93\u9001\u51fa\u4e00\u7b46\u8ce3\u51fa1\u5f35\u7684\u59d4\u8a17, \u53ef\u662f\u9084\u6c92\u6709\u6210\u4ea4 }\r\n\r\nend;<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"brush:xs\">if Position = -1 and Filled = -1 then begin\r\n{ \u5df2\u7d93\u9001\u51fa\u4e00\u7b46\u8ce3\u51fa1\u5f35\u7684\u59d4\u8a17, \u800c\u4e14\u9019\u4e00\u7b46\u59d4\u8a17\u5df2\u7d93\u6210\u4ea4 }\r\n\r\n{ Filled\u8ddfPosition\u4e00\u6a23, \u53ef\u80fd\u6703\u5927\u65bc0, \u4e5f\u53ef\u80fd\u6703\u5c0f\u65bc0 }\r\n\r\nend;<\/pre>\n<h2>\u4e09\uff0cfilledavgprice<\/h2>\n<p>\u9664\u4e86\u53ef\u4ee5\u4f7f\u7528Filled\u4f86\u77e5\u9053\u76ee\u524d\u7684\u6210\u4ea4\u90e8\u4f4d\u4e4b\u5916,\u4e5f\u53ef\u4ee5\u900f\u904eFilledAvgPrice\u9019\u500b\u51fd\u6578\u4f86\u53d6\u5f97\u76ee\u524d&#8221;\u672a\u5e73\u5009&#8221;\u90e8\u4f4d\u7684\u6210\u672c<\/p>\n<p>\u7bc4\u4f8b: \u591a\u55ae1\u53e3\u9032\u5834\u5f8c, +1.5%\u505c\u5229, -1.5%\u505c\u640d<\/p>\n<pre class=\"brush:xs\">var: \r\nlong_condition(false); { \u662f\u5426\u505a\u591a }\r\n\r\nif Position = 0 and long_condition then SetPosition(1);\r\n\r\nif Position = 1 and Filled = 1 then begin \r\n{ \u591a\u55ae\u5df2\u7d93\u8cb7\u90321\u53e3 }\r\n\r\n{ \u8a08\u7b97\u640d\u76ca% }\r\nvar: plratio(0);\r\n\r\n{ \r\n\u8acb\u6ce8\u610f: \u4e0d\u7ba1Filled\u662f\u5927\u65bc0\u9084\u662f\u5c0f\u65bc0, FilledAvgPrice\u7684\u6578\u503c\u90fd\u662f'\u6b63\u6578'(&gt;0) \r\n}\r\nplratio = 100 * (Close - FilledAvgPrice) \/ FilledAvgPrice;\r\n\r\nif plratio &gt;= 1.5 then SetPosition(0); { \u505c\u5229 }\r\nif plratio &lt;= -1.5 then SetPosition(0); { \u505c\u640d }\r\nend;\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u76ee\u524d\u8a08\u7b97\u672a\u5e73\u5009\u6210\u672c\u7684\u65b9\u5f0f\u662f\u63a1\u7528**\u5148\u9032\u5148\u51fa\u7684\u6c96\u92b7\u65b9\u5f0f**\u4f86\u8a08\u7b97, \u4ee5\u4e0b\u662f\u6c96\u92b7\u9806\u5e8f\u7684\u7bc4\u4f8b:<\/p>\n<p>\u7bc4\u4f8b#1<\/p>\n<p>\u5047\u8a2d\u7b56\u7565\u57f7\u884c\u904e\u7a0b\u7e3d\u5171\u7522\u751f\u4e09\u7b46\u6210\u4ea4, \u4f9d\u7167\u6642\u9593\u5148\u5f8c\u9806\u5e8f, \u8cc7\u6599\u5206\u5225\u70ba<\/p>\n<p>&#8211; \u7b2c\u4e00\u7b46: \u8cb7\u90321\u5f35, \u6210\u4ea4\u50f9100\u5143,<br \/>\n&#8211; \u7b2c\u4e8c\u7b46: \u8cb7\u90321\u5f35, \u6210\u4ea4\u50f9102\u5143,<br \/>\n&#8211; \u7b2c\u4e09\u7b46: \u8ce3\u51fa1\u5f35, \u6210\u4ea4\u50f9101\u5143<\/p>\n<p>\u5728\u7b2c\u4e00\u7b46\u6210\u4ea4\u6642, Filled = 1, FilledAvgPrice = 100<br \/>\n\u5728\u7b2c\u4e8c\u7b46\u6210\u4ea4\u6642, Filled = 2, FilledAvgPrice = (100 + 102) \/ 2 = 101<br \/>\n\u5728\u7b2c\u4e09\u7b46\u6210\u4ea4\u6642, Filled = 1, FilledAvgPrice = 102 (\u7b2c\u4e09\u7b46-1\u6c96\u92b7\u7b2c\u4e00\u7b46+1, \u6240\u4ee5\u672a\u5e73\u5009\u5269\u4e0b\u7b2c\u4e8c\u7b461\u5f35, \u672a\u5e73\u5009\u6210\u672c=102)<\/p>\n<p>\u7bc4\u4f8b#2<\/p>\n<p>\u5047\u8a2d\u7b56\u7565\u57f7\u884c\u904e\u7a0b\u7e3d\u5171\u7522\u751f\u56db\u7b46\u6210\u4ea4, \u4f9d\u7167\u6642\u9593\u5148\u5f8c\u9806\u5e8f, \u8cc7\u6599\u5206\u5225\u70ba<\/p>\n<p>&#8211; \u7b2c\u4e00\u7b46: \u8cb7\u90322\u5f35, \u6210\u4ea4\u50f9100\u5143,<br \/>\n&#8211; \u7b2c\u4e8c\u7b46: \u8cb7\u90322\u5f35, \u6210\u4ea4\u50f9101\u5143,<br \/>\n&#8211; \u7b2c\u4e09\u7b46: \u8cb7\u90322\u5f35, \u6210\u4ea4\u50f9102\u5143,<br \/>\n&#8211; \u7b2c\u56db\u7b46: \u8ce3\u51fa3\u5f35, \u6210\u4ea4\u50f9101\u5143,<\/p>\n<p>\u5728\u7b2c\u4e00\u7b46\u6210\u4ea4\u6642, Filled = 2, FilledAvgPrice = 100<br \/>\n\u5728\u7b2c\u4e8c\u7b46\u6210\u4ea4\u6642, Filled = 4, FilledAvgPrice = (100*2 + 101*2) \/ 4 = 100.5<br \/>\n\u5728\u7b2c\u4e09\u7b46\u6210\u4ea4\u6642, Filled = 6, FilledAvgPrice = (100*2 + 101*2 + 102*2) \/ 6 = 101<br \/>\n\u5728\u7b2c\u56db\u7b46\u6210\u4ea4\u6642, Filled = 3, FilledAvgPrice = (101*1 + 102 * 2) \/ 3 = 101.66666<br \/>\n(\u7b2c\u4e00\u7b46\u6210\u4ea4\u76842\u5f35\u88ab\u6c96\u92b7, \u7b2c\u4e8c\u7b46\u6210\u4ea4\u76841\u5f35\u88ab\u6c96\u92b7)<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<h2>\u56db\uff0cFilledRecord\u51fd\u6578<\/h2>\n<p>\u9664\u4e86Filled\u8ddfFilledAvgPirce\u4e4b\u5916, \u7cfb\u7d71\u4e5f\u63d0\u4f9bFilledRecord\u76f8\u95dc\u7684\u51fd\u6578, \u8b93\u8173\u672c\u53ef\u4ee5\u53d6\u5f97\u6bcf\u4e00\u7b46\u6210\u4ea4\u7684\u8a73\u7d30\u8cc7\u6599<\/p>\n<p>FilledRecordCount: \u53d6\u5f97\u5546\u54c1\u57f7\u884c\u8fc4\u4eca\u7684\u6210\u4ea4\u7b46\u6578<\/p>\n<p>\u8acb\u6ce8\u610f:<\/p>\n<p>\u6210\u4ea4\u7b46\u6578\u6703\u5c0d\u61c9\u5230\u771f\u5be6\u7684\u4ea4\u6613\u7d00\u9304, \u4f8b\u5982\u8cb7\u90325\u5f35, \u5982\u679c\u5206\u4e09\u6b21\u6210\u4ea4, \u5206\u5225\u6210\u4ea42\u5f35, 2\u5f35, 1\u5f35,<br \/>\n\u90a3\u9ebcFilledRecordCount\u6703\u662f3<\/p>\n<p>value1 = FilledRecordCount; { \u56de\u50b3\u6210\u4ea4\u7b46\u6578 }<\/p>\n<p>\u53d6\u5f97\u6210\u4ea4\u7b46\u6578\u4e4b\u5f8c, \u5c31\u53ef\u4ee5\u4e00\u7b46\u4e00\u7b46\u628a\u6210\u4ea4\u7d00\u9304\u8cc7\u6599\u8b80\u51fa\u4f86<\/p>\n<p>FilledRecordDate(n): \u56de\u50b3\u7b2cn\u7b46\u6210\u4ea4\u7d00\u9304\u7684\u65e5\u671f, \u683c\u5f0f\u662fYYYYMMDD, \u4f8b\u598220200727 (2020\u5e747\u670827\u65e5)<br \/>\nFilledRecordTime(n): \u56de\u50b3\u7b2cn\u7b46\u6210\u4ea4\u7d00\u9304\u7684\u6642\u9593, \u683c\u5f0f\u662fHHMMSS, \u4f8b\u5982103000 (10\u9ede30\u52060\u79d2)<br \/>\nFilledRecordBS(n): \u56de\u50b3\u7b2cn\u7b46\u6210\u4ea4\u7d00\u9304\u7684\u8cb7\u8ce3\u5225, \u8cb7\u9032\u7684\u8a71\u662f1, \u8ce3\u51fa\u7684\u8a71\u662f-1<br \/>\nFilledRecordPrice(n):\u56de\u50b3\u7b2cn\u7b46\u6210\u4ea4\u7d00\u9304\u7684\u6210\u4ea4\u50f9\u683c, \u8acb\u6ce8\u610f\u9019\u500b\u6578\u503c\u7684\u6b63\u8ca0\u8ddf\u8cb7\u9032\/\u8ce3\u51fa\u7121\u95dc(\u4ee5\u53f0\u80a1\u4f86\u8aaa\u90fd\u6703 &gt; 0)<br \/>\nFilledRecordQty(n): \u56de\u50b3\u7b2cn\u7b46\u6210\u4ea4\u7d00\u9304\u7684\u6210\u4ea4\u6578\u91cf, \u8acb\u6ce8\u610f\u4e0d\u7ba1\u662f\u8cb7\u9032\u6216\u662f\u8ce3\u51fa, \u9019\u500b\u6578\u503c\u90fd\u662f &gt; 0\u7684\u6574\u6578<br \/>\nFilledRecordIsRealtime(n): \u56de\u50b3\u7b2cn\u7b46\u6210\u4ea4\u7d00\u9304\u662f\u5426\u662f\u5728\u5373\u6642\u5340\u9593\u6210\u4ea4\u7684, \u5982\u679c\u662f\u7684\u8a71\u56de\u50b31, \u5426\u5247\u56de\u50b30<\/p>\n<p>n\u7684\u7bc4\u570d\u5f9e1\u5230FilledRecordCount<\/p>\n<pre class=\"brush:xs\">var: idx(0);\r\n\r\nfor idx = 1 to FilledRecordCount begin\r\nvalue2 = FilledRecordDate(idx);\r\nvalue3 = FilledRecordTime(idx);\r\nvalue4 = FilledRecordBS(idx);\r\nvalue5 = FilledRecordPrice(idx);\r\nvalue6 = FilledRecordQty(idx); \r\nvalue7 = FilledRecordIsRealtime(idx);\r\nend;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u6839\u64da\u4ee5\u4e0a\u9019\u56db\u500b\u57fa\u790e\u8a9e\u6cd5\uff0c\u63a5\u4e0b\u4f86\u5c31\u8ddf\u5927\u5bb6\u5206\u4eab\u4e00\u4e9b\u6f14\u7b97\u6cd5\u4ea4\u6613\u5e38\u7528\u7684\u7a0b\u5f0f\u4f8b\u5b50<\/p>\n<h2>\u4e00\uff0cGAT\u8cb7\u9032\u55ae<\/h2>\n<p>GAT\u662fGood-after-Time\/Date\u7684\u7c21\u7a31\uff0c\u610f\u601d\u662f\u76f4\u5230\u8a2d\u5b9a\u7684\u65e5\u671f\/\u6642\u9593\u624d\u9001\u51fa\u59d4\u8a17\u55ae<\/p>\n<p>\u4e0b\u9762\u662fXQ\u91cf\u5316\u5e73\u53f0\u7684PM\u5beb\u7684\u7bc4\u4f8b\uff0c\u4f9b\u5927\u5bb6\u53c3\u8003<\/p>\n<pre class=\"brush:xs\">\/\/Good-after-Time\/Date (GAT)\u76f4\u5230\u8a2d\u5b9a\u7684\u65e5\u671f\/\u6642\u9593\u624d\u9001\u51fa\r\ninput:d1(20200115,\"\u8acb\u8f38\u5165\u751f\u6548\u65e5\u683c\u5f0fyyyymmdd\");\r\ninput:t1(090000,\"\u8acb\u8f38\u5165\u751f\u6548\u6642\u9593\u683c\u5f0fhhmmss\");\r\ninput:v1(1,\"\u8acb\u8f38\u5165\u8cb7\u9032\u5f35\u6578\");\r\n\r\nif d1 &lt; currentdate or d1 &gt; dateAdd(currentdate,\"Y\",1) or d1 &gt; 99999999 then RaiseRunTimeError(\"\u8acb\u6aa2\u67e5\u751f\u6548\u65e5\u671f\");\r\nif t1 &gt; 240000 then RaiseRunTimeError(\"\u8acb\u6aa2\u67e5\u751f\u6548\u6642\u9593\");\r\nif v1 &lt;= 0 then RaiseRunTimeError(\"\u8cb7\u9032\u5f35\u6578\u9700\u5927\u65bc0\");\r\n\r\nif currentdate * 1000000 + currenttime &gt;= d1 * 1000000 + t1\r\nthen setposition(v1,market);<\/pre>\n<h2>\u4e8c\uff0cGAT\u5e73\u5009\u55ae<\/h2>\n<p>\u9019\u7a2e\u4e0b\u55ae\u7684\u65b9\u5f0f\u662f\u7528\u5728\u50cf\u662f\u9664\u6b0a\u524d\uff0c\u6216\u662f\u6cd5\u8aaa\u6703\u7d50\u675f\u65e5\u7b49\u6307\u5b9a\u7279\u5b9a\u65e5\u671f\u8981\u5e73\u5009\u7684\u4e0b\u55ae\u65b9\u5f0f\uff0c\u7bc4\u4f8b\u5982\u4e0b<\/p>\n<pre class=\"brush:xs\">\/\/Good-after-Time\/Date (GAT)\u76f4\u5230\u8a2d\u5b9a\u7684\u65e5\u671f\/\u6642\u9593\u624d\u9001\u51fa\r\ninput:d1(20200115,\"\u8acb\u8f38\u5165\u751f\u6548\u65e5\u683c\u5f0fyyyymmdd\");\r\ninput:t1(090000,\"\u8acb\u8f38\u5165\u751f\u6548\u6642\u9593\u683c\u5f0fhhmmss\");\r\n\r\nif d1 &lt; currentdate or d1 &gt; dateAdd(currentdate,\"Y\",1) or d1 &gt; 99999999 then RaiseRunTimeError(\"\u8acb\u6aa2\u67e5\u751f\u6548\u65e5\u671f\");\r\nif t1 &gt; 240000 then RaiseRunTimeError(\"\u8acb\u6aa2\u67e5\u751f\u6548\u6642\u9593\");\r\n\r\nif currentdate * 1000000 + currenttime &gt;= d1 * 1000000 + t1\r\nthen setposition(0,market);<\/pre>\n<h2>\u4e09\uff0cGTC\u8cb7\u9032\u55ae<\/h2>\n<p>GTC \u662fGood till cancel\u7684\u7e2e\u5beb\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u8a2d\u5b9a\u7279\u5b9a\u50f9\u4f4d\u548c\u5f35\u6578\uff0c\u7136\u5f8c\u8b93\u7cfb\u7d71\u5e6b\u4f60\u76ef\u76e4\u8cb7\u5230\u4f60\u8a2d\u5b9a\u7684\u91cf<\/p>\n<pre class=\"brush:xs\">input:theposition(50,\"\u4ea4\u6613\u91d1\u984d\uff0c\u55ae\u4f4d\u842c\u5143\");\r\ninput:taprice(130,\"\u76ee\u6a19\u50f9\u4f4d\");\r\n\r\nvalue1=IntPortion(theposition*10\/open);\r\n\r\nif filled &lt; value1\r\nthen setposition(value1,taprice);<\/pre>\n<h2>\u56db\uff0cMIT\u8cb7\u9032\u55ae<\/h2>\n<pre class=\"brush:xs\">\/\/Market-if-Touched(MIT)\u82e5\u89f8\u5230\u7279\u5b9a\u50f9\u683c\u5373\u8f49\u70ba\u5e02\u50f9\u55ae\u3002\r\n\r\ninput:v1(1,\"\u8cb7\u9032\u5f35\u6578\");\r\ninput:p1(50,\"\u89f8\u767c\u50f9\u4f4d\");\r\nif close&gt;=p1 \r\nthen setposition(v1,market);<\/pre>\n<h2>\u4e94\uff0cMPM\u8cb7\u55ae<\/h2>\n<pre class=\"brush:xs\">\/\/Midpoint Match (MPM)\u4ee5\u8cb7\u8ce3\u5831\u50f9\u7684\u7684\u4e2d\u9593\u50f9\u683c\u4ea4\u6613\r\ninput:v1(1,\"\u8acb\u8f38\u5165\u8cb7\u9032\u5f35\u6578\");\r\nsetposition(v1, (q_BestAsk1+q_BestBid1)\/2);<\/pre>\n<h2>\u516d\uff0c\u4f5c\u591a\u6383\u55ae<\/h2>\n<pre class=\"brush:xs\">value1=q_BestAskSize1;\r\nvalue2=value1+q_BestAskSize2;\r\nvalue3=value2+q_BestAskSize3;\r\nvalue4=value3+q_BestAskSize4;\r\nvalue5=value4+q_BestAskSize5;\r\n\r\ninput:v1(499,\"\u6383\u55ae\u5f35\u6578\");\r\nif v1&lt;value1\r\nthen setposition(q_BestAsk1,v1)\r\nelse if v1&lt;value2\r\nthen setposition(q_BestAsk2,v1)\r\nelse if v1&lt;value3\r\nthen setposition(q_BestAsk3,v1)\r\nelse if v1&lt;value4\r\nthen setposition(q_BestAsk4,v1)\r\nelse if v1&lt;value5\r\nthen setposition(q_BestAsk5,v1);<\/pre>\n<h2>\u4e03\uff0c\u958b\u76e4\u5e02\u50f9\u8cb7\u9032<\/h2>\n<pre class=\"brush:xs\">input:theposition(50,\"\u8cb7\u9032\u91d1\u984d\uff0c\u55ae\u4f4d\u842c\u5143\");\r\ninput:t1(090000,\"\u8acb\u8f38\u5165\u57f7\u884c\u6642\u9593\uff0c\u683c\u5f0fhhmmss\");\r\n\r\nvalue1=IntPortion(theposition*10\/open);\r\n\r\nif time&gt;=090000\r\nthen setposition(value1,market);<\/pre>\n<h2>\u516b\uff0c\u6536\u76e4\u5e02\u50f9\u5e73\u5009<\/h2>\n<pre class=\"brush:xs\">input:t1(132955,\"\u8acb\u8f38\u5165\u57f7\u884c\u6642\u9593\uff0c\u683c\u5f0fhhmmss\");\r\n\r\nif time&gt;=t1\r\nthen setposition(0,market);<\/pre>\n<p>\u4ee5\u4e0a\u662fXQ\u91cf\u5316\u5e73\u53f0\u7684\u4ea4\u6613\u8a9e\u6cd5\uff0c\u672a\u4f86\u6709\u65b0\u7684\u7bc4\u4f8b\u6216\u8a9e\u6cd5\uff0c\u4e5f\u6703\u589e\u52a0\u5728\u9019\u4e00\u7bc7\u8aaa\u660e\u4e2d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.xq.com.tw\/module.aspx\">XQ\u8d85\u4eba\u6c23\u52a0\u503c\u6a21\u7d44\u4ecb\u7d39<\/a><\/p>\n<p><a href=\"https:\/\/www.xq.com.tw\/xstrader\/xq%e5%85%a8%e7%90%83%e8%b4%8f%e5%ae%b6%e6%89%8b%e6%a9%9f%e7%89%88%e5%8f%af%e4%bb%a5%e6%94%af%e6%8f%b4%e4%b8%8b%e5%96%ae%e4%ba%86\/\">XQ\u624b\u6a5f\u7248\u652f\u63f4\u4e0b\u55ae<\/a><\/p>\n<p><a href=\"https:\/\/www.xq.com.tw\/xstrader\/xslearnmap\/\">XQ\u91cf\u5316\u4ea4\u6613\u5e73\u53f0\u5b78\u7fd2\u5730\u5716<\/a><\/p>\n<p><a href=\"https:\/\/www.pscnet.com.tw\/pscnetStock\/ajaxAppOpen.do\">\u7d71\u4e00\u8b49\u5238\u958b\u6236\u9023\u7d50<\/a><\/p>\n<p><a href=\"https:\/\/goplus.capital.com.tw\/\">\u7fa4\u76ca\u91d1\u9f0e\u8b49\u5238\u958b\u6236\u9023\u7d50<\/a><\/p>\n<p>XQ\u5168\u7403\u8d0f\u5bb6<a href=\"https:\/\/www.xq.com.tw\/XQlite-Download.aspx\">\u4e0b\u8f09\u9023\u7d50<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>XQ\u4ea4\u6613\u8a9e\u6cd5\uff0c\u662f\u5c08\u9580\u70baXQ\u91cf\u5316\u4ea4\u6613\u5e73\u53f0\u6240\u8a2d\u8a08\u7684\u4ea4\u6613\u8a9e\u6cd5\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u900f\u904e\u9019\u500b\u8a9e\u6cd5\uff0c\u4f86\u8b93\u96fb\u8166\u5728\u6307\u5b9a\u7684\u50f9\u4f4d\u6216\u689d\u4ef6\u4e0b\uff0c\u81ea\u52d5\u57f7\u884c\u9032\u5834\uff0c\u52a0\u78bc\uff0c\u6e1b\u78bc\uff0c\u5e73\u5009\u7b49\u5404\u7a2e\u4e0d\u540c\u6210\u4ea4\u6578\u91cf\u7684\u4ea4\u6613\u52d5\u4f5c\u3002 XQ\u4ea4\u6613\u8a9e\u6cd5\u4e3b\u8981\u662f\u7531\u5e7e\u500b\u6838\u5fc3\u7684\u8a9e\u6cd5\u6240\u5efa\u69cb\u800c\u6210 \u4e00\uff0cSetposition(\u6578\u91cf,\u50f9\u683c\uff09 Position\u4ee3\u8868\u7684\u662f\u9019\u500b\u5546\u54c1\u5728\u9019\u500b\u7b56\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/\">\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":[43],"tags":[],"class_list":["post-11377","post","type-post","status-publish","format-standard","hentry","category-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0 - 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\/xq\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0\/\" \/>\r\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0 - XQ\u5b98\u65b9\u90e8\u843d\u683c\" \/>\r\n<meta property=\"og:description\" content=\"XQ\u4ea4\u6613\u8a9e\u6cd5\uff0c\u662f\u5c08\u9580\u70baXQ\u91cf\u5316\u4ea4\u6613\u5e73\u53f0\u6240\u8a2d\u8a08\u7684\u4ea4\u6613\u8a9e\u6cd5\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u900f\u904e\u9019\u500b\u8a9e\u6cd5\uff0c\u4f86\u8b93\u96fb\u8166\u5728\u6307\u5b9a\u7684\u50f9\u4f4d\u6216\u689d\u4ef6\u4e0b\uff0c\u81ea\u52d5\u57f7\u884c\u9032\u5834\uff0c\u52a0\u78bc\uff0c\u6e1b\u78bc\uff0c\u5e73\u5009\u7b49\u5404\u7a2e\u4e0d\u540c\u6210\u4ea4\u6578\u91cf\u7684\u4ea4\u6613\u52d5\u4f5c\u3002 XQ\u4ea4\u6613\u8a9e\u6cd5\u4e3b\u8981\u662f\u7531\u5e7e\u500b\u6838\u5fc3\u7684\u8a9e\u6cd5\u6240\u5efa\u69cb\u800c\u6210 \u4e00\uff0cSetposition(\u6578\u91cf,\u50f9\u683c\uff09 Position\u4ee3\u8868\u7684\u662f\u9019\u500b\u5546\u54c1\u5728\u9019\u500b\u7b56\u2026 \u95b1\u8b80\u66f4\u591a &raquo;\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/www.xq.com.tw\/xstrader\/xq\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0\/\" \/>\r\n<meta property=\"og:site_name\" content=\"XQ\u5b98\u65b9\u90e8\u843d\u683c\" \/>\r\n<meta property=\"article:published_time\" content=\"2021-03-17T03:41:25+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2021-04-21T23:25:43+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2021\/03\/\u4ea4\u6613\u8a9e\u6cd5\u6574\u7406.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"1848\" \/>\r\n\t<meta property=\"og:image:height\" content=\"749\" \/>\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=\"2 \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\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/\"},\"author\":{\"name\":\"\u767c\u8ca1\u6a58\u5b50\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72\"},\"headline\":\"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0\",\"datePublished\":\"2021-03-17T03:41:25+00:00\",\"dateModified\":\"2021-04-21T23:25:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/\"},\"wordCount\":144,\"articleSection\":[\"\u7a0b\u5f0f\u7684\u8f38\u51fa\u529f\u80fd\"],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/\",\"url\":\"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/\",\"name\":\"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0 - XQ\u5b98\u65b9\u90e8\u843d\u683c\",\"isPartOf\":{\"@id\":\"https:\/\/www.xq.com.tw\/xstrader\/#website\"},\"datePublished\":\"2021-03-17T03:41:25+00:00\",\"dateModified\":\"2021-04-21T23:25:43+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\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/\"]}]},{\"@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":"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0 - 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\/xq\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0\/","og_locale":"zh_TW","og_type":"article","og_title":"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0 - XQ\u5b98\u65b9\u90e8\u843d\u683c","og_description":"XQ\u4ea4\u6613\u8a9e\u6cd5\uff0c\u662f\u5c08\u9580\u70baXQ\u91cf\u5316\u4ea4\u6613\u5e73\u53f0\u6240\u8a2d\u8a08\u7684\u4ea4\u6613\u8a9e\u6cd5\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u900f\u904e\u9019\u500b\u8a9e\u6cd5\uff0c\u4f86\u8b93\u96fb\u8166\u5728\u6307\u5b9a\u7684\u50f9\u4f4d\u6216\u689d\u4ef6\u4e0b\uff0c\u81ea\u52d5\u57f7\u884c\u9032\u5834\uff0c\u52a0\u78bc\uff0c\u6e1b\u78bc\uff0c\u5e73\u5009\u7b49\u5404\u7a2e\u4e0d\u540c\u6210\u4ea4\u6578\u91cf\u7684\u4ea4\u6613\u52d5\u4f5c\u3002 XQ\u4ea4\u6613\u8a9e\u6cd5\u4e3b\u8981\u662f\u7531\u5e7e\u500b\u6838\u5fc3\u7684\u8a9e\u6cd5\u6240\u5efa\u69cb\u800c\u6210 \u4e00\uff0cSetposition(\u6578\u91cf,\u50f9\u683c\uff09 Position\u4ee3\u8868\u7684\u662f\u9019\u500b\u5546\u54c1\u5728\u9019\u500b\u7b56\u2026 \u95b1\u8b80\u66f4\u591a &raquo;","og_url":"https:\/\/www.xq.com.tw\/xstrader\/xq\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0\/","og_site_name":"XQ\u5b98\u65b9\u90e8\u843d\u683c","article_published_time":"2021-03-17T03:41:25+00:00","article_modified_time":"2021-04-21T23:25:43+00:00","og_image":[{"width":1848,"height":749,"url":"https:\/\/www.xq.com.tw\/xstrader\/wp-content\/uploads\/2021\/03\/\u4ea4\u6613\u8a9e\u6cd5\u6574\u7406.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":"2 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/#article","isPartOf":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/"},"author":{"name":"\u767c\u8ca1\u6a58\u5b50","@id":"https:\/\/www.xq.com.tw\/xstrader\/#\/schema\/person\/1179ebd6266b82f223caff0ba306fe72"},"headline":"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0","datePublished":"2021-03-17T03:41:25+00:00","dateModified":"2021-04-21T23:25:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/"},"wordCount":144,"articleSection":["\u7a0b\u5f0f\u7684\u8f38\u51fa\u529f\u80fd"],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/","url":"https:\/\/www.xq.com.tw\/xstrader\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/","name":"XQ\u4ea4\u6613\u8a9e\u6cd5\u5c08\u7ae0 - XQ\u5b98\u65b9\u90e8\u843d\u683c","isPartOf":{"@id":"https:\/\/www.xq.com.tw\/xstrader\/#website"},"datePublished":"2021-03-17T03:41:25+00:00","dateModified":"2021-04-21T23:25:43+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\/xq%e4%ba%a4%e6%98%93%e8%aa%9e%e6%b3%95%e5%b0%88%e7%ab%a0\/"]}]},{"@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\/11377","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=11377"}],"version-history":[{"count":17,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/posts\/11377\/revisions"}],"predecessor-version":[{"id":11813,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/posts\/11377\/revisions\/11813"}],"wp:attachment":[{"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/media?parent=11377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/categories?post=11377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xq.com.tw\/xstrader\/wp-json\/wp\/v2\/tags?post=11377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}