v1.6.0: 目标跟踪(概念/主题/股票) - watch_targets表+概念智能体跟踪(关键词检索+受益个股+影响度判定+邮件通知), 自动化页加持仓管理和目标管理, 报告支持股票/概念双类型
This commit is contained in:
@@ -60,16 +60,42 @@
|
||||
</div>
|
||||
<div class="flex mt16 wrap">
|
||||
<button class="btn btn-primary" onclick="saveTracking()">💾 保存跟踪设置</button>
|
||||
<button class="btn" onclick="runTrackAll()">⚡ 立即跟踪全部持仓</button>
|
||||
<button class="btn" onclick="runTrackAll()">⚡ 立即跟踪全部目标</button>
|
||||
<button class="btn" onclick="location.href='/tracking'">🧭 查看全部跟踪报告</button>
|
||||
</div>
|
||||
<div class="mt16 mini-stats" id="trackingState"></div>
|
||||
|
||||
<!-- 持仓(自选股)管理 -->
|
||||
<div class="mt16" style="border-top:1px solid var(--border);padding-top:6px">
|
||||
<div class="card-title mt16" style="font-size:14px"><span class="bar" style="background:var(--gold)"></span>💼 持仓(自选股)管理 —— 跟踪对象 = 持仓</div>
|
||||
<div class="flex mb8 wrap">
|
||||
<input class="input" id="posSearch" placeholder="输入代码 / 名称搜索股票,回车添加" style="flex:1;min-width:200px">
|
||||
<button class="btn btn-primary" onclick="addPos()">+ 添加持仓</button>
|
||||
</div>
|
||||
<div id="posManage" style="overflow:auto;max-height:260px"><div class="loading">加载中…</div></div>
|
||||
</div>
|
||||
|
||||
<!-- 概念/主题目标 -->
|
||||
<div class="mt16" style="border-top:1px solid var(--border);padding-top:6px">
|
||||
<div class="card-title mt16" style="font-size:14px"><span class="bar" style="background:#f472b6"></span>🎯 概念 / 主题 / 股票 跟踪目标</div>
|
||||
<div class="flex mb8 wrap">
|
||||
<select class="input" id="tgtType" style="width:110px">
|
||||
<option value="concept">概念/主题</option>
|
||||
<option value="stock">股票代码</option>
|
||||
</select>
|
||||
<input class="input" id="tgtName" placeholder="目标名称,如:AI算力 / 低空经济(股票类型填代码)" style="flex:1;min-width:200px">
|
||||
<input class="input" id="tgtKeywords" placeholder="检索关键词,逗号分隔(概念填)" style="flex:1;min-width:180px">
|
||||
<button class="btn btn-primary" onclick="addTarget()">+ 添加目标</button>
|
||||
</div>
|
||||
<div id="tgtManage" style="overflow:auto;max-height:260px"><div class="loading">加载中…</div></div>
|
||||
</div>
|
||||
|
||||
<div class="mt16" style="border-top:1px solid var(--border);padding-top:6px">
|
||||
<div class="card-title mt16" style="font-size:14px"><span class="bar" style="background:#8b5cf6"></span>最近跟踪报告</div>
|
||||
<div style="overflow:auto;max-height:340px">
|
||||
<table>
|
||||
<thead><tr><th>时间</th><th>股票</th><th>影响度</th><th>性质</th><th>摘要</th><th>操作</th></tr></thead>
|
||||
<tbody id="trackTb"><tr><td colspan="6" class="empty">暂无跟踪记录</td></tr></tbody>
|
||||
<thead><tr><th>时间</th><th>类型</th><th>目标</th><th>影响度</th><th>性质</th><th>摘要</th><th>操作</th></tr></thead>
|
||||
<tbody id="trackTb"><tr><td colspan="7" class="empty">暂无跟踪记录</td></tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user