{"id":87490,"date":"2026-07-30T13:16:39","date_gmt":"2026-07-30T05:16:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/87490.html"},"modified":"2026-07-30T13:16:39","modified_gmt":"2026-07-30T05:16:39","slug":"%e5%8f%af%e7%9b%b4%e6%8e%a5%e5%9b%9e%e6%b5%8b%ef%bc%81ptrade-%e5%bc%ba%e5%8a%bf-etf-%e5%91%a8%e5%ba%a6%e8%bd%ae%e5%8a%a8%e7%a8%8b%e5%ba%8f%e5%8c%96%e4%ba%a4%e6%98%93%e7%ad%96%e7%95%a5%e5%85%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/87490.html","title":{"rendered":"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3"},"content":{"rendered":"<h3>\u6587\u7ae0\u7b80\u4ecb<\/h3>\n<p>\u672c\u6587\u57fa\u4e8e\u00a0Ptrade \u91cf\u5316\u5e73\u53f0&#xff0c;\u642d\u5efa\u4e00\u5957\u53ef\u76f4\u63a5\u56de\u6d4b\u3001\u4eff\u771f\u8fd0\u884c\u7684\u5468\u5ea6\u5f3a\u52bf ETF \u8f6e\u52a8\u7b56\u7565\u3002\u6838\u5fc3\u903b\u8f91&#xff1a;\u6bcf\u5468\u7b5b\u9009 20 \u65e5\u6da8\u5e45\u6700\u5f3a 2 \u53ea ETF&#xff0c;7:3 \u8d44\u91d1\u914d\u6bd4\u4e70\u5165&#xff0c;\u6bcf\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5\u5168\u90e8\u6e05\u4ed3&#xff0c;\u5faa\u73af\u6eda\u52a8\u505a\u8d8b\u52bf\u77ed\u7ebf\u3002\u5168\u6587\u9644\u5e26\u5b8c\u6574\u53ef\u8fd0\u884c\u4ee3\u7801\u3001\u51fd\u6570\u62c6\u89e3\u3001\u8282\u5047\u65e5\u81ea\u52a8\u9002\u914d\u903b\u8f91\u4e0e\u5b9e\u64cd\u907f\u5751\u8981\u70b9&#xff0c;\u65b0\u624b\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u6539\u9020\u3002<\/p>\n<p>\u9002\u7528\u4eba\u7fa4&#xff1a;Ptrade \u91cf\u5316\u5b66\u4e60\u8005\u3001ETF \u8d8b\u52bf\u4ea4\u6613\u8005\u3001\u7a0b\u5e8f\u5316\u81ea\u52a8\u5316\u4ea4\u6613\u7231\u597d\u8005<\/p>\n<p>\u5e73\u53f0&#xff1a; Ptrade Python \u91cf\u5316\u63a5\u53e3<\/p>\n<p>\u7b56\u7565\u7c7b\u578b&#xff1a;\u5468\u5ea6\u8d8b\u52bf\u8f6e\u52a8\u3001\u52a8\u91cf\u7b56\u7565<\/p>\n<h3>\u4e00\u3001\u7b56\u7565\u6838\u5fc3\u903b\u8f91<\/h3>\n<p>\u6574\u5957\u7b56\u7565\u6781\u7b80\u6613\u61c2&#xff0c;\u5b8c\u5168\u8d34\u5408 A \u80a1 ETF T&#043;1 \u4ea4\u6613\u89c4\u5219&#xff0c;\u65e0\u65e5\u5185\u9891\u7e41\u4ea4\u6613\u98ce\u9669&#xff1a;<\/p>\n<li>\u9009\u80a1\u89c4\u5219&#xff1a;\u6bcf\u5468\u9996\u4e2a\u4ea4\u6613\u65e5&#xff0c;\u904d\u5386 ETF \u5019\u9009\u6c60&#xff0c;\u8ba1\u7b97\u6240\u6709\u6807\u7684\u8fd1 20 \u4e2a\u4ea4\u6613\u65e5\u6da8\u8dcc\u5e45&#xff0c;\u53d6\u6da8\u5e45\u524d 2 \u540d\u5f3a\u52bf\u6807\u7684&#xff1b;<\/li>\n<li>\u8d44\u91d1\u5206\u914d&#xff1a;\u7b2c\u4e00\u540d\u5206\u914d 70% \u53ef\u7528\u8d44\u91d1&#xff0c;\u7b2c\u4e8c\u540d\u5206\u914d 30%&#xff0c;\u53ef\u81ea\u884c\u4fee\u6539\u6743\u91cd&#xff1b;<\/li>\n<li>\u5356\u51fa\u89c4\u5219&#xff1a;\u6bcf\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5 14:55 \u7edf\u4e00\u6e05\u4ed3\u5168\u90e8\u6301\u4ed3&#xff0c;\u9884\u7559 5 \u5206\u949f\u6210\u4ea4\u65f6\u95f4&#xff1b;<\/li>\n<li>\u5faa\u73af\u6267\u884c&#xff1a;\u6b21\u5468\u91cd\u590d\u9009\u80a1\u3001\u4e70\u5165\u3001\u6e05\u4ed3\u6d41\u7a0b&#xff0c;\u6301\u7eed\u8ddf\u8e2a\u5e02\u573a\u5f3a\u52bf\u677f\u5757 ETF&#xff1b;<\/li>\n<li>\u7279\u8272\u9002\u914d&#xff1a;\u5185\u7f6e\u4ea4\u6613\u65e5\u5224\u65ad\u51fd\u6570&#xff0c;\u81ea\u52a8\u8df3\u8fc7\u5468\u672b\u3001\u6cd5\u5b9a\u8282\u5047\u65e5&#xff0c;\u5468\u4e00\u4f11\u5e02\u5219\u987a\u5ef6\u81f3\u8282\u540e\u9996\u4e2a\u4ea4\u6613\u65e5\u3002<\/li>\n<h3>\u4e8c\u3001\u5b8c\u6574\u7b56\u7565\u4ee3\u7801<\/h3>\n<p># 1. \u5bfc\u5165\u4f9d\u8d56\u5e93<br \/>\nimport datetime<br \/>\nimport pandas as pd<br \/>\nfrom datetime import date<br \/>\nfrom datetime import timedelta<br \/>\nimport numpy as np<\/p>\n<p># 2. \u7b56\u7565\u521d\u59cb\u5316\u51fd\u6570&#xff0c;\u7a0b\u5e8f\u542f\u52a8\u4ec5\u6267\u884c\u4e00\u6b21<br \/>\ndef initialize(context):<br \/>\n    # ETF\u5019\u9009\u6c60&#xff0c;\u81ea\u884c\u586b\u5145\u6caa\u5e02\/\u6df1\u5e02ETF\u4ee3\u7801&#xff0c;\u793a\u4f8b&#xff1a;[&#034;510300.SS&#034;,&#034;159915.SZ&#034;]<br \/>\n    g.security_list &#061; []<br \/>\n    set_universe(g.security_list)<\/p>\n<p>    # \u5168\u5c40\u7f13\u5b58\u53d8\u91cf<br \/>\n    g.trade_days_list &#061; get_trade_days(&#039;2015-01-01&#039;, &#039;2025-10-31&#039;)  # \u4ea4\u6613\u65e5\u671f\u603b\u8868<br \/>\n    g.selected_stocks &#061; []  # \u6bcf\u5468\u7b5b\u9009\u51fa\u76842\u53eaETF<br \/>\n    g.weights &#061; [0.7, 0.3]  # \u8d44\u91d1\u5206\u914d\u6bd4\u4f8b<br \/>\n    g.hold_positions &#061; context.portfolio.positions  # \u5f53\u524d\u6301\u4ed3<\/p>\n<p>    # \u5b9a\u65f6\u4efb\u52a1&#xff1a;\u6bcf\u65e5\u56fa\u5b9a\u65f6\u95f4\u6267\u884c\u5bf9\u5e94\u51fd\u6570<br \/>\n    run_daily(context, buy_function, time&#061;&#039;9:31&#039;)    # \u5468\u521d9:31\u6267\u884c\u4e70\u5165<br \/>\n    run_daily(context, sell_function, time&#061;&#039;14:55&#039;)  # \u5468\u672b14:55\u6267\u884c\u6e05\u4ed3<\/p>\n<p># 3. \u6bcf\u65e5\u76d8\u524d\u6267\u884c&#xff1a;\u7b5b\u9009\u5f3a\u52bfETF\u3001\u6807\u8bb0\u672c\u5468\u9996\u5c3e\u4ea4\u6613\u65e5<br \/>\ndef before_trading_start(context, data):<br \/>\n    today &#061; get_trading_day(0)<br \/>\n    # \u5224\u65ad\u662f\u5426\u672c\u5468\u7b2c\u4e00\u4e2a\/\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5<br \/>\n    g.is_first &#061; is_first_trading_day_of_week(today)<br \/>\n    g.is_last &#061; is_last_trading_day_of_week(today)<br \/>\n    print(&#039;{}\u662f\u5426\u4e3a\u672c\u5468\u9996\u4e2a\u4ea4\u6613\u65e5: {}&#039;.format(today, g.is_first))<br \/>\n    print(&#039;{}\u662f\u5426\u4e3a\u672c\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5: {}&#039;.format(today, g.is_last))<\/p>\n<p>    # \u4ec5\u5468\u521d\u6267\u884c\u9009\u80a1\u903b\u8f91<br \/>\n    if g.is_first:<br \/>\n        returns &#061; {}<br \/>\n        for stock in g.security_list:<br \/>\n            # \u83b7\u53d6\u8fd120\u65e5\u6536\u76d8\u4ef7<br \/>\n            history &#061; get_history(20, &#039;1d&#039;, &#039;close&#039;, stock, fq&#061;&#039;pre&#039;)<br \/>\n            # \u8ba1\u7b9720\u65e5\u6da8\u8dcc\u5e45<br \/>\n            ret &#061; (history.iloc[-1, 0] &#8211; history.iloc[0, 0]) \/ history.iloc[0, 0]<br \/>\n            returns[stock] &#061; ret<br \/>\n        log.info(&#034;\u5404ETF20\u65e5\u6da8\u8dcc\u5e45&#xff1a;&#034;, returns)<br \/>\n        # \u6309\u6da8\u5e45\u964d\u5e8f\u6392\u5e8f&#xff0c;\u53d6\u524d2\u53ea<br \/>\n        sorted_returns &#061; sorted(returns.items(), key&#061;lambda x: x[1], reverse&#061;True)<br \/>\n        g.selected_stocks &#061; [item[0] for item in sorted_returns[:2]]<br \/>\n    else:<br \/>\n        pass<\/p>\n<p># 4. \u4e70\u5165\u51fd\u6570&#xff1a;\u5468\u521d\u5f00\u76d8\u540e\u6309\u6bd4\u4f8b\u4e0b\u5355<br \/>\ndef buy_function(context):<br \/>\n    if g.is_first:<br \/>\n        total_available_cash &#061; context.portfolio.cash<br \/>\n        for i in range(len(g.selected_stocks)):<br \/>\n            # \u83b7\u53d6\u6700\u65b01\u5206\u949f\u6536\u76d8\u4ef7<br \/>\n            history_1 &#061; get_history(1, &#039;1m&#039;, &#039;close&#039;, g.selected_stocks[i], fq&#061;&#039;pre&#039;)<br \/>\n            current_price &#061; history_1.iloc[0]<br \/>\n            # \u5206\u914d\u5bf9\u5e94\u8d44\u91d1<br \/>\n            buy_cash &#061; total_available_cash * g.weights[i]<br \/>\n            # A\u80a1ETF\u4e00\u624b100\u4efd&#xff0c;\u8ba1\u7b97\u53ef\u4e70\u6574\u6570\u624b<br \/>\n            amount &#061; int(buy_cash \/ current_price \/ 100) * 100<br \/>\n            if amount &gt; 0:<br \/>\n                order(g.selected_stocks[i], amount)<br \/>\n    else:<br \/>\n        log.info(&#039;\u4eca\u65e5\u4e0d\u662f\u672c\u5468\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5&#xff0c;\u4e0d\u6267\u884c\u4e70\u5165&#039;)<\/p>\n<p># 5. \u5356\u51fa\u51fd\u6570&#xff1a;\u5468\u672b\u6536\u76d8\u524d\u5168\u90e8\u6e05\u4ed3<br \/>\ndef sell_function(context):<br \/>\n    if g.is_last:<br \/>\n        g.current_holdings &#061; {}<br \/>\n        # \u904d\u5386\u5168\u90e8\u6301\u4ed3<br \/>\n        for sid, position in context.portfolio.positions.items():<br \/>\n            if position.amount &gt; 0:<br \/>\n                g.current_holdings[sid] &#061; position.amount<br \/>\n        sell_list &#061; list(g.current_holdings.keys())<br \/>\n        # \u6e05\u4ed3\u6240\u6709\u6301\u4ed3<br \/>\n        for code in sell_list:<br \/>\n            if g.current_holdings[code] &gt; 0:<br \/>\n                order_target(code, 0)<br \/>\n                log.info(&#034;\u5356\u51fa{}&#xff0c;\u5171{}\u4efd&#034;.format(code, g.current_holdings[code]))<br \/>\n    else:<br \/>\n        log.info(&#039;\u4eca\u65e5\u4e0d\u662f\u672c\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5&#xff0c;\u4e0d\u6267\u884c\u5356\u51fa&#039;)<\/p>\n<p># \u8f85\u52a9\u51fd\u65701&#xff1a;\u5224\u65ad\u5f53\u65e5\u662f\u5426\u4e3a\u672c\u5468\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5&#xff08;\u81ea\u52a8\u9002\u914d\u8282\u5047\u65e5&#xff09;<br \/>\ndef is_first_trading_day_of_week(today):<br \/>\n    one_day &#061; timedelta(days&#061;1)<br \/>\n    yesterday &#061; today &#8211; one_day<br \/>\n    # \u5411\u524d\u5bfb\u627e\u4e0a\u4e00\u4e2a\u6709\u6548\u4ea4\u6613\u65e5<br \/>\n    while yesterday.strftime(&#039;%Y-%m-%d&#039;) not in g.trade_days_list:<br \/>\n        yesterday -&#061; one_day<br \/>\n    # \u5468\u6570\u4e0d\u540c\u5219\u4ee3\u8868\u4eca\u5929\u662f\u672c\u5468\u9996\u4e2a\u4ea4\u6613\u65e5<br \/>\n    return today.isocalendar()[1] &gt; yesterday.isocalendar()[1] or today.year &gt; yesterday.year<\/p>\n<p># \u8f85\u52a9\u51fd\u65702&#xff1a;\u5224\u65ad\u5f53\u65e5\u662f\u5426\u4e3a\u672c\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5&#xff08;\u81ea\u52a8\u9002\u914d\u8282\u5047\u65e5&#xff09;<br \/>\ndef is_last_trading_day_of_week(today):<br \/>\n    one_day &#061; timedelta(days&#061;1)<br \/>\n    tomorrow &#061; today &#043; one_day<br \/>\n    # \u5411\u540e\u5bfb\u627e\u4e0b\u4e00\u4e2a\u6709\u6548\u4ea4\u6613\u65e5<br \/>\n    while tomorrow.strftime(&#039;%Y-%m-%d&#039;) not in g.trade_days_list:<br \/>\n        tomorrow &#043;&#061; one_day<br \/>\n    # \u5468\u6570\u4e0d\u540c\u5219\u4ee3\u8868\u4eca\u5929\u662f\u672c\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5<br \/>\n    return today.isocalendar()[1] &lt; tomorrow.isocalendar()[1] or today.year &lt; tomorrow.year<\/p>\n<h3>\u4e09\u3001\u4ee3\u7801\u9010\u6a21\u5757\u8be6\u7ec6\u89e3\u6790<\/h3>\n<h4>3.1 \u4f9d\u8d56\u5e93\u5bfc\u5165\u6a21\u5757<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"282\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051637-6a6ade358c7fd.png\" width=\"376\" \/><\/p>\n<p>import datetime<br \/>\nimport pandas as pd<br \/>\nfrom datetime import date<br \/>\nfrom datetime import timedelta<br \/>\nimport numpy as np<\/p>\n<ul>\n<li>datetime\/timedelta&#xff1a;\u5904\u7406\u65e5\u671f\u3001\u4ea4\u6613\u65e5\u504f\u79fb\u3001\u8282\u5047\u65e5\u5224\u65ad&#xff1b;<\/li>\n<li>pandas&#xff1a;\u884c\u60c5\u6570\u636e\u8868\u683c\u5904\u7406&#xff1b;<\/li>\n<li>numpy&#xff1a;\u6570\u503c\u8ba1\u7b97\u3001\u6da8\u8dcc\u5e45\u8fd0\u7b97&#xff1b; \u6240\u6709 Ptrade \u7b56\u7565\u5fc5\u5907\u57fa\u7840\u5e93&#xff0c;\u7f3a\u5931\u4f1a\u5bfc\u81f4\u884c\u60c5\u83b7\u53d6\u3001\u65e5\u671f\u8ba1\u7b97\u62a5\u9519\u3002<\/li>\n<\/ul>\n<h4>3.2 initialize \u521d\u59cb\u5316\u51fd\u6570<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"241\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051637-6a6ade35a34ce.png\" width=\"448\" \/><\/p>\n<p>\u7a0b\u5e8f\u542f\u52a8\u4ec5\u8fd0\u884c\u4e00\u6b21&#xff0c;\u8d1f\u8d23\u5168\u5c40\u53d8\u91cf\u3001\u5019\u9009\u6c60\u3001\u5b9a\u65f6\u4efb\u52a1\u914d\u7f6e&#xff1a;<\/p>\n<li>g.security_list&#xff1a;ETF \u6807\u7684\u6c60&#xff0c;\u5fc5\u987b\u624b\u52a8\u586b\u5145\u4ee3\u7801&#xff0c;\u6caa\u5e02\u540e\u7f00.SS\u3001\u6df1\u5e02\u540e\u7f00.SZ&#xff1b;<\/li>\n<li>get_trade_days&#xff1a;\u62c9\u53d6\u6307\u5b9a\u533a\u95f4\u5168\u90e8\u4ea4\u6613\u65e5&#xff0c;\u7528\u4e8e\u8282\u5047\u65e5\u5224\u65ad&#xff1b;<\/li>\n<li>run_daily&#xff1a;\u5b9a\u65f6\u89e6\u53d1\u5668&#xff0c;\u56fa\u5b9a\u65f6\u95f4\u81ea\u52a8\u6267\u884c\u4e70\u5356\u51fd\u6570&#xff0c;\u65e0\u9700\u4eba\u5de5\u76ef\u76d8&#xff1b;<\/li>\n<h4>3.3 before_trading_start \u76d8\u524d\u9009\u80a1\u51fd\u6570<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"406\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051637-6a6ade35b9729.png\" width=\"448\" \/><\/p>\n<p>\u6bcf\u4e2a\u4ea4\u6613\u65e5\u5f00\u76d8\u524d\u81ea\u52a8\u6267\u884c&#xff0c;\u6838\u5fc3\u5b8c\u6210\u4e24\u4ef6\u4e8b&#xff1a;<\/p>\n<li>\u8c03\u7528is_first_trading_day_of_week\u6807\u8bb0\u5468\u521d\u4ea4\u6613\u65e5&#xff1b;<\/li>\n<li>\u904d\u5386\u5019\u9009\u6c60 ETF&#xff0c;\u62c9\u53d6 20 \u65e5\u6536\u76d8\u4ef7\u8ba1\u7b97\u52a8\u91cf\u6da8\u5e45&#xff0c;\u964d\u5e8f\u6392\u5e8f\u9009\u51fa\u524d 2 \u53ea\u5f3a\u52bf\u6807\u7684\u5b58\u5165\u5168\u5c40\u53d8\u91cf&#xff1b;<\/li>\n<p>\u6ce8\u610f&#xff1a;\u6b64\u51fd\u6570\u4ec5\u505a\u6570\u636e\u8ba1\u7b97&#xff0c;\u4e0d\u4f1a\u53d1\u8d77\u4ea4\u6613\u4e0b\u5355\u3002<\/p>\n<h4>3.4 buy_function \u4e70\u5165\u4e0b\u5355\u51fd\u6570<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"299\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051637-6a6ade35d3ba6.png\" width=\"448\" \/><\/p>\n<p>\u4ec5\u6bcf\u5468\u9996\u4e2a\u4ea4\u6613\u65e5 9:31 \u6267\u884c&#xff1a;<\/p>\n<li>\u83b7\u53d6\u8d26\u6237\u53ef\u7528\u73b0\u91d1&#xff0c;\u6309 7:3 \u6743\u91cd\u5206\u914d\u8d44\u91d1&#xff1b;<\/li>\n<li>\u8bfb\u53d6\u5b9e\u65f6 1 \u5206\u949f\u6536\u76d8\u4ef7&#xff0c;\u8ba1\u7b97\u53ef\u4e70\u5165\u4efd\u6570&#xff1b;<\/li>\n<li>int(xxx\/100)*100\u5f3a\u5236\u4fdd\u8bc1\u4e0b\u5355\u6570\u91cf\u4e3a 100 \u7684\u6574\u6570\u500d&#xff0c;\u7b26\u5408 A \u80a1 ETF \u4ea4\u6613\u89c4\u5219&#xff1b;<\/li>\n<li>order(\u6807\u7684, \u6570\u91cf)&#xff1a;Ptrade \u539f\u751f\u9650\u4ef7\u4e0b\u5355\u63a5\u53e3\u3002<\/li>\n<h4>3.5 sell_function \u6e05\u4ed3\u5356\u51fa\u51fd\u6570<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"259\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051637-6a6ade35eba2a.png\" width=\"448\" \/><\/p>\n<p>\u4ec5\u6bcf\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5 14:55 \u6267\u884c&#xff1a;<\/p>\n<li>\u904d\u5386\u8d26\u6237\u5168\u90e8\u6301\u4ed3&#xff0c;\u7b5b\u9009\u6301\u6709\u6570\u91cf\u5927\u4e8e 0 \u7684 ETF&#xff1b;<\/li>\n<li>order_target(code, 0)&#xff1a;\u4e00\u952e\u6e05\u4ed3\u63a5\u53e3&#xff0c;\u76ee\u6807\u6301\u4ed3\u8bbe\u4e3a 0&#xff0c;\u65e0\u9700\u624b\u52a8\u8ba1\u7b97\u5356\u51fa\u6570\u91cf&#xff1b;<\/li>\n<li>14:55 \u64cd\u4f5c\u9884\u7559 5 \u5206\u949f\u6536\u76d8\u7f13\u51b2&#xff0c;\u907f\u514d\u5c3e\u76d8\u6d41\u52a8\u6027\u4e0d\u8db3\u65e0\u6cd5\u6210\u4ea4\u3002<\/li>\n<h4>3.6 \u4ea4\u6613\u65e5\u5224\u65ad\u8f85\u52a9\u51fd\u6570<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"296\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051638-6a6ade360eac4.png\" width=\"448\" \/><\/p>\n<p>\u7b56\u7565\u6838\u5fc3\u9002\u914d\u5de5\u5177&#xff0c;\u89e3\u51b3\u8282\u5047\u65e5\u3001\u957f\u5047\u4f11\u5e02\u95ee\u9898&#xff1a;<\/p>\n<li>is_first_trading_day_of_week&#xff1a;\u5411\u524d\u56de\u6eaf\u67e5\u627e\u4e0a\u4e00\u4e2a\u4ea4\u6613\u65e5&#xff0c;\u5bf9\u6bd4\u5468\u6570&#xff0c;\u81ea\u52a8\u8bc6\u522b\u8282\u540e\u9996\u4e2a\u4ea4\u6613\u65e5&#xff1b;<\/li>\n<li>is_last_trading_day_of_week&#xff1a;\u5411\u540e\u67e5\u627e\u4e0b\u4e00\u4e2a\u4ea4\u6613\u65e5&#xff0c;\u8bc6\u522b\u8282\u524d\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5&#xff1b; \u65e0\u9700\u624b\u52a8\u8c03\u6574\u65e5\u671f&#xff0c;\u56de\u6d4b\u3001\u5b9e\u76d8\u5747\u53ef\u81ea\u52a8\u9002\u914d\u3002<\/li>\n<h3>\u56db\u3001\u7b56\u7565\u5b9e\u64cd\u5173\u952e\u6ce8\u610f\u4e8b\u9879<\/h3>\n<h4>4.1 ETF \u5019\u9009\u6c60\u914d\u7f6e<\/h4>\n<p>g.security_list &#061; []\u4e3a\u7a7a\u5217\u8868&#xff0c;\u5fc5\u987b\u586b\u5145\u6807\u7684&#xff0c;\u63a8\u8350\u5bbd\u57fa\u3001\u884c\u4e1a ETF \u6df7\u5408&#xff0c;\u5efa\u8bae 20~40 \u53ea&#xff0c;<\/p>\n<p>\u683c\u5f0f\u533a\u5206\u6caa\u6df1\u5e02\u573a&#xff0c;\u4ee3\u7801\u540e\u7f00\u5199\u9519\u4f1a\u5bfc\u81f4\u884c\u60c5\u62c9\u53d6\u5931\u8d25\u3002<\/p>\n<h4>4.2 \u56de\u6d4b\u65f6\u95f4\u533a\u95f4\u5339\u914d<\/h4>\n<p>\u4ee3\u7801\u5185get_trade_days(&#039;2015-01-01&#039;, &#039;2025-10-31&#039;)&#xff0c;\u56de\u6d4b\u8d77\u6b62\u65f6\u95f4\u4e0d\u80fd\u8d85\u51fa\u8be5\u533a\u95f4&#xff0c;\u53ef\u81ea\u884c\u4fee\u6539\u7ed3\u675f\u5e74\u4efd\u62d3\u5c55\u6570\u636e\u8303\u56f4\u3002<\/p>\n<h4>4.3 \u8d44\u91d1\u6743\u91cd\u81ea\u5b9a\u4e49<\/h4>\n<p>g.weights &#061; [0.7, 0.3]&#xff0c;\u98ce\u9669\u504f\u597d\u4fdd\u5b88\u53ef\u6539\u4e3a[0.5,0.5]\u5747\u8861\u5206\u914d&#xff0c;\u4ec5\u652f\u6301 2 \u4e2a\u6570\u503c&#xff0c;\u5bf9\u5e94\u9009\u51fa\u7684 2 \u53ea ETF\u3002<\/p>\n<h4>4.4 A \u80a1\u4ea4\u6613\u89c4\u5219\u9002\u914d<\/h4>\n<p>ETF \u5b9e\u884c T&#043;1 \u4ea4\u6613&#xff0c;\u672c\u7b56\u7565\u6bcf\u5468\u4e70\u5165\u3001\u6b21\u5468\u5356\u51fa&#xff0c;\u5b8c\u5168\u89c4\u907f\u65e5\u5185\u4ea4\u6613\u9650\u5236&#xff0c;\u4e0d\u5b58\u5728\u5f53\u65e5\u4e70\u5165\u65e0\u6cd5\u5356\u51fa\u7684\u903b\u8f91 bug\u3002<\/p>\n<h4>4.5 \u56de\u6d4b\u4f18\u5148&#xff0c;\u8c28\u614e\u5b9e\u76d8<\/h4>\n<li>\u5148\u7528 Ptrade \u4eff\u771f\u7ec8\u7aef\u957f\u671f\u56de\u6d4b&#xff0c;\u89c2\u5bdf\u4e0d\u540c\u725b\u718a\u5468\u671f\u6536\u76ca\u3001\u6700\u5927\u56de\u64a4&#xff1b;<\/li>\n<li>\u53ef\u81ea\u884c\u8c03\u53c2&#xff1a;20 \u65e5\u52a8\u91cf\u5468\u671f\u6539\u4e3a 10\/30 \u65e5\u3001\u589e\u51cf\u6301\u4ed3\u6570\u91cf&#xff1b;<\/li>\n<li>\u5b9e\u76d8\u524d\u5c0f\u8d44\u91d1\u8bd5\u8fd0\u884c 1~2 \u4e2a\u6708&#xff0c;\u9a8c\u8bc1\u6210\u4ea4\u6ed1\u70b9\u3001\u624b\u7eed\u8d39\u5bf9\u6536\u76ca\u7684\u5f71\u54cd\u3002<\/li>\n<h3>\u4e94\u3001\u7b56\u7565\u4f18\u5316\u62d3\u5c55\u601d\u8def<\/h3>\n<li>\u589e\u52a0\u6b62\u635f\u903b\u8f91&#xff1a;\u5728\u6bcf\u65e5\u76d8\u540e\u589e\u52a0\u6301\u4ed3\u8dcc\u5e45\u5224\u65ad&#xff0c;\u5355\u53ea ETF \u56de\u64a4\u8d85 5% \u5f3a\u5236\u5356\u51fa&#xff1b;<\/li>\n<li>\u591a\u5468\u671f\u52a8\u91cf\u8fc7\u6ee4&#xff1a;\u53e0\u52a0 60 \u65e5\u4e2d\u957f\u671f\u8d8b\u52bf&#xff0c;\u4ec5\u5728\u5927\u76d8\u4e0a\u884c\u65f6\u6267\u884c\u8f6e\u52a8&#xff1b;<\/li>\n<li>\u4ed3\u4f4d\u52a8\u6001\u8c03\u6574&#xff1a;\u6839\u636e\u5e02\u573a\u6ce2\u52a8\u7387\u81ea\u52a8\u8c03\u6574\u603b\u4ed3\u4f4d&#xff0c;\u9ad8\u4f4d\u964d\u4ed3\u3001\u4f4e\u4f4d\u52a0\u4ed3&#xff1b;<\/li>\n<li>\u6269\u5927\u6301\u4ed3\u6570\u91cf&#xff1a;\u4fee\u6539\u4ee3\u7801\u9009\u53d6\u524d 3~4 \u53ea ETF&#xff0c;\u5206\u6563\u5355\u4e00\u6807\u7684\u98ce\u9669&#xff1b;<\/li>\n<li>\u8fc7\u6ee4\u4f4e\u6d41\u52a8\u6027\u6807\u7684&#xff1a;\u589e\u52a0\u65e5\u5747\u6210\u4ea4\u989d\u7b5b\u9009&#xff0c;\u5254\u9664\u6210\u4ea4\u91cf\u4f4e\u8ff7\u7684\u5c0f\u76d8 ETF\u3002<\/li>\n<h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<p>\u672c\u5957 Ptrade ETF \u5468\u5ea6\u52a8\u91cf\u8f6e\u52a8\u7b56\u7565\u4ee3\u7801\u5b8c\u6574\u3001\u903b\u8f91\u8f7b\u91cf\u5316&#xff0c;\u5185\u7f6e\u8282\u5047\u65e5\u81ea\u52a8\u9002\u914d\u3001\u5408\u89c4\u4ea4\u6613\u6570\u91cf\u5904\u7406\u3001\u5b9a\u65f6\u81ea\u52a8\u4ea4\u6613\u80fd\u529b&#xff0c;\u65b0\u624b\u53ef\u76f4\u63a5\u590d\u7528\u5e73\u53f0\u56de\u6d4b\u3002 \u7b56\u7565\u6838\u5fc3\u4f9d\u9760\u52a8\u91cf\u6548\u5e94\u6355\u6349\u4e2d\u671f\u5f3a\u52bf\u677f\u5757 ETF&#xff0c;\u6bcf\u5468\u8c03\u4ed3\u9891\u7387\u9002\u4e2d&#xff0c;\u4e0d\u4f1a\u4ea7\u751f\u8fc7\u9ad8\u4ea4\u6613\u624b\u7eed\u8d39&#xff0c;\u9002\u5408\u4e2d\u957f\u671f\u81ea\u52a8\u5316\u5b9a\u6295 &#043; \u8d8b\u52bf\u4ea4\u6613\u7ed3\u5408\u7684\u6295\u8d44\u8005\u3002<\/p>\n<p>\u98ce\u9669\u63d0\u793a&#xff1a;\u672c\u6587\u4ec5\u4e3a\u91cf\u5316\u4ee3\u7801\u6559\u5b66\u5206\u4eab&#xff0c;\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002\u91cf\u5316\u7b56\u7565\u5b58\u5728\u5386\u53f2\u56de\u6d4b\u4e0d\u4ee3\u8868\u672a\u6765\u6536\u76ca&#xff0c;\u5e02\u573a\u6ce2\u52a8\u3001\u6d41\u52a8\u6027\u98ce\u9669\u3001\u624b\u7eed\u8d39\u6ed1\u70b9\u5747\u4f1a\u5f71\u54cd\u5b9e\u9645\u6536\u76ca&#xff0c;\u8bf7\u8c28\u614e\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u7b80\u4ecb\u672c\u6587\u57fa\u4e8e\u00a0Ptrade \u91cf\u5316\u5e73\u53f0&#xff0c;\u642d\u5efa\u4e00\u5957\u53ef\u76f4\u63a5\u56de\u6d4b\u3001\u4eff\u771f\u8fd0\u884c\u7684\u5468\u5ea6\u5f3a\u52bf ETF \u8f6e\u52a8\u7b56\u7565\u3002\u6838\u5fc3\u903b\u8f91&#xff1a;\u6bcf\u5468\u7b5b\u9009 20 \u65e5\u6da8\u5e45\u6700\u5f3a 2 \u53ea ETF&#xff0c;7:3 \u8d44\u91d1\u914d\u6bd4\u4e70\u5165&#xff0c;\u6bcf\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5\u5168\u90e8\u6e05\u4ed3&#xff0c;\u5faa\u73af\u6eda\u52a8\u505a\u8d8b\u52bf\u77ed\u7ebf\u3002\u5168\u6587\u9644\u5e26\u5b8c\u6574\u53ef\u8fd0\u884c\u4ee3\u7801\u3001\u51fd\u6570\u62c6\u89e3\u3001\u8282\u5047\u65e5\u81ea\u52a8\u9002\u914d\u903b\u8f91\u4e0e\u5b9e\u64cd\u907f\u5751\u8981\u70b9&#xff0c;\u65b0\u624b\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u6539\u9020\u3002\u9002\u7528\u4eba\u7fa4&#xff1a;Ptrade \u91cf\u5316\u5b66\u4e60\u8005\u3001ETF \u8d8b\u52bf\u4ea4\u6613\u8005\u3001\u7a0b\u5e8f\u5316\u81ea\u52a8\u5316<\/p>\n","protected":false},"author":2,"featured_media":87484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9099,2739,81,2740,1158],"topic":[],"class_list":["post-87490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-9099","tag-ptrade","tag-python","tag-qmt","tag-1158"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/87490.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u7b80\u4ecb\u672c\u6587\u57fa\u4e8e\u00a0Ptrade \u91cf\u5316\u5e73\u53f0&#xff0c;\u642d\u5efa\u4e00\u5957\u53ef\u76f4\u63a5\u56de\u6d4b\u3001\u4eff\u771f\u8fd0\u884c\u7684\u5468\u5ea6\u5f3a\u52bf ETF \u8f6e\u52a8\u7b56\u7565\u3002\u6838\u5fc3\u903b\u8f91&#xff1a;\u6bcf\u5468\u7b5b\u9009 20 \u65e5\u6da8\u5e45\u6700\u5f3a 2 \u53ea ETF&#xff0c;7:3 \u8d44\u91d1\u914d\u6bd4\u4e70\u5165&#xff0c;\u6bcf\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5\u5168\u90e8\u6e05\u4ed3&#xff0c;\u5faa\u73af\u6eda\u52a8\u505a\u8d8b\u52bf\u77ed\u7ebf\u3002\u5168\u6587\u9644\u5e26\u5b8c\u6574\u53ef\u8fd0\u884c\u4ee3\u7801\u3001\u51fd\u6570\u62c6\u89e3\u3001\u8282\u5047\u65e5\u81ea\u52a8\u9002\u914d\u903b\u8f91\u4e0e\u5b9e\u64cd\u907f\u5751\u8981\u70b9&#xff0c;\u65b0\u624b\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u6539\u9020\u3002\u9002\u7528\u4eba\u7fa4&#xff1a;Ptrade \u91cf\u5316\u5b66\u4e60\u8005\u3001ETF \u8d8b\u52bf\u4ea4\u6613\u8005\u3001\u7a0b\u5e8f\u5316\u81ea\u52a8\u5316\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/87490.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-30T05:16:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051637-6a6ade358c7fd.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/87490.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/87490.html\",\"name\":\"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-30T05:16:39+00:00\",\"dateModified\":\"2026-07-30T05:16:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/87490.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/87490.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/87490.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/87490.html","og_locale":"zh_CN","og_type":"article","og_title":"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u7b80\u4ecb\u672c\u6587\u57fa\u4e8e\u00a0Ptrade \u91cf\u5316\u5e73\u53f0&#xff0c;\u642d\u5efa\u4e00\u5957\u53ef\u76f4\u63a5\u56de\u6d4b\u3001\u4eff\u771f\u8fd0\u884c\u7684\u5468\u5ea6\u5f3a\u52bf ETF \u8f6e\u52a8\u7b56\u7565\u3002\u6838\u5fc3\u903b\u8f91&#xff1a;\u6bcf\u5468\u7b5b\u9009 20 \u65e5\u6da8\u5e45\u6700\u5f3a 2 \u53ea ETF&#xff0c;7:3 \u8d44\u91d1\u914d\u6bd4\u4e70\u5165&#xff0c;\u6bcf\u5468\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5\u5168\u90e8\u6e05\u4ed3&#xff0c;\u5faa\u73af\u6eda\u52a8\u505a\u8d8b\u52bf\u77ed\u7ebf\u3002\u5168\u6587\u9644\u5e26\u5b8c\u6574\u53ef\u8fd0\u884c\u4ee3\u7801\u3001\u51fd\u6570\u62c6\u89e3\u3001\u8282\u5047\u65e5\u81ea\u52a8\u9002\u914d\u903b\u8f91\u4e0e\u5b9e\u64cd\u907f\u5751\u8981\u70b9&#xff0c;\u65b0\u624b\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u6539\u9020\u3002\u9002\u7528\u4eba\u7fa4&#xff1a;Ptrade \u91cf\u5316\u5b66\u4e60\u8005\u3001ETF \u8d8b\u52bf\u4ea4\u6613\u8005\u3001\u7a0b\u5e8f\u5316\u81ea\u52a8\u5316","og_url":"https:\/\/www.wsisp.com\/helps\/87490.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-30T05:16:39+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260730051637-6a6ade358c7fd.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/87490.html","url":"https:\/\/www.wsisp.com\/helps\/87490.html","name":"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-30T05:16:39+00:00","dateModified":"2026-07-30T05:16:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/87490.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/87490.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/87490.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u53ef\u76f4\u63a5\u56de\u6d4b\uff01Ptrade \u5f3a\u52bf ETF \u5468\u5ea6\u8f6e\u52a8\u7a0b\u5e8f\u5316\u4ea4\u6613\u7b56\u7565\u5168\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/87490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=87490"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/87490\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/87484"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=87490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=87490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=87490"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=87490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}