{"id":84755,"date":"2026-07-26T17:09:24","date_gmt":"2026-07-26T09:09:24","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/84755.html"},"modified":"2026-07-26T17:09:24","modified_gmt":"2026-07-26T09:09:24","slug":"%e9%87%8f%e5%8c%96%e4%ba%a4%e6%98%93%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%80%89%e6%8b%a9%e4%b8%8e%e9%83%a8%e7%bd%b2_%e4%ba%91%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%85%8d%e7%bd%ae%e5%ae%9e%e8%b7%b5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/84755.html","title":{"rendered":"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5"},"content":{"rendered":"<p>\u58f0\u660e&#xff1a;\u672c\u6587\u4e3a\u4e2a\u4eba\u5b66\u4e60\u7b14\u8bb0&#xff0c;\u4ec5\u4f9b\u6280\u672f\u4ea4\u6d41&#xff0c;\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u524d\u8a00<\/h3>\n<p>\u5728\u671f\u8d27\u91cf\u5316\u8fd9\u6761\u8def\u4e0a&#xff0c;\u6211\u5df2\u7ecf\u8d70\u4e86\u6574\u6574\u4e8c\u5341\u5e74\u3002\u505a\u91cf\u5316\u4ea4\u6613&#xff0c;\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p>\u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0&#xff0c;\u6211\u6765\u5206\u4eab\u4e00\u4e0b\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u7684\u9009\u62e9\u548c\u90e8\u7f72\u7ecf\u9a8c\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u4e3a\u4ec0\u4e48\u9700\u8981\u670d\u52a1\u5668&#xff1f;<\/h3>\n<table>\n<tr>\u539f\u56e0\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>7&#215;24\u8fd0\u884c<\/td>\n<td>\u7b56\u7565\u9700\u8981\u6301\u7eed\u8fd0\u884c&#xff0c;\u672c\u5730\u7535\u8111\u96be\u4ee5\u4fdd\u8bc1<\/td>\n<\/tr>\n<tr>\n<td>\u7f51\u7edc\u7a33\u5b9a<\/td>\n<td>\u4e91\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>\u4f4e\u5ef6\u8fdf<\/td>\n<td>\u53ef\u9009\u62e9\u9760\u8fd1\u4ea4\u6613\u6240\u7684\u673a\u623f<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u5168\u53ef\u9760<\/td>\n<td>\u907f\u514d\u672c\u5730\u65ad\u7535\u3001\u65ad\u7f51<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e09\u3001\u670d\u52a1\u5668\u9009\u62e9<\/h3>\n<h4>3.1 \u4e91\u670d\u52a1\u5668 vs \u7269\u7406\u670d\u52a1\u5668<\/h4>\n<table>\n<tr>\u7c7b\u578b\u4f18\u70b9\u7f3a\u70b9<\/tr>\n<tbody>\n<tr>\n<td>\u4e91\u670d\u52a1\u5668<\/td>\n<td>\u7075\u6d3b\u3001\u6210\u672c\u4f4e\u3001\u8fd0\u7ef4\u7b80\u5355<\/td>\n<td>\u6027\u80fd\u6709\u4e0a\u9650<\/td>\n<\/tr>\n<tr>\n<td>\u7269\u7406\u670d\u52a1\u5668<\/td>\n<td>\u6027\u80fd\u9ad8\u3001\u5b8c\u5168\u53ef\u63a7<\/td>\n<td>\u6210\u672c\u9ad8\u3001\u8fd0\u7ef4\u590d\u6742<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5efa\u8bae&#xff1a;\u5927\u591a\u6570\u91cf\u5316\u7b56\u7565&#xff0c;\u4e91\u670d\u52a1\u5668\u8db3\u591f\u3002<\/p>\n<h4>3.2 \u4e91\u670d\u52a1\u5546\u9009\u62e9<\/h4>\n<table>\n<tr>\u670d\u52a1\u5546\u7279\u70b9\u9002\u5408\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>\u963f\u91cc\u4e91<\/td>\n<td>\u56fd\u5185\u6700\u5927\u3001\u7a33\u5b9a<\/td>\n<td>\u56fd\u5185\u671f\u8d27\u4ea4\u6613<\/td>\n<\/tr>\n<tr>\n<td>\u817e\u8baf\u4e91<\/td>\n<td>\u6027\u4ef7\u6bd4\u9ad8<\/td>\n<td>\u9884\u7b97\u6709\u9650<\/td>\n<\/tr>\n<tr>\n<td>\u534e\u4e3a\u4e91<\/td>\n<td>\u5b89\u5168\u5408\u89c4<\/td>\n<td>\u673a\u6784\u7528\u6237<\/td>\n<\/tr>\n<tr>\n<td>AWS<\/td>\n<td>\u5168\u7403\u5316<\/td>\n<td>\u5916\u76d8\u4ea4\u6613<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3.3 \u914d\u7f6e\u9009\u62e9<\/h4>\n<table>\n<tr>\u7b56\u7565\u7c7b\u578bCPU\u5185\u5b58\u5e26\u5bbd<\/tr>\n<tbody>\n<tr>\n<td>\u4f4e\u9891\u7b56\u7565&#xff08;\u65e5\u7ebf\u7ea7&#xff09;<\/td>\n<td>1\u6838<\/td>\n<td>2GB<\/td>\n<td>1Mbps<\/td>\n<\/tr>\n<tr>\n<td>\u4e2d\u9891\u7b56\u7565&#xff08;\u5206\u949f\u7ea7&#xff09;<\/td>\n<td>2\u6838<\/td>\n<td>4GB<\/td>\n<td>5Mbps<\/td>\n<\/tr>\n<tr>\n<td>\u9ad8\u9891\u7b56\u7565&#xff08;Tick\u7ea7&#xff09;<\/td>\n<td>4\u6838&#043;<\/td>\n<td>8GB&#043;<\/td>\n<td>10Mbps&#043;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u63a8\u8350\u914d\u7f6e&#xff1a;2\u68384G&#xff0c;5Mbps\u5e26\u5bbd&#xff0c;\u9002\u5408\u5927\u591a\u6570\u7b56\u7565\u3002<\/p>\n<h4>3.4 \u5730\u57df\u9009\u62e9<\/h4>\n<p>\u9009\u62e9\u9760\u8fd1\u671f\u8d27\u516c\u53f8\u670d\u52a1\u5668\u7684\u5730\u57df&#xff1a;<\/p>\n<ul>\n<li>\u4e0a\u6d77&#xff08;\u5927\u591a\u6570\u671f\u8d27\u516c\u53f8\u670d\u52a1\u5668\u5728\u4e0a\u6d77&#xff09;<\/li>\n<li>\u5317\u4eac<\/li>\n<li>\u6df1\u5733<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u3001\u670d\u52a1\u5668\u90e8\u7f72<\/h3>\n<h4>4.1 \u7cfb\u7edf\u9009\u62e9<\/h4>\n<p>\u63a8\u8350 Ubuntu 22.04 LTS&#xff1a;<\/p>\n<ul>\n<li>\u7a33\u5b9a<\/li>\n<li>\u793e\u533a\u652f\u6301\u597d<\/li>\n<li>Python\u73af\u5883\u53cb\u597d<\/li>\n<\/ul>\n<h4>4.2 \u57fa\u7840\u914d\u7f6e<\/h4>\n<p><span class=\"token comment\"># 1. \u66f4\u65b0\u7cfb\u7edf<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> upgrade -y<\/p>\n<p><span class=\"token comment\"># 2. \u5b89\u88c5\u57fa\u7840\u5de5\u5177<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> -y <span class=\"token function\">vim<\/span> <span class=\"token function\">git<\/span> <span class=\"token function\">wget<\/span> <span class=\"token function\">curl<\/span> <span class=\"token function\">htop<\/span> <span class=\"token function\">screen<\/span><\/p>\n<p><span class=\"token comment\"># 3. \u8bbe\u7f6e\u65f6\u533a&#xff08;\u91cd\u8981&#xff01;&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> timedatectl set-timezone Asia\/Shanghai<\/p>\n<p><span class=\"token comment\"># 4. \u5b89\u88c5Python<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> -y python3 python3-pip python3-venv<\/p>\n<p><span class=\"token comment\"># 5. \u9a8c\u8bc1<\/span><br \/>\npython3 &#8211;version<\/p>\n<h4>4.3 \u521b\u5efa\u9879\u76ee\u73af\u5883<\/h4>\n<p><span class=\"token comment\"># \u521b\u5efa\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> -p ~\/trading<br \/>\n<span class=\"token builtin class-name\">cd<\/span> ~\/trading<\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u865a\u62df\u73af\u5883<\/span><br \/>\npython3 -m venv venv<br \/>\n<span class=\"token builtin class-name\">source<\/span> venv\/bin\/activate<\/p>\n<p><span class=\"token comment\"># \u5b89\u88c5\u4f9d\u8d56<\/span><br \/>\npip <span class=\"token function\">install<\/span> tqsdk pandas numpy matplotlib<\/p>\n<p><span class=\"token comment\"># \u9a8c\u8bc1\u5b89\u88c5<\/span><br \/>\npython -c <span class=\"token string\">&#034;from tqsdk import TqApi; print(&#039;TqSdk\u5b89\u88c5\u6210\u529f&#039;)&#034;<\/span><\/p>\n<h4>4.4 \u4e0a\u4f20\u4ee3\u7801<\/h4>\n<p><span class=\"token comment\"># \u65b9\u6cd51&#xff1a;\u4f7f\u7528Git<\/span><br \/>\n<span class=\"token function\">git<\/span> clone https:\/\/github.com\/your_repo\/trading_strategy.git<\/p>\n<p><span class=\"token comment\"># \u65b9\u6cd52&#xff1a;\u4f7f\u7528SCP<\/span><br \/>\n<span class=\"token function\">scp<\/span> -r .\/strategy root&#064;your_server_ip:~\/trading\/<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u7b56\u7565\u90e8\u7f72<\/h3>\n<h4>5.1 \u914d\u7f6e\u6587\u4ef6<\/h4>\n<p><span class=\"token comment\"># config.py<\/span><br \/>\nCONFIG <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token comment\"># \u4ea4\u6613\u914d\u7f6e<\/span><br \/>\n    <span class=\"token string\">&#039;broker&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;\u671f\u8d27\u516c\u53f8&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#039;account&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;\u8d44\u91d1\u8d26\u53f7&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#039;password&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;\u5bc6\u7801&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#039;tq_user&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;TQ\u8d26\u6237&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#039;tq_pass&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;TQ\u5bc6\u7801&#039;<\/span><span class=\"token punctuation\">,<\/span><\/p>\n<p>    <span class=\"token comment\"># \u7b56\u7565\u914d\u7f6e<\/span><br \/>\n    <span class=\"token string\">&#039;symbol&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;SHFE.rb2505&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#039;volume&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span><\/p>\n<p>    <span class=\"token comment\"># \u65e5\u5fd7\u914d\u7f6e<\/span><br \/>\n    <span class=\"token string\">&#039;log_dir&#039;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;\/home\/trader\/trading\/logs&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u6ce8\u610f&#xff1a;\u654f\u611f\u4fe1\u606f\u4e0d\u8981\u63d0\u4ea4\u5230Git&#xff0c;\u4f7f\u7528\u73af\u5883\u53d8\u91cf\u6216\u5355\u72ec\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<h4>5.2 \u542f\u52a8\u811a\u672c<\/h4>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token comment\"># start.sh<\/span><\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> \/home\/trader\/trading<br \/>\n<span class=\"token builtin class-name\">source<\/span> venv\/bin\/activate<\/p>\n<p><span class=\"token comment\"># \u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/span><br \/>\n<span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">PYTHONUNBUFFERED<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span><\/p>\n<p><span class=\"token comment\"># \u542f\u52a8\u7b56\u7565<\/span><br \/>\npython main.py <span class=\"token operator\">&gt;&gt;<\/span> logs\/output.log <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span><\/p>\n<h4>5.3 \u4f7f\u7528Screen\u4fdd\u6301\u8fd0\u884c<\/h4>\n<p><span class=\"token comment\"># \u521b\u5efa\u65b0\u7684screen\u4f1a\u8bdd<\/span><br \/>\n<span class=\"token function\">screen<\/span> -S trading<\/p>\n<p><span class=\"token comment\"># \u542f\u52a8\u7b56\u7565<\/span><br \/>\n.\/start.sh<\/p>\n<p><span class=\"token comment\"># \u6309 Ctrl&#043;A, D \u5206\u79bb\u4f1a\u8bdd<\/span><\/p>\n<p><span class=\"token comment\"># \u91cd\u65b0\u8fde\u63a5<\/span><br \/>\n<span class=\"token function\">screen<\/span> -r trading<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u6240\u6709\u4f1a\u8bdd<\/span><br \/>\n<span class=\"token function\">screen<\/span> -ls<\/p>\n<h4>5.4 \u4f7f\u7528Systemd&#xff08;\u63a8\u8350&#xff09;<\/h4>\n<p><span class=\"token comment\"># \/etc\/systemd\/system\/trading.service<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>Unit<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">Description<\/span><span class=\"token operator\">&#061;<\/span>Trading Strategy<br \/>\n<span class=\"token assign-left variable\">After<\/span><span class=\"token operator\">&#061;<\/span>network.target<\/p>\n<p><span class=\"token punctuation\">[<\/span>Service<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">Type<\/span><span class=\"token operator\">&#061;<\/span>simple<br \/>\n<span class=\"token assign-left variable\">User<\/span><span class=\"token operator\">&#061;<\/span>trader<br \/>\n<span class=\"token assign-left variable\">WorkingDirectory<\/span><span class=\"token operator\">&#061;<\/span>\/home\/trader\/trading<br \/>\n<span class=\"token assign-left variable\">ExecStart<\/span><span class=\"token operator\">&#061;<\/span>\/home\/trader\/trading\/venv\/bin\/python main.py<br \/>\n<span class=\"token assign-left variable\">Restart<\/span><span class=\"token operator\">&#061;<\/span>always<br \/>\n<span class=\"token assign-left variable\">RestartSec<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">10<\/span><br \/>\n<span class=\"token assign-left variable\">Environment<\/span><span class=\"token operator\">&#061;<\/span>PYTHONUNBUFFERED<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span><\/p>\n<p><span class=\"token punctuation\">[<\/span>Install<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">WantedBy<\/span><span class=\"token operator\">&#061;<\/span>multi-user.target<\/p>\n<p><span class=\"token comment\"># \u542f\u7528\u670d\u52a1<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> trading<br \/>\n<span class=\"token function\">sudo<\/span> systemctl start trading<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u72b6\u6001<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl status trading<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u65e5\u5fd7<\/span><br \/>\njournalctl -u trading -f<\/p>\n<hr \/>\n<h3>\u516d\u3001\u76d1\u63a7\u548c\u8fd0\u7ef4<\/h3>\n<h4>6.1 \u65e5\u5fd7\u67e5\u770b<\/h4>\n<p><span class=\"token comment\"># \u67e5\u770b\u5b9e\u65f6\u65e5\u5fd7<\/span><br \/>\n<span class=\"token function\">tail<\/span> -f logs\/trade.log<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u6700\u8fd1100\u884c<\/span><br \/>\n<span class=\"token function\">tail<\/span> -100 logs\/trade.log<\/p>\n<p><span class=\"token comment\"># \u641c\u7d22\u9519\u8bef<\/span><br \/>\n<span class=\"token function\">grep<\/span> <span class=\"token string\">&#034;ERROR&#034;<\/span> logs\/trade.log<\/p>\n<h4>6.2 \u8fdb\u7a0b\u76d1\u63a7<\/h4>\n<p><span class=\"token comment\"># \u67e5\u770b\u8fdb\u7a0b<\/span><br \/>\n<span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> python<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u8d44\u6e90\u4f7f\u7528<\/span><br \/>\n<span class=\"token function\">htop<\/span><\/p>\n<h4>6.3 \u81ea\u52a8\u91cd\u542f\u811a\u672c<\/h4>\n<p><span class=\"token comment\"># watchdog.py<\/span><br \/>\n<span class=\"token keyword\">import<\/span> subprocess<br \/>\n<span class=\"token keyword\">import<\/span> time<br \/>\n<span class=\"token keyword\">import<\/span> os<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">check_process<\/span><span class=\"token punctuation\">(<\/span>process_name<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u68c0\u67e5\u8fdb\u7a0b\u662f\u5426\u8fd0\u884c&#034;&#034;&#034;<\/span><br \/>\n    result <span class=\"token operator\">&#061;<\/span> subprocess<span class=\"token punctuation\">.<\/span>run<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;pgrep&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;-f&#039;<\/span><span class=\"token punctuation\">,<\/span> process_name<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n                          capture_output<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span> text<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> result<span class=\"token punctuation\">.<\/span>returncode <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">0<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">start_process<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u542f\u52a8\u7b56\u7565&#034;&#034;&#034;<\/span><br \/>\n    os<span class=\"token punctuation\">.<\/span>system<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;systemctl start trading&#039;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">while<\/span> <span class=\"token boolean\">True<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">not<\/span> check_process<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;main.py&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u7b56\u7565\u672a\u8fd0\u884c&#xff0c;\u6b63\u5728\u91cd\u542f&#8230;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            start_process<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        time<span class=\"token punctuation\">.<\/span>sleep<span class=\"token punctuation\">(<\/span><span class=\"token number\">60<\/span><span class=\"token punctuation\">)<\/span>  <span class=\"token comment\"># \u6bcf\u5206\u949f\u68c0\u67e5\u4e00\u6b21<\/span><\/p>\n<p><span class=\"token keyword\">if<\/span> __name__ <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#039;__main__&#039;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    main<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<hr \/>\n<h3>\u4e03\u3001\u5b89\u5168\u914d\u7f6e<\/h3>\n<h4>7.1 \u9632\u706b\u5899<\/h4>\n<p><span class=\"token comment\"># \u53ea\u5f00\u653e\u5fc5\u8981\u7aef\u53e3<\/span><br \/>\n<span class=\"token function\">sudo<\/span> ufw allow <span class=\"token function\">ssh<\/span><br \/>\n<span class=\"token function\">sudo<\/span> ufw <span class=\"token builtin class-name\">enable<\/span><\/p>\n<h4>7.2 SSH\u5b89\u5168<\/h4>\n<p><span class=\"token comment\"># \u4fee\u6539SSH\u7aef\u53e3<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">vim<\/span> \/etc\/ssh\/sshd_config<br \/>\n<span class=\"token comment\"># Port 22222<\/span><\/p>\n<p><span class=\"token comment\"># \u7981\u7528\u5bc6\u7801\u767b\u5f55&#xff08;\u4f7f\u7528\u5bc6\u94a5&#xff09;<\/span><br \/>\n<span class=\"token comment\"># PasswordAuthentication no<\/span><\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl restart sshd<\/p>\n<h4>7.3 \u5b9a\u671f\u5907\u4efd<\/h4>\n<p><span class=\"token comment\"># \u5907\u4efd\u811a\u672c<\/span><br \/>\n<span class=\"token comment\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token assign-left variable\">DATE<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">date<\/span> &#043;%Y%m%d<span class=\"token variable\">)<\/span><\/span><br \/>\n<span class=\"token function\">tar<\/span> -czf \/backup\/trading_<span class=\"token variable\">$DATE<\/span>.tar.gz \/home\/trader\/trading\/<\/p>\n<p><span class=\"token comment\"># \u6dfb\u52a0\u5230crontab<\/span><br \/>\n<span class=\"token comment\"># 0 3 * * * \/home\/trader\/backup.sh<\/span><\/p>\n<hr \/>\n<h3>\u516b\u3001\u6211\u7684\u670d\u52a1\u5668\u914d\u7f6e<\/h3>\n<table>\n<tr>\u914d\u7f6e\u9879\u9009\u62e9<\/tr>\n<tbody>\n<tr>\n<td>\u4e91\u670d\u52a1\u5546<\/td>\n<td>\u963f\u91cc\u4e91<\/td>\n<\/tr>\n<tr>\n<td>\u5730\u57df<\/td>\n<td>\u4e0a\u6d77<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e<\/td>\n<td>2\u68384G<\/td>\n<\/tr>\n<tr>\n<td>\u5e26\u5bbd<\/td>\n<td>5Mbps<\/td>\n<\/tr>\n<tr>\n<td>\u7cfb\u7edf<\/td>\n<td>Ubuntu 22.04<\/td>\n<\/tr>\n<tr>\n<td>Python<\/td>\n<td>3.10<\/td>\n<\/tr>\n<tr>\n<td>\u91cf\u5316\u6846\u67b6<\/td>\n<td>TqSdk<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u9009\u62e9TqSdk\u7684\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u5b89\u88c5\u7b80\u5355&#xff0c;pip\u4e00\u952e\u5b89\u88c5<\/li>\n<li>\u6570\u636e\u5185\u7f6e&#xff0c;\u4e0d\u9700\u8981\u989d\u5916\u914d\u7f6e\u6570\u636e\u6e90<\/li>\n<li>\u56de\u6d4b\u548c\u5b9e\u76d8\u4ee3\u7801\u4e00\u81f4&#xff0c;\u90e8\u7f72\u65b9\u4fbf<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e5d\u3001\u5e38\u89c1\u95ee\u9898<\/h3>\n<h4>Q1&#xff1a;\u670d\u52a1\u5668\u8fde\u63a5\u4e0d\u4e0a\u671f\u8d27\u516c\u53f8&#xff1f;<\/h4>\n<p>\u68c0\u67e5&#xff1a;<\/p>\n<li>\u7f51\u7edc\u662f\u5426\u901a\u7545<\/li>\n<li>\u671f\u8d27\u516c\u53f8\u670d\u52a1\u5668\u5730\u5740\u662f\u5426\u6b63\u786e<\/li>\n<li>\u662f\u5426\u5728\u4ea4\u6613\u65f6\u95f4<\/li>\n<h4>Q2&#xff1a;\u7b56\u7565\u8fd0\u884c\u4e00\u6bb5\u65f6\u95f4\u540e\u65ad\u5f00&#xff1f;<\/h4>\n<p>\u53ef\u80fd\u539f\u56e0&#xff1a;<\/p>\n<li>\u5185\u5b58\u4e0d\u8db3<\/li>\n<li>\u7f51\u7edc\u6ce2\u52a8<\/li>\n<li>\u7a0b\u5e8f\u5f02\u5e38<\/li>\n<p>\u89e3\u51b3&#xff1a;\u6dfb\u52a0\u91cd\u8fde\u673a\u5236\u548c\u5f02\u5e38\u5904\u7406\u3002<\/p>\n<h4>Q3&#xff1a;\u5982\u4f55\u67e5\u770b\u7b56\u7565\u8fd0\u884c\u72b6\u6001&#xff1f;<\/h4>\n<p><span class=\"token comment\"># \u67e5\u770b\u670d\u52a1\u72b6\u6001<\/span><br \/>\nsystemctl status trading<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u65e5\u5fd7<\/span><br \/>\njournalctl -u trading -f<\/p>\n<hr \/>\n<h3>\u5341\u3001\u603b\u7ed3<\/h3>\n<p>\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u90e8\u7f72\u7684\u6838\u5fc3\u8981\u70b9&#xff1a;<\/p>\n<li>\u9009\u5bf9\u914d\u7f6e&#xff1a;\u6839\u636e\u7b56\u7565\u7c7b\u578b\u9009\u62e9\u5408\u9002\u914d\u7f6e<\/li>\n<li>\u5730\u57df\u5c31\u8fd1&#xff1a;\u9009\u62e9\u9760\u8fd1\u4ea4\u6613\u670d\u52a1\u5668\u7684\u5730\u57df<\/li>\n<li>\u81ea\u52a8\u5316\u90e8\u7f72&#xff1a;\u4f7f\u7528systemd\u7b49\u5de5\u5177\u5b9e\u73b0\u81ea\u52a8\u542f\u52a8<\/li>\n<li>\u505a\u597d\u76d1\u63a7&#xff1a;\u65e5\u5fd7\u3001\u544a\u8b66\u3001\u5b9a\u671f\u68c0\u67e5<\/li>\n<li>\u5b89\u5168\u7b2c\u4e00&#xff1a;\u9632\u706b\u5899\u3001SSH\u5b89\u5168\u3001\u5b9a\u671f\u5907\u4efd<\/li>\n<p>\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9&#xff01;<\/p>\n<hr \/>\n<p>\u58f0\u660e&#xff1a;\u672c\u6587\u57fa\u4e8e\u4e2a\u4eba\u5b66\u4e60\u7ecf\u9a8c\u6574\u7406&#xff0c;\u4ec5\u4f9b\u6280\u672f\u4ea4\u6d41\u53c2\u8003&#xff0c;\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u58f0\u660e&#xff1a;\u672c\u6587\u4e3a\u4e2a\u4eba\u5b66\u4e60\u7b14\u8bb0&#xff0c;\u4ec5\u4f9b\u6280\u672f\u4ea4\u6d41&#xff0c;\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002 \u4e00\u3001\u524d\u8a00<br \/>\n\u5728\u671f\u8d27\u91cf\u5316\u8fd9\u6761\u8def\u4e0a&#xff0c;\u6211\u5df2\u7ecf\u8d70\u4e86\u6574\u6574\u4e8c\u5341\u5e74\u3002\u505a\u91cf\u5316\u4ea4\u6613&#xff0c;\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u81f3\u5173\u91cd\u8981\u3002<br \/>\n\u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0&#xff0c;\u6211\u6765\u5206\u4eab\u4e00\u4e0b\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u7684\u9009\u62e9\u548c\u90e8\u7f72\u7ecf\u9a8c\u3002 \u4e8c\u3001\u4e3a\u4ec0\u4e48\u9700\u8981\u670d\u52a1\u5668&#xff1f;<br \/>\n\u539f\u56e0\u8bf4\u660e7&#215;24\u8fd0\u884c\u7b56\u7565\u9700\u8981\u6301\u7eed\u8fd0\u884c&#xff0c;\u672c\u5730\u7535\u8111\u96be\u4ee5\u4fdd\u8bc1\u7f51\u7edc\u7a33\u5b9a\u4e91\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u5b9a\u4f4e\u5ef6\u8fdf\u53ef\u9009\u62e9\u9760\u8fd1\u4ea4\u6613\u6240\u7684\u673a\u623f\u5b89\u5168\u53ef\u9760\u907f\u514d\u672c\u5730\u65ad<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9493,81,43,1159,44],"topic":[],"class_list":["post-84755","post","type-post","status-publish","format-standard","hentry","category-server","tag-tqsdk","tag-python","tag-43","tag-1159","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5 - \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\/84755.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u58f0\u660e&#xff1a;\u672c\u6587\u4e3a\u4e2a\u4eba\u5b66\u4e60\u7b14\u8bb0&#xff0c;\u4ec5\u4f9b\u6280\u672f\u4ea4\u6d41&#xff0c;\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002 \u4e00\u3001\u524d\u8a00 \u5728\u671f\u8d27\u91cf\u5316\u8fd9\u6761\u8def\u4e0a&#xff0c;\u6211\u5df2\u7ecf\u8d70\u4e86\u6574\u6574\u4e8c\u5341\u5e74\u3002\u505a\u91cf\u5316\u4ea4\u6613&#xff0c;\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u81f3\u5173\u91cd\u8981\u3002 \u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0&#xff0c;\u6211\u6765\u5206\u4eab\u4e00\u4e0b\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u7684\u9009\u62e9\u548c\u90e8\u7f72\u7ecf\u9a8c\u3002 \u4e8c\u3001\u4e3a\u4ec0\u4e48\u9700\u8981\u670d\u52a1\u5668&#xff1f; \u539f\u56e0\u8bf4\u660e7x24\u8fd0\u884c\u7b56\u7565\u9700\u8981\u6301\u7eed\u8fd0\u884c&#xff0c;\u672c\u5730\u7535\u8111\u96be\u4ee5\u4fdd\u8bc1\u7f51\u7edc\u7a33\u5b9a\u4e91\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u5b9a\u4f4e\u5ef6\u8fdf\u53ef\u9009\u62e9\u9760\u8fd1\u4ea4\u6613\u6240\u7684\u673a\u623f\u5b89\u5168\u53ef\u9760\u907f\u514d\u672c\u5730\u65ad\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/84755.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-26T09:09:24+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84755.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/84755.html\",\"name\":\"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-26T09:09:24+00:00\",\"dateModified\":\"2026-07-26T09:09:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/84755.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/84755.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84755.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5\"}]},{\"@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":"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5 - \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\/84755.html","og_locale":"zh_CN","og_type":"article","og_title":"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u58f0\u660e&#xff1a;\u672c\u6587\u4e3a\u4e2a\u4eba\u5b66\u4e60\u7b14\u8bb0&#xff0c;\u4ec5\u4f9b\u6280\u672f\u4ea4\u6d41&#xff0c;\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002 \u4e00\u3001\u524d\u8a00 \u5728\u671f\u8d27\u91cf\u5316\u8fd9\u6761\u8def\u4e0a&#xff0c;\u6211\u5df2\u7ecf\u8d70\u4e86\u6574\u6574\u4e8c\u5341\u5e74\u3002\u505a\u91cf\u5316\u4ea4\u6613&#xff0c;\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u81f3\u5173\u91cd\u8981\u3002 \u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0&#xff0c;\u6211\u6765\u5206\u4eab\u4e00\u4e0b\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u7684\u9009\u62e9\u548c\u90e8\u7f72\u7ecf\u9a8c\u3002 \u4e8c\u3001\u4e3a\u4ec0\u4e48\u9700\u8981\u670d\u52a1\u5668&#xff1f; \u539f\u56e0\u8bf4\u660e7x24\u8fd0\u884c\u7b56\u7565\u9700\u8981\u6301\u7eed\u8fd0\u884c&#xff0c;\u672c\u5730\u7535\u8111\u96be\u4ee5\u4fdd\u8bc1\u7f51\u7edc\u7a33\u5b9a\u4e91\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u5b9a\u4f4e\u5ef6\u8fdf\u53ef\u9009\u62e9\u9760\u8fd1\u4ea4\u6613\u6240\u7684\u673a\u623f\u5b89\u5168\u53ef\u9760\u907f\u514d\u672c\u5730\u65ad","og_url":"https:\/\/www.wsisp.com\/helps\/84755.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-26T09:09:24+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/84755.html","url":"https:\/\/www.wsisp.com\/helps\/84755.html","name":"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-26T09:09:24+00:00","dateModified":"2026-07-26T09:09:24+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/84755.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/84755.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/84755.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u91cf\u5316\u4ea4\u6613\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u90e8\u7f72_\u4e91\u670d\u52a1\u5668\u914d\u7f6e\u5b9e\u8df5"}]},{"@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\/84755","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=84755"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84755\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=84755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=84755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=84755"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=84755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}