id: f13e71db52d744bba0b3187e3b284b9c
parent_id: 
item_type: 1
item_id: 25e0837a7e78412a8a151dc96f0857f7
item_updated_time: 1764345625515
title_diff: "[{\"diffs\":[[1,\"基于AI的股票分析系统Stock-Scanner\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":24}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>基于AI的股票分析系统Stock-Scanner</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"39128\\\"></a>\\\r\\\n<h1>基于AI的股票分析系统Stock-Scanner</h1>\\\r\\\n\\\r\\\n<div><span><div><br/></div><p><br/></p><div style=\\\"--en-blockquote:true;box-sizing: border-box; padding-left: 19px; padding-top: 6px; padding-bottom: 6px; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial; margin-top: 6px\\\"><div>原文链接: <a href=\\\"http://mp.weixin.qq.com/s?__biz=MzI1NTQxMzc3MA==&amp;mid=2247506813&amp;idx=1&amp;sn=22ef5f1173a76391956e331c91aec70a&amp;chksm=ebb3659bce7e41410039529e80f11d3bd78969a3de83a2ab9c8b542e1e6c63fabecc99101e03&amp;mpshare=1&amp;scene=1&amp;srcid=0326vy7a5D0lYadrPetomy4Q&amp;sharer_shareinfo=9f4174303e62fec671d6b98a67962c9e&amp;sharer_shareinfo_first=9f4174303e62fec671d6b98a67962c9e#rd\\\" rev=\\\"en_rl_none\\\">http://mp.weixin.qq.com/s?__biz=MzI1NTQxMzc3MA==&amp;mid=2247506...</a></div></div><p><br/></p><div><br/></div><h1 style=\\\"other-props:eyJibG9ja0lkIjoiSEJ5eVNPYWFCS1EifQ==;\\\"> 基于AI的股票分析系统Stock-Scanner </h1><div>原创杨浦老苏 各种折腾 </div><div><br/></div><h1 style=\\\"other-props:eyJibG9ja0lkIjoieEU0dlNtejJjZGEifQ==;\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">简介</span></span></span></span></h1><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\"><b><span style=\\\"font-weight: bold;\\\">什么是 Stock-Scanner ？</span></b></span></span></p><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">Stock-Scanner</span></span></code></span> 是一个使用 <span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">Python</span></span></code></span> 开发的股票量化回测和实时监控系统。 它旨在帮助投资者验证量化交易策略的有效性，并在实际交易中监控股票市场，发出交易信号。</p><h2 style=\\\"background-color:rgb(251, 251, 251);other-props:eyJibG9ja0lkIjoiUGM4cVJhVFJEMDEifQ==;\\\"><span style=\\\"font-size: 18px;\\\"><span style=\\\"color: rgb(255, 255, 255);\\\"><span style=\\\"font-weight: bold;\\\">主要特点</span></span></span></h2><ol><li><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\"><b><span style=\\\"font-weight: bold;\\\">单股票分析</span></b></span>：</span></p></li><ul><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">实时计算多种技术指标（如移动平均线、</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">RSI</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">、</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">MACD</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">等）。</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">生成详细的股票分析报告。</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">提供个别股票的投资建议。</span></span></div></li></ul><li><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\"><b><span style=\\\"font-weight: bold;\\\">全市场扫描</span></b></span>：</span></p></li><ul><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">扫描全部 A 股股票。</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">根据多维度技术指标进行评分，以筛选出高潜力股票。</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">按价格区间生成分析报告。</span></span></div></li></ul><li><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\"><b><span style=\\\"font-weight: bold;\\\">技术指标支持</span></b></span>：</span></p></li><ul><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">移动平均线 (</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">Moving Average</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">)</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">相对强弱指数 (</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">RSI</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">)</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">移动平均收敛发散指标 (</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">MACD</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">)</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">布林带 (</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">Bollinger Bands</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">)</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">能量潮指标 (</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">OBV</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">)</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">随机指标 (</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">Stochastic Oscillator</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">)</span></span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">平均真实波动范围 (</span><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(1, 1, 1);\\\">ATR</span></span></code><span style=\\\"color: rgb(1, 1, 1);\\\">)</span></span></div></li></ul></ol><h2 style=\\\"background-color:rgb(251, 251, 251);other-props:eyJibG9ja0lkIjoidnRmRVN1Ql9aVnYifQ==;\\\"><span style=\\\"font-size: 18px;\\\"><span style=\\\"color: rgb(255, 255, 255);\\\"><span style=\\\"font-weight: bold;\\\">应用场景</span></span></span></h2><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">Stock-Scanner</span></span></code></span> 适用于：</p><ul><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\"><b><span style=\\\"font-weight: bold;\\\">个人投资者:</span></b></span> 为个人投资者提供技术分析工具，帮助他们做出更明智的投资决策。</span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\"><b><span style=\\\"font-weight: bold;\\\">金融机构:</span></b></span>  构建和维护量化交易系统，验证和优化量化交易策略。</span></div></li><li><div style=\\\"color:rgb(1, 1, 1);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\"><b><span style=\\\"font-weight: bold;\\\">教育和研究</span></b></span>：可以用作学习和研究股票市场的工具，适合学生和研究人员。</span></div></li></ul><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">Stock-Scanner</span></span></code></span> 是一个功能强大的工具，结合了技术分析和用户友好的界面，适合各类用户进行股票分析和决策支持。通过其开放源代码的特性，用户也可以根据自己的需求进行定制和扩展。</p><img src=\\\":/295873e503f742d5a30337704b967223\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><h1 style=\\\"other-props:eyJibG9ja0lkIjoiZVhXSFFtT0czZzIifQ==;\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">准备</span></span></span></span></h1><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">需要用到 </span></span><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">Gemini API</span></span></code></span>，如果网络需要不好，可以参考上一篇文章</p><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">文章传送门：国内免代理使用Gemini API</span></span></p><div>杨浦老苏，公众号：各种折腾<a href=\\\"http://mp.weixin.qq.com/s?__biz=MzI1NTQxMzc3MA==&amp;mid=2247506796&amp;idx=1&amp;sn=4419a05ec2848dc42daee9142ebb1f44&amp;chksm=ea34c009dd43491f28aa0209180338dabd61c9d0f46d793c06c4da071158ed11c307b0e4f272#rd\\\" rev=\\\"en_rl_none\\\">国内免代理使用Gemini API</a></div><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">否则，你可以略过这一步。可能用其他的大模型也可以，但老苏没试过</span></span></p><h1 style=\\\"other-props:eyJibG9ja0lkIjoibkNBSFNpczJ4YkIifQ==;\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">安装</span></span></span></h1><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">在群晖上以 Docker 方式安装。</span></span></p><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">在注册表中搜索 </span></span><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">lanzhihong</span></span></code></span> ，选择第一个 <span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">lanzhihong/stock-scanner</span></span></code></span>，版本选择 <span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">latest</span></span></code></span>。</p><img src=\\\":/fe838e9aa2ce4da291647e40d29337e5\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><h2 style=\\\"background-color:rgb(251, 251, 251);other-props:eyJibG9ja0lkIjoiV2NNclRxeVowNm8ifQ==;\\\"><span style=\\\"font-size: 18px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(255, 255, 255);\\\"><span style=\\\"font-weight: bold;\\\">端口</span></span></span></span></h2><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">本地端口不冲突就行，不确定的话可以用命令查一下</span></span></p><div style=\\\"background-color:rgb(40, 44, 52);\\\"><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:QK8RTaCRIiN;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"color: #5c6370;\\\"><i># 查看端口占用</i></span>\\\nnetstat -tunlp | grep 端口号\\\n</div><table style=\\\"--en-fitwindow:false;border-left:1px solid #d9d9d9;border-top:1px solid #d9d9d9;border-collapse:collapse;width:380px;\\\" width=\\\"380px\\\"><colgroup><col style=\\\"width: 190px;\\\"></col><col style=\\\"width: 190px;\\\"></col></colgroup><tbody><tr><th style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};background-color:initial;border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">本地端口</span></span></span></div></th><th style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};background-color:initial;border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">容器端口</span></span></span></div></th></tr><tr style=\\\"background-attachment:scroll; background-clip:border-box; background-image:none; background-origin:padding-box; background-position-x:0%; background-position-y:0%; background-repeat-x:no-repeat; background-repeat-y:no-repeat; background-size:auto; width:auto; height:auto;\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><code style=\\\"-en-code: true\\\"><span style=\\\"color: rgb(0, 0, 0);\\\">8888</span></code></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><code style=\\\"-en-code: true\\\">8888</code></div></td></tr></tbody></table><img src=\\\":/7aec466df1a94a5cb05a1b05afd0b3a2\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><h2 style=\\\"background-color:rgb(251, 251, 251);other-props:eyJibG9ja0lkIjoiWlY2ZFJXeklsaG8ifQ==;\\\"><span style=\\\"font-size: 18px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(255, 255, 255);\\\"><span style=\\\"font-weight: bold;\\\">环境</span></span></span></span></h2><table style=\\\"--en-fitwindow:false;border-left:1px solid #d9d9d9;border-top:1px solid #d9d9d9;border-collapse:collapse;width:380px;\\\" width=\\\"380px\\\"><colgroup><col style=\\\"width: 190px;\\\"></col><col style=\\\"width: 190px;\\\"></col></colgroup><tbody><tr><th style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};background-color:initial;border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">可变</span></span></span></div></th><th style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};background-color:initial;border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">值</span></span></span></div></th></tr><tr style=\\\"background-attachment:scroll; background-clip:border-box; background-image:none; background-origin:padding-box; background-position-x:0%; background-position-y:0%; background-repeat-x:no-repeat; background-repeat-y:no-repeat; background-size:auto; width:auto; height:auto;\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><code style=\\\"-en-code: true\\\"><span style=\\\"color: rgb(0, 0, 0);\\\">GEMINI_API_KEY</span></code></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div>设为你的 <code style=\\\"-en-code: true\\\">gemini api key</code></div></td></tr><tr style=\\\"background-attachment:scroll; background-clip:border-box; background-image:none; background-origin:padding-box; background-position-x:0%; background-position-y:0%; background-repeat-x:no-repeat; background-repeat-y:no-repeat; background-size:auto; width:auto; height:auto;\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><code style=\\\"-en-code: true\\\"><span style=\\\"color: rgb(0, 0, 0);\\\">GEMINI_API_URL</span></code></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div>设为 <code style=\\\"-en-code: true\\\">gemini</code> 的地址，使用的你自己代理的地址</div></td></tr><tr style=\\\"background-attachment:scroll; background-clip:border-box; background-image:none; background-origin:padding-box; background-position-x:0%; background-position-y:0%; background-repeat-x:no-repeat; background-repeat-y:no-repeat; background-size:auto; width:auto; height:auto;\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div><code style=\\\"-en-code: true\\\"><span style=\\\"color: rgb(0, 0, 0);\\\">GEMINI_API_MODEL</span></code></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:center;\\\"><div>设置 <code style=\\\"-en-code: true\\\">gemini</code> 模型</div></td></tr></tbody></table><img src=\\\":/9c14042edcda4d2487d7d231ebc4d594\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><h1 style=\\\"other-props:eyJibG9ja0lkIjoiT3BieVNlcTJVeTUifQ==;\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">命令行安装</span></span></span></span></h1><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">如果你熟悉命令行，可能用 </span></span><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">docker cli</span></span></code></span> 更快捷</p><div style=\\\"background-color:rgb(40, 44, 52);\\\"><br/></div><div><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:nG2cS6W337y;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"color: #5c6370;\\\"><i># 运行容器</i></span>\\\ndocker run -d \\\\\\\n  --name stock-scanner \\\\\\\n  -p 8888:8888 \\\\\\\n  -e GEMINI_API_KEY=&lt;你的 gemini api kay&gt; \\\\\\\n  -e GEMINI_API_URL=&lt;你的 gemini api url&gt; \\\\\\\n  -e GEMINI_API_MODEL=&lt;你的 gemini 模型&gt; \\\\\\\n  lanzhihong/stock-scanner:latest\\\n</div><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">也可以用 </span></span><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">docker-compose</span></span></code></span> 安装，将下面的内容保存为 <span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">docker-compose.yml</span></span></code></span> 文件</p><div style=\\\"background-color:rgb(40, 44, 52);\\\"><br/></div><div><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:N_grSa7kZFv;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"color: #d19a66;\\\">version:</span> <span style=\\\"color: #98c379;\\\">'3'</span>\\\n\\\n<span style=\\\"color: #d19a66;\\\">services:</span>\\\n<span style=\\\"color: #d19a66;\\\">stock-scanner:</span>\\\n    <span style=\\\"color: #d19a66;\\\">image:</span><span style=\\\"color: #98c379;\\\">lanzhihong/stock-scanner:latest</span>\\\n    <span style=\\\"color: #d19a66;\\\">container_name:</span><span style=\\\"color: #98c379;\\\">stock-scanner</span>\\\n    <span style=\\\"color: #d19a66;\\\">restart:</span><span style=\\\"color: #98c379;\\\">always</span>\\\n    <span style=\\\"color: #d19a66;\\\">ports:</span>\\\n      <span style=\\\"color: #61aeee;\\\">-</span><span style=\\\"color: #98c379;\\\">&quot;8888:8888&quot;</span>\\\n    <span style=\\\"color: #d19a66;\\\">environment:</span>\\\n      <span style=\\\"color: #d19a66;\\\">GEMINI_API_KEY:</span><span style=\\\"color: #98c379;\\\">&quot;&lt;你的 gemini api key&gt;&quot;</span>\\\n      <span style=\\\"color: #d19a66;\\\">GEMINI_API_URL:</span><span style=\\\"color: #98c379;\\\">&quot;&lt;你的 gemini api url&gt;&quot;</span>\\\n      <span style=\\\"color: #d19a66;\\\">GEMINI_API_MODEL:</span><span style=\\\"color: #98c379;\\\">&quot;&lt;你的 gemini 模型&gt;&quot;</span>\\\n</div><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">然后执行下面的命令</span></span></p><div style=\\\"background-color:rgb(40, 44, 52);\\\"><br/></div><div><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:WaiwRqQ5m-5;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"color: #5c6370;\\\"><i># 新建文件夹 stock-scanner</i></span>\\\nmkdir -p /volume1/docker/stock-scanner\\\n\\\n<span style=\\\"color: #5c6370;\\\"><i># 进入 stock-scanner 目录</i></span>\\\n<span style=\\\"color: #e6c07b;\\\">cd</span> /volume1/docker/stock-scanner\\\n\\\n<span style=\\\"color: #5c6370;\\\"><i># 将 docker-compose.yml 放入当前目录</i></span>\\\n\\\n<span style=\\\"color: #5c6370;\\\"><i># 一键启动</i></span>\\\ndocker-compose up -d\\\n</div><img src=\\\":/abdd4d97c41e40a1a958a58c7f9a64e1\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><h1 style=\\\"other-props:eyJibG9ja0lkIjoiQmY1bFJDeFhqY28ifQ==;\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">运行</span></span></span></span></h1><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">在浏览器中输入 </span></span><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">http://群晖IP:8888</span></span></code></span> 就能看到主界面</p><img src=\\\":/8af45cf75b454099963ab08df943bb78\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(0,0,0);\\\">老苏不炒股，所知有限，随便输了一只股票的代码</span></span></span></p><img src=\\\":/e98e60f1f7d54f47959c5a98bfdab21e\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(0,0,0);\\\">分析完成</span></span></span></p><img src=\\\":/89a71d9ca74e4e79b255f470283b8d67\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><h1 style=\\\"other-props:eyJibG9ja0lkIjoiSXpGQlRDSzY4NEkifQ==;\\\"><span style=\\\"font-size: 24px;\\\"><span style=\\\"font-family: PingFangSC-regular, sans-serif;\\\"><span style=\\\"color: rgb(0, 0, 0);\\\"><span style=\\\"font-weight: bold;\\\">参考文档</span></span></span></span></h1><div><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">DR-lin-eng/stock-scanner: 开源量化分析</span></span></div><div>地址：https://github.com/DR-lin-eng/stock-scanner</div><div><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">lanzhihong6/stock-scanner: 开源量化分析</span></span></div><div>地址：https://github.com/lanzhihong6/stock-scanner</div><div><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">基于几位佬友的代码，改了个AI分析股票的小工具，给大家玩玩 - 开发调优 - LINUX DO</span></span></div><div>地址：https://linux.do/t/topic/464699</div><div><br/></div><p style=\\\"color:rgb(0, 0, 0);\\\"><span style=\\\"font-size: 15px;\\\"><span style=\\\"color: rgb(0,0,0);\\\">@所有人：写文不易，如果你都看到了这里，请点个</span></span><span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">赞</span></span></code></span>和<span style=\\\"font-size: 14px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace;\\\"><span style=\\\"color: rgb(239, 112, 96);\\\">在看</span></span></code></span>，分享给更多的朋友；为确保你能收到每一篇文章，请主页右上角设置星标。点点广告就是对老苏最大的支持。</p><div>阅读原文</div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":26760}]"
metadata_diff: {"new":{"id":"25e0837a7e78412a8a151dc96f0857f7","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348845226,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:13.699Z
created_time: 2025-11-28T21:04:13.699Z
type_: 13