Search

PythonReactSEOPDF
OpenClaw

Astock Daily

A 股每日精选技能

batype0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install batype/astock-daily

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

A 股每日精选技能

描述

每日获取 A 股新股发行信息和 20 元以下的精选股票,通过邮件发送给用户。

激活方式

当用户提到 A 股、新股、股票筛选、低价股时激活此技能。

配置

在 TOOLS.md 中添加以下配置:

### A 股股票技能

- 邮箱:8@batype.com
- 价格上限:20 元
- 发送时间:每天 09:00

使用方法

手动运行
node skills/astock-daily/index.js
定时运行

通过 cron 或 OpenClaw 的 heartbeat 功能每天运行。

数据源

  • 东方财富网 API(新股发行)
  • 新浪财经 API(股票行情)

输出

邮件包含:

  1. 近期新股发行列表(代码、名称、申购日期、发行价)
  2. 20 元以下精选股票(代码、名称、现价、涨跌幅、成交量)

Source information

Source
github
Repository
openclaw/skills
Path
skills/batype/astock-daily
Version
—
Commit
ee3ca2b2084e453e9f4b806a86c8460158fce768
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

A 股每日精选技能

📈 每日自动获取 A 股新股发行信息和 20 元以下精选股票,通过邮件发送。

功能

  • ✅ 获取最新新股发行数据(代码、名称、申购日期、发行价、上市日期)
  • ✅ 筛选 20 元以下的活跃股票(按成交量排序)
  • ✅ 生成精美的 HTML 邮件
  • ✅ 支持 SMTP 和系统 mail 命令发送邮件
  • ✅ 自动保存数据到本地 JSON 文件

安装

cd skills/astock-daily
npm install

依赖:

  • nodemailer(可选,用于 SMTP 发送邮件)

配置

📧 1. SMTP 邮箱配置(阿里云企业邮箱)

编辑 .env 文件,填入你的邮箱密码:

# 编辑文件
vi .env

# 将 YOUR_PASSWORD_HERE 替换为你的邮箱密码
SMTP_CONFIG={"host":"smtp.qiye.aliyun.com","port":465,"secure":true,"user":"8@batype.com","pass":"你的密码","from":"8@batype.com"}

其他邮箱配置参考:

邮箱 SMTP 服务器 端口 SSL
QQ smtp.qq.com 587/465 推荐 465
Gmail smtp.gmail.com 587/465 推荐 465
163 smtp.163.com 587/465 推荐 465
Outlook smtp-mail.outlook.com 587 否
⏰ 2. 定时任务配置
crontab -e

添加(每个交易日 9:30 运行):

30 9 * * 1-5 cd /Users/batype/.openclaw/workspace-work/skills/astock-daily && /opt/homebrew/bin/node index.js >> /tmp/astock-daily.log 2>&1

详见 CONFIG.md 完整配置指南。

3. 系统 mail 命令(备选)

确保系统已配置 mail 命令:

# macOS 安装
brew install mailutils

# Ubuntu/Debian
sudo apt-get install mailutils

使用

手动运行
cd skills/astock-daily
node index.js
定时运行(每天 9 点)
方式一:cron
crontab -e

添加:

0 9 * * * cd /Users/batype/.openclaw/workspace-work/skills/astock-daily && node index.js >> /tmp/astock-daily.log 2>&1
方式二:OpenClaw Heartbeat

在 HEARTBEAT.md 中添加:

- 每天 09:00 运行 A 股股票筛选技能

然后在主会话中运行:

node skills/astock-daily/index.js

输出示例

邮件包含两个部分:

1. 新股发行

| 代码 | 名称 | 申购日期 | 发行价 | 上市日期 | |------|------|----------|--------|--...

Extracted content

SKILL.md
# A 股每日精选技能

## 描述
每日获取 A 股新股发行信息和 20 元以下的精选股票,通过邮件发送给用户。

## 激活方式
当用户提到 A 股、新股、股票筛选、低价股时激活此技能。

## 配置
在 `TOOLS.md` 中添加以下配置:

```markdown
### A 股股票技能

- 邮箱:8@batype.com
- 价格上限:20 元
- 发送时间:每天 09:00
```

## 使用方法

### 手动运行
```bash
node skills/astock-daily/index.js
```

### 定时运行
通过 cron 或 OpenClaw 的 heartbeat 功能每天运行。

## 数据源
- 东方财富网 API(新股发行)
- 新浪财经 API(股票行情)

## 输出
邮件包含:
1. 近期新股发行列表(代码、名称、申购日期、发行价)
2. 20 元以下精选股票(代码、名称、现价、涨跌幅、成交量)
README
# A 股每日精选技能

📈 每日自动获取 A 股新股发行信息和 20 元以下精选股票,通过邮件发送。

## 功能

- ✅ 获取最新新股发行数据(代码、名称、申购日期、发行价、上市日期)
- ✅ 筛选 20 元以下的活跃股票(按成交量排序)
- ✅ 生成精美的 HTML 邮件
- ✅ 支持 SMTP 和系统 mail 命令发送邮件
- ✅ 自动保存数据到本地 JSON 文件

## 安装

```bash
cd skills/astock-daily
npm install
```

依赖:
- nodemailer(可选,用于 SMTP 发送邮件)

## 配置

### 📧 1. SMTP 邮箱配置(阿里云企业邮箱)

编辑 `.env` 文件,填入你的邮箱密码:

```bash
# 编辑文件
vi .env

# 将 YOUR_PASSWORD_HERE 替换为你的邮箱密码
SMTP_CONFIG={"host":"smtp.qiye.aliyun.com","port":465,"secure":true,"user":"8@batype.com","pass":"你的密码","from":"8@batype.com"}
```

**其他邮箱配置参考:**
| 邮箱 | SMTP 服务器 | 端口 | SSL |
|------|------------|------|-----|
| QQ | smtp.qq.com | 587/465 | 推荐 465 |
| Gmail | smtp.gmail.com | 587/465 | 推荐 465 |
| 163 | smtp.163.com | 587/465 | 推荐 465 |
| Outlook | smtp-mail.outlook.com | 587 | 否 |

### ⏰ 2. 定时任务配置

```bash
crontab -e
```

添加(每个交易日 9:30 运行):
```
30 9 * * 1-5 cd /Users/batype/.openclaw/workspace-work/skills/astock-daily && /opt/homebrew/bin/node index.js >> /tmp/astock-daily.log 2>&1
```

详见 `CONFIG.md` 完整配置指南。

### 3. 系统 mail 命令(备选)

确保系统已配置 mail 命令:
```bash
# macOS 安装
brew install mailutils

# Ubuntu/Debian
sudo apt-get install mailutils
```

## 使用

### 手动运行

```bash
cd skills/astock-daily
node index.js
```

### 定时运行(每天 9 点)

#### 方式一:cron

```bash
crontab -e
```

添加:
```
0 9 * * * cd /Users/batype/.openclaw/workspace-work/skills/astock-daily && node index.js >> /tmp/astock-daily.log 2>&1
```

#### 方式二:OpenClaw Heartbeat

在 `HEARTBEAT.md` 中添加:
```markdown
- 每天 09:00 运行 A 股股票筛选技能
```

然后在主会话中运行:
```bash
node skills/astock-daily/index.js
```

## 输出示例

邮件包含两个部分:

### 1. 新股发行
| 代码 | 名称 | 申购日期 | 发行价 | 上市日期 |
|------|------|----------|--------|--...

Related skills

OpenClaw

sixtyfour-skill

rxhxm

Agent Skill (SKILL.md) for Sixtyfour AI — People & company intelligence API. Enrich leads, find emails/phones, qualify prospects, search people. For Claude Code, Codex, OpenClaw, Cursor.

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...

OpenClaw

ABM Outbound

dru-ca

Multi-channel ABM automation that turns LinkedIn URLs into coordinated outbound campaigns. Scrapes profiles, enriches with Apollo (email + phone), gets mailing addresses via Skip Trace, then orchestrates email...