我需要构建一个网站: 1. 自动根据最近一周的国内外财经新闻,雪球,个股大盘股票趋势,国家新政策等,推荐5~10只个股,并给出买入的价格推荐;2. 根据历史买入的股票,每天根据股票走势,国内外一周,特别是历史3天内的信息,评估是否卖出;3. 分析每日对关注股票和大盘的财经信息;4. 要求财经信息源必须是官方,可靠的信息源
Browse files- README.md +7 -5
- index.html +460 -18
- prompts.txt +6 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: finance
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,461 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="zh-CN">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>智能股票推荐系统</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 9 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
<style>
|
| 13 |
+
.stock-card:hover {
|
| 14 |
+
transform: translateY(-5px);
|
| 15 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 16 |
+
}
|
| 17 |
+
.news-card {
|
| 18 |
+
transition: all 0.3s ease;
|
| 19 |
+
}
|
| 20 |
+
.news-card:hover {
|
| 21 |
+
transform: scale(1.02);
|
| 22 |
+
}
|
| 23 |
+
.tab-active {
|
| 24 |
+
border-bottom: 3px solid #3B82F6;
|
| 25 |
+
color: #3B82F6;
|
| 26 |
+
font-weight: 600;
|
| 27 |
+
}
|
| 28 |
+
</style>
|
| 29 |
+
</head>
|
| 30 |
+
<body class="bg-gray-50 font-sans">
|
| 31 |
+
<!-- 导航栏 -->
|
| 32 |
+
<nav class="bg-white shadow-sm">
|
| 33 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 34 |
+
<div class="flex justify-between h-16">
|
| 35 |
+
<div class="flex items-center">
|
| 36 |
+
<div class="flex-shrink-0 flex items-center">
|
| 37 |
+
<i data-feather="trending-up" class="text-blue-500"></i>
|
| 38 |
+
<span class="ml-2 text-xl font-bold text-gray-800">智能股票推荐</span>
|
| 39 |
+
</div>
|
| 40 |
+
</div>
|
| 41 |
+
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
|
| 42 |
+
<a href="#" class="text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 border-blue-500 text-sm font-medium">今日推荐</a>
|
| 43 |
+
<a href="#" class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium">持仓分析</a>
|
| 44 |
+
<a href="#" class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium">财经资讯</a>
|
| 45 |
+
<a href="#" class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium">个人中心</a>
|
| 46 |
+
</div>
|
| 47 |
+
<div class="flex items-center">
|
| 48 |
+
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium">登录/注册</button>
|
| 49 |
+
</div>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
</nav>
|
| 53 |
+
|
| 54 |
+
<!-- 主要内容 -->
|
| 55 |
+
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
| 56 |
+
<!-- 标题和说明 -->
|
| 57 |
+
<div class="text-center mb-10" data-aos="fade-up">
|
| 58 |
+
<h1 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">智能股票推荐系统</h1>
|
| 59 |
+
<p class="mt-3 max-w-2xl mx-auto text-xl text-gray-500 sm:mt-4">
|
| 60 |
+
基于财经新闻、政策趋势和市场数据的AI推荐引擎
|
| 61 |
+
</p>
|
| 62 |
+
<div class="mt-6 flex justify-center">
|
| 63 |
+
<div class="inline-flex rounded-md shadow">
|
| 64 |
+
<a href="#" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-blue-500 hover:bg-blue-600">
|
| 65 |
+
查看我的持仓
|
| 66 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 67 |
+
</a>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<!-- 数据更新时间 -->
|
| 73 |
+
<div class="mb-8 text-right text-sm text-gray-500" data-aos="fade-up">
|
| 74 |
+
<i data-feather="clock" class="inline-block mr-1 w-4 h-4"></i>
|
| 75 |
+
数据更新时间: <span id="update-time"></span>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<!-- 推荐股票卡片 -->
|
| 79 |
+
<section class="mb-16" data-aos="fade-up">
|
| 80 |
+
<h2 class="text-2xl font-bold text-gray-900 mb-6">今日股票推荐 (A股/港股)</h2>
|
| 81 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 82 |
+
<!-- 股票卡片1 -->
|
| 83 |
+
<div class="stock-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300">
|
| 84 |
+
<div class="p-6">
|
| 85 |
+
<div class="flex justify-between items-start">
|
| 86 |
+
<div>
|
| 87 |
+
<h3 class="text-lg font-bold text-gray-900">贵州茅台</h3>
|
| 88 |
+
<p class="text-gray-500">600519.SH</p>
|
| 89 |
+
</div>
|
| 90 |
+
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">推荐买入</span>
|
| 91 |
+
</div>
|
| 92 |
+
<div class="mt-4 flex items-center">
|
| 93 |
+
<span class="text-3xl font-bold text-gray-900">¥1,750.00</span>
|
| 94 |
+
<span class="ml-2 text-sm text-green-600">+2.34%</span>
|
| 95 |
+
</div>
|
| 96 |
+
<div class="mt-4">
|
| 97 |
+
<div class="flex justify-between text-sm text-gray-500">
|
| 98 |
+
<span>目标价</span>
|
| 99 |
+
<span class="font-medium">¥1,850.00</span>
|
| 100 |
+
</div>
|
| 101 |
+
<div class="flex justify-between text-sm text-gray-500 mt-1">
|
| 102 |
+
<span>止损价</span>
|
| 103 |
+
<span class="font-medium">¥1,650.00</span>
|
| 104 |
+
</div>
|
| 105 |
+
</div>
|
| 106 |
+
<div class="mt-6">
|
| 107 |
+
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-md text-sm font-medium">查看详情</button>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
|
| 112 |
+
<!-- 股票卡片2 -->
|
| 113 |
+
<div class="stock-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300">
|
| 114 |
+
<div class="p-6">
|
| 115 |
+
<div class="flex justify-between items-start">
|
| 116 |
+
<div>
|
| 117 |
+
<h3 class="text-lg font-bold text-gray-900">腾讯控股</h3>
|
| 118 |
+
<p class="text-gray-500">00700.HK</p>
|
| 119 |
+
</div>
|
| 120 |
+
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">推荐买入</span>
|
| 121 |
+
</div>
|
| 122 |
+
<div class="mt-4 flex items-center">
|
| 123 |
+
<span class="text-3xl font-bold text-gray-900">¥330.00</span>
|
| 124 |
+
<span class="ml-2 text-sm text-green-600">+1.56%</span>
|
| 125 |
+
</div>
|
| 126 |
+
<div class="mt-4">
|
| 127 |
+
<div class="flex justify-between text-sm text-gray-500">
|
| 128 |
+
<span>目标价</span>
|
| 129 |
+
<span class="font-medium">¥380.00</span>
|
| 130 |
+
</div>
|
| 131 |
+
<div class="flex justify-between text-sm text-gray-500 mt-1">
|
| 132 |
+
<span>止损价</span>
|
| 133 |
+
<span class="font-medium">¥300.00</span>
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
+
<div class="mt-6">
|
| 137 |
+
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-md text-sm font-medium">查看详情</button>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
</div>
|
| 141 |
+
|
| 142 |
+
<!-- 股票卡片3 -->
|
| 143 |
+
<div class="stock-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300">
|
| 144 |
+
<div class="p-6">
|
| 145 |
+
<div class="flex justify-between items-start">
|
| 146 |
+
<div>
|
| 147 |
+
<h3 class="text-lg font-bold text-gray-900">宁德时代</h3>
|
| 148 |
+
<p class="text-gray-500">300750.SZ</p>
|
| 149 |
+
</div>
|
| 150 |
+
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">推荐买入</span>
|
| 151 |
+
</div>
|
| 152 |
+
<div class="mt-4 flex items-center">
|
| 153 |
+
<span class="text-3xl font-bold text-gray-900">¥210.50</span>
|
| 154 |
+
<span class="ml-2 text-sm text-green-600">+3.25%</span>
|
| 155 |
+
</div>
|
| 156 |
+
<div class="mt-4">
|
| 157 |
+
<div class="flex justify-between text-sm text-gray-500">
|
| 158 |
+
<span>目标价</span>
|
| 159 |
+
<span class="font-medium">¥240.00</span>
|
| 160 |
+
</div>
|
| 161 |
+
<div class="flex justify-between text-sm text-gray-500 mt-1">
|
| 162 |
+
<span>止损价</span>
|
| 163 |
+
<span class="font-medium">¥190.00</span>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="mt-6">
|
| 167 |
+
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-md text-sm font-medium">查看详情</button>
|
| 168 |
+
</div>
|
| 169 |
+
</div>
|
| 170 |
+
</div>
|
| 171 |
+
|
| 172 |
+
<!-- 股票卡片4 -->
|
| 173 |
+
<div class="stock-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300">
|
| 174 |
+
<div class="p-6">
|
| 175 |
+
<div class="flex justify-between items-start">
|
| 176 |
+
<div>
|
| 177 |
+
<h3 class="text-lg font-bold text-gray-900">美团-W</h3>
|
| 178 |
+
<p class="text-gray-500">03690.HK</p>
|
| 179 |
+
</div>
|
| 180 |
+
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">推荐买入</span>
|
| 181 |
+
</div>
|
| 182 |
+
<div class="mt-4 flex items-center">
|
| 183 |
+
<span class="text-3xl font-bold text-gray-900">¥128.70</span>
|
| 184 |
+
<span class="ml-2 text-sm text-green-600">+4.12%</span>
|
| 185 |
+
</div>
|
| 186 |
+
<div class="mt-4">
|
| 187 |
+
<div class="flex justify-between text-sm text-gray-500">
|
| 188 |
+
<span>目标价</span>
|
| 189 |
+
<span class="font-medium">¥160.00</span>
|
| 190 |
+
</div>
|
| 191 |
+
<div class="flex justify-between text-sm text-gray-500 mt-1">
|
| 192 |
+
<span>止损价</span>
|
| 193 |
+
<span class="font-medium">¥110.00</span>
|
| 194 |
+
</div>
|
| 195 |
+
</div>
|
| 196 |
+
<div class="mt-6">
|
| 197 |
+
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-md text-sm font-medium">查看详情</button>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
|
| 202 |
+
<!-- 股票卡片5 -->
|
| 203 |
+
<div class="stock-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300">
|
| 204 |
+
<div class="p-6">
|
| 205 |
+
<div class="flex justify-between items-start">
|
| 206 |
+
<div>
|
| 207 |
+
<h3 class="text-lg font-bold text-gray-900">招商银行</h3>
|
| 208 |
+
<p class="text-gray-500">600036.SH</p>
|
| 209 |
+
</div>
|
| 210 |
+
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">推荐买入</span>
|
| 211 |
+
</div>
|
| 212 |
+
<div class="mt-4 flex items-center">
|
| 213 |
+
<span class="text-3xl font-bold text-gray-900">¥36.80</span>
|
| 214 |
+
<span class="ml-2 text-sm text-green-600">+1.89%</span>
|
| 215 |
+
</div>
|
| 216 |
+
<div class="mt-4">
|
| 217 |
+
<div class="flex justify-between text-sm text-gray-500">
|
| 218 |
+
<span>目标价</span>
|
| 219 |
+
<span class="font-medium">¥42.00</span>
|
| 220 |
+
</div>
|
| 221 |
+
<div class="flex justify-between text-sm text-gray-500 mt-1">
|
| 222 |
+
<span>止损价</span>
|
| 223 |
+
<span class="font-medium">¥32.00</span>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
<div class="mt-6">
|
| 227 |
+
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-md text-sm font-medium">查看详情</button>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
</div>
|
| 231 |
+
|
| 232 |
+
<!-- 股票卡片6 -->
|
| 233 |
+
<div class="stock-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300">
|
| 234 |
+
<div class="p-6">
|
| 235 |
+
<div class="flex justify-between items-start">
|
| 236 |
+
<div>
|
| 237 |
+
<h3 class="text-lg font-bold text-gray-900">中国平安</h3>
|
| 238 |
+
<p class="text-gray-500">601318.SH</p>
|
| 239 |
+
</div>
|
| 240 |
+
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">推荐买入</span>
|
| 241 |
+
</div>
|
| 242 |
+
<div class="mt-4 flex items-center">
|
| 243 |
+
<span class="text-3xl font-bold text-gray-900">¥48.90</span>
|
| 244 |
+
<span class="ml-2 text-sm text-red-600">-0.76%</span>
|
| 245 |
+
</div>
|
| 246 |
+
<div class="mt-4">
|
| 247 |
+
<div class="flex justify-between text-sm text-gray-500">
|
| 248 |
+
<span>目标价</span>
|
| 249 |
+
<span class="font-medium">¥55.00</span>
|
| 250 |
+
</div>
|
| 251 |
+
<div class="flex justify-between text-sm text-gray-500 mt-1">
|
| 252 |
+
<span>止损价</span>
|
| 253 |
+
<span class="font-medium">¥42.00</span>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
<div class="mt-6">
|
| 257 |
+
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-md text-sm font-medium">查看详情</button>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
+
</section>
|
| 263 |
+
|
| 264 |
+
<!-- 持仓分析 -->
|
| 265 |
+
<section class="mb-16" data-aos="fade-up">
|
| 266 |
+
<h2 class="text-2xl font-bold text-gray-900 mb-6">持仓分析</h2>
|
| 267 |
+
<div class="bg-white shadow overflow-hidden sm:rounded-lg">
|
| 268 |
+
<div class="border-t border-gray-200">
|
| 269 |
+
<dl>
|
| 270 |
+
<!-- 持仓股票1 -->
|
| 271 |
+
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 hover:bg-gray-100">
|
| 272 |
+
<dt class="text-sm font-medium text-gray-500">比亚迪 (002594.SZ)</dt>
|
| 273 |
+
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
|
| 274 |
+
<div class="flex justify-between">
|
| 275 |
+
<span>当前价: ¥256.80 <span class="text-green-600">(+3.45%)</span></span>
|
| 276 |
+
<span>买入价: ¥230.50 <span class="text-green-600">(+11.41%)</span></span>
|
| 277 |
+
</div>
|
| 278 |
+
<div class="mt-2">
|
| 279 |
+
<div class="flex justify-between items-center">
|
| 280 |
+
<div>
|
| 281 |
+
<span class="text-sm font-medium">建议: </span>
|
| 282 |
+
<span class="text-sm text-green-600 font-semibold">继续持有</span>
|
| 283 |
+
</div>
|
| 284 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">查看详情</button>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
</dd>
|
| 288 |
+
</div>
|
| 289 |
+
<!-- 持仓股票2 -->
|
| 290 |
+
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 hover:bg-gray-100">
|
| 291 |
+
<dt class="text-sm font-medium text-gray-500">阿里巴巴-SW (09988.HK)</dt>
|
| 292 |
+
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
|
| 293 |
+
<div class="flex justify-between">
|
| 294 |
+
<span>当前价: ¥85.20 <span class="text-red-600">(-2.14%)</span></span>
|
| 295 |
+
<span>买入价: ¥92.30 <span class="text-red-600">(-7.69%)</span></span>
|
| 296 |
+
</div>
|
| 297 |
+
<div class="mt-2">
|
| 298 |
+
<div class="flex justify-between items-center">
|
| 299 |
+
<div>
|
| 300 |
+
<span class="text-sm font-medium">建议: </span>
|
| 301 |
+
<span class="text-sm text-yellow-600 font-semibold">观望</span>
|
| 302 |
+
</div>
|
| 303 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">查看详情</button>
|
| 304 |
+
</div>
|
| 305 |
+
</div>
|
| 306 |
+
</dd>
|
| 307 |
+
</div>
|
| 308 |
+
<!-- 持仓股票3 -->
|
| 309 |
+
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 hover:bg-gray-100">
|
| 310 |
+
<dt class="text-sm font-medium text-gray-500">五粮液 (000858.SZ)</dt>
|
| 311 |
+
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
|
| 312 |
+
<div class="flex justify-between">
|
| 313 |
+
<span>当前价: ¥148.60 <span class="text-green-600">(+1.23%)</span></span>
|
| 314 |
+
<span>买入价: ¥135.80 <span class="text-green-600">(+9.43%)</span></span>
|
| 315 |
+
</div>
|
| 316 |
+
<div class="mt-2">
|
| 317 |
+
<div class="flex justify-between items-center">
|
| 318 |
+
<div>
|
| 319 |
+
<span class="text-sm font-medium">建议: </span>
|
| 320 |
+
<span class="text-sm text-green-600 font-semibold">继续持有</span>
|
| 321 |
+
</div>
|
| 322 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">查看详情</button>
|
| 323 |
+
</div>
|
| 324 |
+
</div>
|
| 325 |
+
</dd>
|
| 326 |
+
</div>
|
| 327 |
+
<!-- 持仓股票4 -->
|
| 328 |
+
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 hover:bg-gray-100">
|
| 329 |
+
<dt class="text-sm font-medium text-gray-500">小米集团-W (01810.HK)</dt>
|
| 330 |
+
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
|
| 331 |
+
<div class="flex justify-between">
|
| 332 |
+
<span>当前价: ¥12.30 <span class="text-red-600">(-0.81%)</span></span>
|
| 333 |
+
<span>买入价: ¥11.80 <span class="text-green-600">(+4.24%)</span></span>
|
| 334 |
+
</div>
|
| 335 |
+
<div class="mt-2">
|
| 336 |
+
<div class="flex justify-between items-center">
|
| 337 |
+
<div>
|
| 338 |
+
<span class="text-sm font-medium">建议: </span>
|
| 339 |
+
<span class="text-sm text-red-600 font-semibold">考虑卖出</span>
|
| 340 |
+
</div>
|
| 341 |
+
<button class="text-sm text-blue-500 hover:text-blue-700">查看详情</button>
|
| 342 |
+
</div>
|
| 343 |
+
</div>
|
| 344 |
+
</dd>
|
| 345 |
+
</div>
|
| 346 |
+
</dl>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
</section>
|
| 350 |
+
|
| 351 |
+
<!-- 财经资讯 -->
|
| 352 |
+
<section data-aos="fade-up">
|
| 353 |
+
<div class="flex justify-between items-center mb-6">
|
| 354 |
+
<h2 class="text-2xl font-bold text-gray-900">最新财经资讯</h2>
|
| 355 |
+
<div class="flex space-x-2">
|
| 356 |
+
<button class="px-3 py-1 text-sm rounded-md bg-blue-500 text-white font-medium">A股</button>
|
| 357 |
+
<button class="px-3 py-1 text-sm rounded-md bg-gray-200 text-gray-700 font-medium">港股</button>
|
| 358 |
+
<button class="px-3 py-1 text-sm rounded-md bg-gray-200 text-gray-700 font-medium">政策</button>
|
| 359 |
+
<button class="px-3 py-1 text-sm rounded-md bg-gray-200 text-gray-700 font-medium">国际</button>
|
| 360 |
+
</div>
|
| 361 |
+
</div>
|
| 362 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 363 |
+
<!-- 新闻卡片1 -->
|
| 364 |
+
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
|
| 365 |
+
<img src="http://static.photos/finance/640x360/1" alt="财经新闻" class="w-full h-48 object-cover">
|
| 366 |
+
<div class="p-6">
|
| 367 |
+
<div class="flex items-center text-sm text-gray-500 mb-2">
|
| 368 |
+
<span>新华社</span>
|
| 369 |
+
<span class="mx-2">•</span>
|
| 370 |
+
<span>2小时前</span>
|
| 371 |
+
</div>
|
| 372 |
+
<h3 class="text-xl font-bold text-gray-900 mb-2">央行宣布下调存款准备金率0.5个百分点</h3>
|
| 373 |
+
<p class="text-gray-600 mb-4">中国人民银行决定于2023年4月25日下调金融机构存款准备金率0.5个百分点(不含已执行5%存款准备金率的金融机构)。</p>
|
| 374 |
+
<a href="#" class="text-blue-500 hover:text-blue-700 text-sm font-medium">阅读全文 →</a>
|
| 375 |
+
</div>
|
| 376 |
+
</div>
|
| 377 |
+
<!-- 新闻卡片2 -->
|
| 378 |
+
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
|
| 379 |
+
<img src="http://static.photos/finance/640x360/2" alt="财经新闻" class="w-full h-48 object-cover">
|
| 380 |
+
<div class="p-6">
|
| 381 |
+
<div class="flex items-center text-sm text-gray-500 mb-2">
|
| 382 |
+
<span>证券时报</span>
|
| 383 |
+
<span class="mx-2">•</span>
|
| 384 |
+
<span>5小时前</span>
|
| 385 |
+
</div>
|
| 386 |
+
<h3 class="text-xl font-bold text-gray-900 mb-2">新能源车补贴政策延续,相关产业链股票集体上涨</h3>
|
| 387 |
+
<p class="text-gray-600 mb-4">财政部等部门发布通知,明确2023年新能源汽车推广应用财政补贴政策实施期限延长至2023年底,补贴标准在2022年基础上退坡10%。</p>
|
| 388 |
+
<a href="#" class="text-blue-500 hover:text-blue-700 text-sm font-medium">阅读全文 →</a>
|
| 389 |
+
</div>
|
| 390 |
+
</div>
|
| 391 |
+
<!-- 新闻卡片3 -->
|
| 392 |
+
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
|
| 393 |
+
<img src="http://static.photos/finance/640x360/3" alt="财经新闻" class="w-full h-48 object-cover">
|
| 394 |
+
<div class="p-6">
|
| 395 |
+
<div class="flex items-center text-sm text-gray-500 mb-2">
|
| 396 |
+
<span>经济日报</span>
|
| 397 |
+
<span class="mx-2">•</span>
|
| 398 |
+
<span>8小时前</span>
|
| 399 |
+
</div>
|
| 400 |
+
<h3 class="text-xl font-bold text-gray-900 mb-2">一季度GDP同比增长4.5%,经济复苏态势良好</h3>
|
| 401 |
+
<p class="text-gray-600 mb-4">国家统计局数据显示,一季度国内生产总值284997亿元,按不变价格���算,同比增长4.5%,比上年四季度环比增长2.2%。</p>
|
| 402 |
+
<a href="#" class="text-blue-500 hover:text-blue-700 text-sm font-medium">阅读全文 →</a>
|
| 403 |
+
</div>
|
| 404 |
+
</div>
|
| 405 |
+
</div>
|
| 406 |
+
</section>
|
| 407 |
+
</main>
|
| 408 |
+
|
| 409 |
+
<!-- 页脚 -->
|
| 410 |
+
<footer class="bg-gray-800 text-white py-12">
|
| 411 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 412 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 413 |
+
<div>
|
| 414 |
+
<h3 class="text-lg font-bold mb-4">关于我们</h3>
|
| 415 |
+
<p class="text-gray-400">智能股票推荐系统基于大数据分析和人工智能算法,为您提供专业的股票投资建议。</p>
|
| 416 |
+
</div>
|
| 417 |
+
<div>
|
| 418 |
+
<h3 class="text-lg font-bold mb-4">数据来源</h3>
|
| 419 |
+
<ul class="space-y-2">
|
| 420 |
+
<li><a href="#" class="text-gray-400 hover:text-white">上海证券交易所</a></li>
|
| 421 |
+
<li><a href="#" class="text-gray-400 hover:text-white">深圳证券交易所</a></li>
|
| 422 |
+
<li><a href="#" class="text-gray-400 hover:text-white">香港交易所</a></li>
|
| 423 |
+
<li><a href="#" class="text-gray-400 hover:text-white">国家统计局</a></li>
|
| 424 |
+
</ul>
|
| 425 |
+
</div>
|
| 426 |
+
<div>
|
| 427 |
+
<h3 class="text-lg font-bold mb-4">联系我们</h3>
|
| 428 |
+
<p class="text-gray-400">邮箱: contact@stockai.com</p>
|
| 429 |
+
<p class="text-gray-400">电话: 400-123-4567</p>
|
| 430 |
+
</div>
|
| 431 |
+
</div>
|
| 432 |
+
<div class="mt-12 pt-8 border-t border-gray-700 text-center text-gray-400 text-sm">
|
| 433 |
+
<p>© 2023 智能股票推荐系统. 版权所有.</p>
|
| 434 |
+
<p class="mt-2">投资有风险,入市需谨慎。本系统提供的信息仅供参考,不构成投资建议。</p>
|
| 435 |
+
</div>
|
| 436 |
+
</div>
|
| 437 |
+
</footer>
|
| 438 |
+
|
| 439 |
+
<script>
|
| 440 |
+
// 设置更新时间
|
| 441 |
+
document.getElementById('update-time').textContent = new Date().toLocaleString('zh-CN', {
|
| 442 |
+
year: 'numeric',
|
| 443 |
+
month: '2-digit',
|
| 444 |
+
day: '2-digit',
|
| 445 |
+
hour: '2-digit',
|
| 446 |
+
minute: '2-digit',
|
| 447 |
+
second: '2-digit',
|
| 448 |
+
hour12: false
|
| 449 |
+
});
|
| 450 |
+
|
| 451 |
+
// 初始化AOS动画
|
| 452 |
+
AOS.init({
|
| 453 |
+
duration: 800,
|
| 454 |
+
once: true
|
| 455 |
+
});
|
| 456 |
+
|
| 457 |
+
// 初始化Feather Icons
|
| 458 |
+
feather.replace();
|
| 459 |
+
</script>
|
| 460 |
+
</body>
|
| 461 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
我需要构建一个网站: 1. 自动根据最近一周的国内外财经新闻,雪球,个股大盘股票趋势,国家新政策等,推荐5~10只个股,并给出买入的价格推荐;2. 根据历史买入的股票,每天根据股票走势,国内外一周,特别是历史3天内的信息,评估是否卖出;3. 分析每日对关注股票和大盘的财经信息;4. 要求财经信息源必须是官方,可靠的信息源
|
| 2 |
+
生成的网站需要继续满足如下要求:
|
| 3 |
+
测试推荐股票,买入价格,主要是A股和港股
|
| 4 |
+
价格度量为人民币
|
| 5 |
+
同时显示股票代码和公司名称
|
| 6 |
+
前端页面显示为中文
|