-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (19 loc) · 1.06 KB
/
Copy path.env.example
File metadata and controls
22 lines (19 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 复制为 .env 并填写;部署时把这些设成系统环境变量(切勿提交到 git)
# ---- 邮件(Foxmail / QQ 邮箱)----
# SMTP_PASS 是邮箱"授权码",不是登录密码。QQ邮箱: 设置 -> 账号 -> POP3/IMAP/SMTP -> 开启并生成授权码
# ⚠️ 不要在此处写入授权码,通过系统环境变量 SMTP_PASS 注入:
# export SMTP_PASS="你的授权码"
SMTP_PASS=
SMTP_HOST=smtp.qq.com
SMTP_PORT=465
SMTP_USER=你的QQ邮箱@qq.com
MAIL_FROM=你的QQ邮箱@qq.com
MAIL_TO=收件人1@example.com,收件人2@example.com
# ---- 抓取目标(默认即可)----
FUND_URL=https://www.globalxetfs.com.hk/funds/hscei-covered-call-etf/
FUND_NAME=Global X HSCEI Covered Call Active ETF
# ---- 可选 ----
# DATA_DIR=./data # 快照/日志/状态存放目录
# FORCE_SEND=1 # 调试:忽略"同日不重复发"的限制
# INCOMPLETE_GRACE_HOURS=3 # 官网只发布了正股时最多等多久,超时先发带警告的兜底日报
# IMPLIED_VOL=0.30 # 兜底波动率;正常情况下 IV 由期权市价反解,用不到它