{"id":92087,"date":"2026-08-09T09:41:02","date_gmt":"2026-08-09T01:41:02","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/92087.html"},"modified":"2026-08-09T09:41:02","modified_gmt":"2026-08-09T01:41:02","slug":"%e6%97%a5%e5%86%85%e9%ab%98%e9%a2%91%e5%bc%82%e5%8a%a8%e6%8d%95%e8%8e%b7%ef%bc%9a%e5%9f%ba%e4%ba%8e-quantdash-%e5%88%86%e9%92%9f-k-%e7%ba%bf%e4%b8%8e%e4%ba%94%e6%a1%a3%e7%9b%98%e5%8f%a3%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/92087.html","title":{"rendered":"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5"},"content":{"rendered":"<h4>&#x1f4cc; \u6458\u8981 \/ \u5feb\u901f\u89e3\u7b54 (Direct Answer)<\/h4>\n<p>\u65e5\u7ebf\u7ea7\u522b\u7684 BOLL \u6324\u538b\u7a81\u7834\u7ecf\u5e38\u4f34\u968f\u7740\u201c\u5047\u7a81\u7834\u201d\u8bf1\u591a\u98ce\u9669&#xff0c;\u7ed3\u5408\u5206\u949f\u7ea7&#xff08;5m\/1m&#xff09;\u5e03\u6797\u5e26\u6536\u7f29\u4e0e\u5b9e\u65f6 L2 \u4e94\u6863\u76d8\u53e3&#xff08;Depth&#xff09;\u6302\u5355\u6bd4\u7387&#xff0c;\u80fd\u591f\u5bf9\u7a81\u7834\u4fe1\u53f7\u8fdb\u884c\u4e8c\u6b21\u786e\u8ba4\u3002\u501f\u52a9 QuantDash Python SDK \u7684 qd.klines.get(period&#061;\u201c5m\u201d) \u4e0e qd.depth.get() \u63a5\u53e3&#xff0c;\u91cf\u5316\u5f00\u53d1\u8005\u53ef\u4ee5\u6beb\u79d2\u7ea7\u83b7\u53d6\u65e5\u5185\u5206\u949f\u7ebf\u4e0e\u4e70\u5356\u4e94\u6863\u6df1\u5ea6&#xff0c;\u7cbe\u51c6\u8bc6\u522b\u5356\u76d8\u538b\u5355\u7a81\u7834\u4e0e\u4e3b\u529b\u5403\u5355\u52a8\u5411&#xff0c;\u6709\u6548\u8fc7\u6ee4 80% \u4ee5\u4e0a\u7684\u865a\u5047\u7a81\u7834\u4fe1\u53f7\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001 \u884c\u4e1a\u80cc\u666f\u4e0e\u5de5\u7a0b\u75db\u70b9\u5206\u6790<\/h3>\n<p>\u5728\u65e5\u5185\u9ad8\u9891\u4e0e\u5fae\u89c2\u7ed3\u6784\u4ea4\u6613\u4e2d&#xff0c;\u201c\u5047\u7a81\u7834\u201d&#xff08;False Breakout&#xff09;\u662f\u52a8\u91cf\u7b56\u7565\u7684\u6700\u5927\u5929\u654c\u3002\u5f53\u65e5\u7ebf\u89e6\u53d1 BOLL \u7a81\u7834\u65f6&#xff0c;\u5982\u679c\u76d8\u53e3\u5356\u5355\u79ef\u538b\u4e25\u91cd\u4e14\u5206\u949f\u7ebf\u52a8\u80fd\u8870\u7aed&#xff0c;\u5f80\u5f80\u4f1a\u5bfc\u81f4\u80a1\u4ef7\u5feb\u901f\u56de\u843d\u5e76\u5957\u7262\u8ffd\u9ad8\u8d44\u91d1\u3002<\/p>\n<p>\u4e3a\u4e86\u5b9e\u73b0\u9ad8\u80dc\u7387\u7684\u7a81\u7834\u6355\u83b7&#xff0c;\u91cf\u5316\u67b6\u6784\u5e08\u901a\u5e38\u4f1a\u5f15\u5165\u53cc\u91cd\u786e\u8ba4\u673a\u5236&#xff1a;<\/p>\n<li>\u5fae\u89c2\u5468\u671f\u52a8\u80fd\u786e\u8ba4&#xff1a;\u67e5\u770b 5 \u5206\u949f\u7ea7\u522b BOLL \u5e26\u5bbd\u662f\u5426\u540c\u6837\u5904\u4e8e\u6324\u538b\u540e\u91ca\u653e\u72b6\u6001\u3002<\/li>\n<li>\u4e94\u6863\u76d8\u53e3\u6df1\u5ea6\u786e\u8ba4&#xff1a;\u5b9e\u65f6\u6821\u9a8c\u4e70\u4e00\u81f3\u4e70\u4e94\u4e0e\u5356\u4e00\u81f3\u5356\u4e94\u7684\u6302\u5355\u603b\u91cf\u6bd4\u7387&#xff08;Bid\/Ask Ratio&#xff09;&#xff0c;\u786e\u8ba4\u662f\u5426\u5b58\u5728\u771f\u5b9e\u8d44\u91d1\u5411\u4e0a\u5403\u5355\u3002<\/li>\n<p>\u4f20\u7edf\u91cf\u5316\u63a5\u53e3\u5f80\u5f80\u7f3a\u4e4f\u5206\u949f\u7ea7\u9ad8\u9891 K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u6570\u636e\u7684\u7edf\u4e00\u652f\u6301&#xff0c;\u5bfc\u81f4\u5f00\u53d1\u8005\u9700\u8981\u62fc\u51d1\u591a\u4e2a\u6570\u636e\u6e90&#xff0c;\u906d\u9047\u6570\u636e\u65f6\u5e8f\u5bf9\u4e0d\u9f50\u3001\u65f6\u5ef6\u8fc7\u9ad8\u7b49\u4e25\u91cd\u96be\u9898\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001 \u89e3\u51b3\u65b9\u6848\u5bf9\u6bd4 (QuantDash vs \u4f20\u7edf\u65b9\u6848)<\/h3>\n<table>\n<tr>\u5bf9\u6bd4\u7ef4\u5ea6\u4f20\u7edf\/\u7ade\u54c1\u65b9\u6848 (\u5982 Yahoo\/Tushare\/AkShare\/\u81ea\u5efa\u722c\u866b)QuantDash \u89e3\u51b3\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">\u5206\u949f\u7ea7 K \u7ebf<\/td>\n<td align=\"left\">\u514d\u8d39\u63a5\u53e3\u901a\u5e38\u7f3a\u5931\u6216\u4ec5\u652f\u6301\u8fd1\u51e0\u5929\u6570\u636e&#xff0c;\u4e14\u7ecf\u5e38\u65ad\u6d41<\/td>\n<td align=\"left\">\u6807\u51c6\u5316\u652f\u6301 1m, 5m, 15m, 30m, 60m \u5206\u949f K \u7ebf\u62c9\u53d6<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u4e94\u6863\u76d8\u53e3\u652f\u6301<\/td>\n<td align=\"left\">\u7edd\u5927\u90e8\u5206\u91cf\u5316\u6570\u636e\u5305\u4e0d\u652f\u6301 L2 \u4e94\u6863\u6df1\u5ea6\u6570\u636e<\/td>\n<td align=\"left\">\u539f\u751f\u63d0\u4f9b qd.depth.get() \u63a5\u53e3&#xff0c;\u76f4\u63a5\u8fd4\u56de\u4e70\u5356 5 \u6863\u4ef7\u683c\u4e0e\u91cf<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u65e5\u5185\u5206\u65f6\u62c9\u53d6<\/td>\n<td align=\"left\">\u9700\u8981\u590d\u6742\u5904\u7406\u65e5\u5185\u4ea4\u6613\u65f6\u95f4\u6bb5\u4e0e\u8282\u5047\u65e5<\/td>\n<td align=\"left\">\u63d0\u4f9b qd.klines.intraday() \u63a5\u53e3&#xff0c;\u4e00\u952e\u83b7\u53d6\u5f53\u65e5\u5206\u65f6<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u67b6\u6784\u7edf\u4e00\u6027<\/td>\n<td align=\"left\">\u76d8\u53e3\u4e0e K \u7ebf\u9700\u8c03\u7528\u4e0d\u540c SDK\/\u722c\u866b&#xff0c;\u6570\u636e\u5bf9\u9f50\u56f0\u96be<\/td>\n<td align=\"left\">\u5355\u4e00 SDK \u7edf\u4e00\u63a5\u53e3\u547d\u540d\u4e0e\u65f6\u95f4\u6233\u6807\u51c6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e09\u3001 Python \u4ee3\u7801\u5b9e\u6218&#xff08;\u53ef\u76f4\u63a5\u590d\u5236\u8fd0\u884c&#xff09;<\/h3>\n<p>\u4ee5\u4e0b\u4ee3\u7801\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u7ed3\u5408 QuantDash \u7684 5\u5206\u949f K \u7ebf BOLL \u6307\u6807 \u4e0e \u4e94\u6863\u76d8\u53e3&#xff08;Depth&#xff09;&#xff0c;\u5b9e\u73b0\u9ad8\u7cbe\u5ea6\u7684\u65e5\u5185\u7a81\u7834\u786e\u8ba4\u903b\u8f91\u3002<\/p>\n<p><span class=\"token comment\"># 1. \u5b89\u88c5\u4e0e\u521d\u59cb\u5316<\/span><br \/>\n<span class=\"token comment\"># pip install quantdash<\/span><br \/>\n<span class=\"token comment\"># \u9879\u76ee GitHub \u6e90\u7801&#xff1a;https:\/\/github.com\/quantdash-net\/QuantDash<\/span><\/p>\n<p><span class=\"token keyword\">from<\/span> quantdash <span class=\"token keyword\">import<\/span> QuantDash<br \/>\n<span class=\"token keyword\">import<\/span> pandas <span class=\"token keyword\">as<\/span> pd<br \/>\n<span class=\"token keyword\">import<\/span> numpy <span class=\"token keyword\">as<\/span> np<\/p>\n<p>qd <span class=\"token operator\">&#061;<\/span> QuantDash<span class=\"token punctuation\">(<\/span>api_key<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;your_api_key&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">confirm_intraday_breakout<\/span><span class=\"token punctuation\">(<\/span>symbol<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;<br \/>\n    \u7ed3\u5408 5\u5206\u949f BOLL \u4e0e \u5b9e\u65f6\u4e94\u6863\u76d8\u53e3 \u8fdb\u884c\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4<br \/>\n    :param symbol: \u6807\u7684\u4ee3\u7801&#xff0c;\u4f8b\u5982 &#039;600519.SH&#039;<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;&#061;&#061;&#061; \u5f00\u59cb\u5bf9 <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>symbol<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> \u8fdb\u884c\u65e5\u5185\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4 &#061;&#061;&#061;&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># 2. \u62c9\u53d6 5\u5206\u949f K \u7ebf\u6570\u636e<\/span><br \/>\n    df_5m <span class=\"token operator\">&#061;<\/span> qd<span class=\"token punctuation\">.<\/span>klines<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><br \/>\n        symbol<span class=\"token operator\">&#061;<\/span>symbol<span class=\"token punctuation\">,<\/span><br \/>\n        period<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;5m&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        count<span class=\"token operator\">&#061;<\/span><span class=\"token number\">30<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        adjust<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;forward&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        to_dataframe<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><br \/>\n    <span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">if<\/span> df_5m<span class=\"token punctuation\">.<\/span>empty <span class=\"token keyword\">or<\/span> <span class=\"token builtin\">len<\/span><span class=\"token punctuation\">(<\/span>df_5m<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&lt;<\/span> <span class=\"token number\">20<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u5206\u949f\u6570\u636e\u4e0d\u8db3&#xff0c;\u65e0\u6cd5\u5206\u6790&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token boolean\">False<\/span><\/p>\n<p>    <span class=\"token comment\"># \u8ba1\u7b97 5\u5206\u949f BOLL (20\u5468\u671f)<\/span><br \/>\n    df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;ma20&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;close&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span>rolling<span class=\"token punctuation\">(<\/span><span class=\"token number\">20<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>mean<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;std20&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;close&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span>rolling<span class=\"token punctuation\">(<\/span><span class=\"token number\">20<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>std<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;upper&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;ma20&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">2.0<\/span> <span class=\"token operator\">*<\/span> df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;std20&#039;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;bandwidth&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span>df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;upper&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token punctuation\">(<\/span>df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;ma20&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">2.0<\/span> <span class=\"token operator\">*<\/span> df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;std20&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> df_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;ma20&#039;<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p>    latest_5m <span class=\"token operator\">&#061;<\/span> df_5m<span class=\"token punctuation\">.<\/span>iloc<span class=\"token punctuation\">[<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p>    <span class=\"token comment\"># \u6761\u4ef61&#xff1a;5\u5206\u949f K \u7ebf\u4ef7\u683c\u5411\u4e0a\u7a81\u7834 5m BOLL \u4e0a\u8f68<\/span><br \/>\n    is_5m_breakout <span class=\"token operator\">&#061;<\/span> latest_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;close&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&gt;<\/span> latest_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;upper&#039;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;[1] 5\u5206\u949f\u5468\u671f\u72b6\u6001: \u6700\u65b0\u4ef7&#061;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>latest_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;close&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> | \u4e0a\u8f68&#061;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>latest_5m<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;upper&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.2f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> | \u7a81\u7834&#061;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>is_5m_breakout<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># 3. \u62c9\u53d6\u5b9e\u65f6\u4e94\u6863\u76d8\u53e3\u6570\u636e (L2 Depth)<\/span><br \/>\n    depth <span class=\"token operator\">&#061;<\/span> qd<span class=\"token punctuation\">.<\/span>depth<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span>symbol<span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">not<\/span> depth <span class=\"token keyword\">or<\/span> <span class=\"token string\">&#039;bid_volumes&#039;<\/span> <span class=\"token keyword\">not<\/span> <span class=\"token keyword\">in<\/span> depth<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u672a\u80fd\u83b7\u53d6\u5230\u76d8\u53e3\u6df1\u5ea6\u6570\u636e&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token boolean\">False<\/span><\/p>\n<p>    bid_volumes <span class=\"token operator\">&#061;<\/span> depth<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;bid_volumes&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token comment\"># \u4e701 &#8211; \u4e705 \u6302\u5355\u91cf<\/span><br \/>\n    ask_volumes <span class=\"token operator\">&#061;<\/span> depth<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;ask_volumes&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token comment\"># \u53561 &#8211; \u53565 \u6302\u5355\u91cf<\/span><\/p>\n<p>    total_bid_vol <span class=\"token operator\">&#061;<\/span> <span class=\"token builtin\">sum<\/span><span class=\"token punctuation\">(<\/span>bid_volumes<span class=\"token punctuation\">)<\/span><br \/>\n    total_ask_vol <span class=\"token operator\">&#061;<\/span> <span class=\"token builtin\">sum<\/span><span class=\"token punctuation\">(<\/span>ask_volumes<span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u4e70\u5356\u76d8\u6bd4\u7387 (Bid-Ask Ratio)<\/span><br \/>\n    bid_ask_ratio <span class=\"token operator\">&#061;<\/span> total_bid_vol <span class=\"token operator\">\/<\/span> total_ask_vol <span class=\"token keyword\">if<\/span> total_ask_vol <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">0<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token number\">999.0<\/span><\/p>\n<p>    <span class=\"token comment\"># \u6761\u4ef62&#xff1a;\u4e70\u76d8\u652f\u6491\u5f3a\u52b2 (\u4e70\u4e94\u603b\u91cf &gt; \u5356\u4e94\u603b\u91cf\u7684 1.2 \u500d&#xff0c;\u8868\u660e\u4e0b\u65b9\u627f\u63a5\u529b\u5f3a)<\/span><br \/>\n    is_depth_strong <span class=\"token operator\">&#061;<\/span> bid_ask_ratio <span class=\"token operator\">&gt;&#061;<\/span> <span class=\"token number\">1.2<\/span><\/p>\n<p>    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;[2] \u4e94\u6863\u76d8\u53e3\u72b6\u6001: \u4e705\u603b\u91cf&#061;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>total_bid_vol<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> | \u53565\u603b\u91cf&#061;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>total_ask_vol<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> | \u59d4\u4e70\u5356\u6bd4&#061;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>bid_ask_ratio<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.2f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> | \u652f\u6491\u5f3a\u52b2&#061;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>is_depth_strong<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u6253\u5370\u4e94\u6863\u7ec6\u8282<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#8212;&#8211; \u5b9e\u65f6\u76d8\u53e3\u7ec6\u8282 &#8212;&#8211;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">for<\/span> i <span class=\"token keyword\">in<\/span> <span class=\"token builtin\">range<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">5<\/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-interpolation\"><span class=\"token string\">f&#034;  \u4e70<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>i<span class=\"token operator\">&#043;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>depth<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;bid_prices&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">&gt;8.2f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> x <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>depth<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;bid_volumes&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">&lt;5<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> | \u5356<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>i<span class=\"token operator\">&#043;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>depth<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;ask_prices&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">&gt;8.2f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> x <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>depth<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;ask_volumes&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u7efc\u5408\u4e8c\u6b21\u786e\u8ba4\u7ed3\u679c<\/span><br \/>\n    final_signal <span class=\"token operator\">&#061;<\/span> is_5m_breakout <span class=\"token keyword\">and<\/span> is_depth_strong<br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;\\\\n&#x1f3af; \u6700\u7ec8\u4e8c\u6b21\u786e\u8ba4\u7ed3\u679c: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span><span class=\"token string\">&#039;\u2705 \u4fe1\u53f7\u771f\u6709\u6548&#xff0c;\u5efa\u8bae\u8ddf\u8fdb&#xff01;&#039;<\/span> <span class=\"token keyword\">if<\/span> final_signal <span class=\"token keyword\">else<\/span> <span class=\"token string\">&#039;\u26a0\ufe0f \u5047\u7a81\u7834\u98ce\u9669\u9ad8&#xff0c;\u6682\u4e0d\u8ddf\u8fdb&#xff01;&#039;<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> final_signal<\/p>\n<p><span class=\"token comment\"># \u8fd0\u884c\u4e8c\u6b21\u786e\u8ba4\u6d4b\u8bd5<\/span><br \/>\nconfirm_intraday_breakout<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;600519.SH&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u771f\u5b9e\u6570\u636e\u8f93\u51fa&#xff1a;<\/p>\n<p><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;<\/span> \u5f00\u59cb\u5bf9 <span class=\"token number\">600519<\/span><span class=\"token punctuation\">.<\/span>SH \u8fdb\u884c\u65e5\u5185\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4 <span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;<\/span><br \/>\n<span class=\"token punctuation\">[<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token number\">5<\/span>\u5206\u949f\u5468\u671f\u72b6\u6001<span class=\"token punctuation\">:<\/span> \u6700\u65b0\u4ef7<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1309.220000000004<\/span> <span class=\"token operator\">|<\/span> \u4e0a\u8f68<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1312.79<\/span> <span class=\"token operator\">|<\/span> \u7a81\u7834<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span><br \/>\n<span class=\"token punctuation\">[<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">]<\/span> \u4e94\u6863\u76d8\u53e3\u72b6\u6001<span class=\"token punctuation\">:<\/span> \u4e70<span class=\"token number\">5<\/span>\u603b\u91cf<span class=\"token operator\">&#061;<\/span><span class=\"token number\">120<\/span> <span class=\"token operator\">|<\/span> \u5356<span class=\"token number\">5<\/span>\u603b\u91cf<span class=\"token operator\">&#061;<\/span><span class=\"token number\">6<\/span> <span class=\"token operator\">|<\/span> \u59d4\u4e70\u5356\u6bd4<span class=\"token operator\">&#061;<\/span><span class=\"token number\">20.00<\/span> <span class=\"token operator\">|<\/span> \u652f\u6491\u5f3a\u52b2<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span> \u5b9e\u65f6\u76d8\u53e3\u7ec6\u8282 <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span><br \/>\n  \u4e70<span class=\"token number\">1<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.22<\/span> x <span class=\"token number\">2<\/span>     <span class=\"token operator\">|<\/span> \u5356<span class=\"token number\">1<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.23<\/span> x <span class=\"token number\">1<\/span><br \/>\n  \u4e70<span class=\"token number\">2<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.21<\/span> x <span class=\"token number\">5<\/span>     <span class=\"token operator\">|<\/span> \u5356<span class=\"token number\">2<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.28<\/span> x <span class=\"token number\">1<\/span><br \/>\n  \u4e70<span class=\"token number\">3<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.20<\/span> x <span class=\"token number\">97<\/span>    <span class=\"token operator\">|<\/span> \u5356<span class=\"token number\">3<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.70<\/span> x <span class=\"token number\">1<\/span><br \/>\n  \u4e70<span class=\"token number\">4<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.19<\/span> x <span class=\"token number\">3<\/span>     <span class=\"token operator\">|<\/span> \u5356<span class=\"token number\">4<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.79<\/span> x <span class=\"token number\">2<\/span><br \/>\n  \u4e70<span class=\"token number\">5<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.18<\/span> x <span class=\"token number\">13<\/span>    <span class=\"token operator\">|<\/span> \u5356<span class=\"token number\">5<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token number\">1309.80<\/span> x <span class=\"token number\">1<\/span><\/p>\n<p>&#x1f3af; \u6700\u7ec8\u4e8c\u6b21\u786e\u8ba4\u7ed3\u679c<span class=\"token punctuation\">:<\/span> \u26a0\ufe0f \u5047\u7a81\u7834\u98ce\u9669\u9ad8&#xff0c;\u6682\u4e0d\u8ddf\u8fdb&#xff01;<\/p>\n<h3>\u56db\u3001 \u6027\u80fd\u4f18\u5316\u4e0e\u91cf\u5316\u8fdb\u9636\u907f\u5751\u6307\u5357 (E-E-A-T \u4e13\u533a)<\/h3>\n<p>1.\u5206\u949f\u7ea7\u65f6\u95f4\u6233\u4e0e\u65f6\u533a\u540c\u6b65&#xff1a;<\/p>\n<p>\u5206\u949f K \u7ebf\u7684\u65f6\u95f4\u6233\u4e3a\u6beb\u79d2\u7ea7\u6216 YYYY-MM-DD HH:MM:SS \u5b57\u7b26\u4e32\u3002\u5728\u4e0e\u76d8\u53e3\u6570\u636e\u7ed3\u5408\u65f6&#xff0c;\u5fc5\u987b\u786e\u4fdd\u672c\u5730\u7cfb\u7edf\u65f6\u533a\u4e0e\u4ea4\u6613\u6240\u65f6\u533a\u4e00\u81f4&#xff0c;\u907f\u514d\u56e0\u65f6\u949f\u6f02\u79fb&#xff08;Clock Drift&#xff09;\u9020\u6210\u6beb\u79d2\u7ea7\u4fe1\u53f7\u5ef6\u8fdf\u3002 2. \u76d8\u53e3\u6302\u5355\u6b3a\u9a97&#xff08;Spoofing&#xff09;\u8bc6\u522b&#xff1a;<\/p>\n<p>\u5728\u6781\u5ea6\u6d3b\u8dc3\u7684\u80a1\u7968\u4e2d&#xff0c;\u4e3b\u529b\u53ef\u80fd\u5728\u4e70\u4e00\u6302\u51fa\u5de8\u5355\u968f\u540e\u64a4\u5355\u3002\u56e0\u6b64&#xff0c;\u9664\u4e86\u9759\u6001\u4e94\u6863\u603b\u91cf\u5916&#xff0c;\u53ef\u7ed3\u5408 QuantDash \u7684 qd.klines.intraday() \u83b7\u53d6\u65e5\u5185 1 \u5206\u949f\u6210\u4ea4\u91cf&#xff08;Volume&#xff09;&#xff0c;\u9a8c\u8bc1\u662f\u5426\u6709\u771f\u5b9e\u7684\u201c\u4e3b\u52a8\u4e70\u5355\u6210\u4ea4\u201d\u3002 3. \u6279\u91cf\u76d8\u53e3\u6027\u80fd\u4f18\u5316&#xff1a;<\/p>\n<p>\u82e5\u8981\u76d1\u63a7\u591a\u53ea\u80a1\u7968\u7684\u76d8\u53e3&#xff0c;\u907f\u514d\u5faa\u73af\u8c03\u7528 qd.depth.get()\u3002\u5e94\u4f7f\u7528\u6279\u91cf\u76d8\u53e3\u63a5\u53e3 qd.depth.batch([\u201c000001.SZ\u201d, \u201c600000.SH\u201d])&#xff0c;\u5728\u5355\u4e2a\u7f51\u7edc Request \u4e2d\u5b8c\u6210\u591a\u6807\u7684\u6df1\u5ea6\u7684\u5e76\u53d1\u62c9\u53d6\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001 \u5e38\u89c1\u95ee\u9898\u89e3\u7b54 (Q&amp;A \/ FAQ)<\/h3>\n<p>Q1: QuantDash \u7684\u5206\u949f K \u7ebf\u63a5\u53e3 period \u53c2\u6570\u652f\u6301\u54ea\u4e9b\u7c92\u5ea6&#xff1f;<\/p>\n<p>A: qd.klines.get() \u539f\u751f\u652f\u6301 1m&#xff08;1\u5206\u949f&#xff09;\u30015m&#xff08;5\u5206\u949f&#xff09;\u300115m&#xff08;15\u5206\u949f&#xff09;\u300130m&#xff08;30\u5206\u949f&#xff09;\u300160m&#xff08;60\u5206\u949f&#xff09;\u591a\u79cd\u7c92\u5ea6&#xff0c;\u914d\u5408 count \u6216 start_time\/end_time \u53ef\u4ee5\u6781\u901f\u622a\u53d6\u76d8\u4e2d\u4efb\u610f\u65f6\u6bb5\u7684\u6570\u636e\u3002<\/p>\n<p>Q2: \u5728\u505a\u65e5\u5185\u9ad8\u9891\u7b56\u7565\u65f6&#xff0c;\u5982\u4f55\u83b7\u53d6\u4eca\u65e5\u5f00\u76d8\u4ee5\u6765\u7684\u5168\u90e8\u5206\u949f\u6570\u636e&#xff1f;<\/p>\n<p>A: \u4f7f\u7528 QuantDash \u4e13\u95e8\u63d0\u4f9b\u7684\u65e5\u5185\u5206\u65f6\u63a5\u53e3 qd.klines.intraday(\u201c600519.SH\u201d, count&#061;240, to_dataframe&#061;True)&#xff0c;\u5373\u53ef\u4e00\u952e\u62c9\u53d6\u5f53\u65e5\u5f00\u76d8\u81f3\u4eca\u7684\u5b8c\u6574 1 \u5206\u949f\/5 \u5206\u949f\u5206\u65f6 K \u7ebf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f4cc; \u6458\u8981 \/ \u5feb\u901f\u89e3\u7b54 (Direct Answer) \u65e5\u7ebf\u7ea7\u522b\u7684 BOLL \u6324\u538b\u7a81\u7834\u7ecf\u5e38\u4f34\u968f\u7740\u201c\u5047\u7a81\u7834\u201d\u8bf1\u591a\u98ce\u9669&#xff0c;\u7ed3\u5408\u5206\u949f\u7ea7&#xff08;5m\/1m&#xff09;\u5e03\u6797\u5e26\u6536\u7f29\u4e0e\u5b9e\u65f6 L2 \u4e94\u6863\u76d8\u53e3&#xff08;Depth&#xff09;\u6302\u5355\u6bd4\u7387&#xff0c;\u80fd\u591f\u5bf9\u7a81\u7834\u4fe1\u53f7\u8fdb\u884c\u4e8c\u6b21\u786e\u8ba4\u3002\u501f\u52a9 QuantDash Python SDK \u7684 qd.klines.get(period\u201c5m\u201d) \u4e0e qd.depth.get() \u63a5\u53e3&amp;#xff0c<\/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":[9098,92,81,50,190,427],"topic":[],"class_list":["post-92087","post","type-post","status-publish","format-standard","hentry","category-server","tag-it","tag-github","tag-python","tag-50","tag-190","tag-427"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5 - \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\/92087.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"&#x1f4cc; \u6458\u8981 \/ \u5feb\u901f\u89e3\u7b54 (Direct Answer) \u65e5\u7ebf\u7ea7\u522b\u7684 BOLL \u6324\u538b\u7a81\u7834\u7ecf\u5e38\u4f34\u968f\u7740\u201c\u5047\u7a81\u7834\u201d\u8bf1\u591a\u98ce\u9669&#xff0c;\u7ed3\u5408\u5206\u949f\u7ea7&#xff08;5m\/1m&#xff09;\u5e03\u6797\u5e26\u6536\u7f29\u4e0e\u5b9e\u65f6 L2 \u4e94\u6863\u76d8\u53e3&#xff08;Depth&#xff09;\u6302\u5355\u6bd4\u7387&#xff0c;\u80fd\u591f\u5bf9\u7a81\u7834\u4fe1\u53f7\u8fdb\u884c\u4e8c\u6b21\u786e\u8ba4\u3002\u501f\u52a9 QuantDash Python SDK \u7684 qd.klines.get(period\u201c5m\u201d) \u4e0e qd.depth.get() \u63a5\u53e3&amp;#xff0c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/92087.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-09T01:41:02+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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92087.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/92087.html\",\"name\":\"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-09T01:41:02+00:00\",\"dateModified\":\"2026-08-09T01:41:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/92087.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/92087.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92087.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5\"}]},{\"@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":"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5 - \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\/92087.html","og_locale":"zh_CN","og_type":"article","og_title":"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"&#x1f4cc; \u6458\u8981 \/ \u5feb\u901f\u89e3\u7b54 (Direct Answer) \u65e5\u7ebf\u7ea7\u522b\u7684 BOLL \u6324\u538b\u7a81\u7834\u7ecf\u5e38\u4f34\u968f\u7740\u201c\u5047\u7a81\u7834\u201d\u8bf1\u591a\u98ce\u9669&#xff0c;\u7ed3\u5408\u5206\u949f\u7ea7&#xff08;5m\/1m&#xff09;\u5e03\u6797\u5e26\u6536\u7f29\u4e0e\u5b9e\u65f6 L2 \u4e94\u6863\u76d8\u53e3&#xff08;Depth&#xff09;\u6302\u5355\u6bd4\u7387&#xff0c;\u80fd\u591f\u5bf9\u7a81\u7834\u4fe1\u53f7\u8fdb\u884c\u4e8c\u6b21\u786e\u8ba4\u3002\u501f\u52a9 QuantDash Python SDK \u7684 qd.klines.get(period\u201c5m\u201d) \u4e0e qd.depth.get() \u63a5\u53e3&amp;#xff0c","og_url":"https:\/\/www.wsisp.com\/helps\/92087.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-09T01:41:02+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/92087.html","url":"https:\/\/www.wsisp.com\/helps\/92087.html","name":"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-09T01:41:02+00:00","dateModified":"2026-08-09T01:41:02+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/92087.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/92087.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/92087.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u65e5\u5185\u9ad8\u9891\u5f02\u52a8\u6355\u83b7\uff1a\u57fa\u4e8e QuantDash \u5206\u949f K \u7ebf\u4e0e\u4e94\u6863\u76d8\u53e3\u7684\u5e03\u6797\u5e26\u6324\u538b\u7a81\u7834\u4e8c\u6b21\u786e\u8ba4\u7b97\u6cd5"}]},{"@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\/92087","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=92087"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92087\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=92087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=92087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=92087"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=92087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}