Files
stock/backend/.env
2026-09-04 10:00:35 +08:00

17 lines
883 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
DATABASE_URL=postgresql+asyncpg://postgres:Cirry0115@cirry.cn:5432/stock
# TUSHARE_TOKEN=22edda0afe44c0609a187ff1ac0bb2a8fc61430f490ec19f7fec8390
TUSHARE_TOKEN=2f7dbca732cdb762eb61bf3ca1b58f0c19a12732346ae06b3f60f4f5
# 15000 积分档走 quicksync 镜像(官方接口对该 token 返回 40101
TUSHARE_API_URL=http://api.quicksync.cn
DATA_ADJUST=qfq
DATA_DEFAULT_START=20200101
# ---- Redis 读缓存(股票列表/筛选项;留空则不缓存直查数据库)----
REDIS_URL=redis://default:26d5c71d57344f37b8b4ddb567f2652f0c7ef41c774284ad@cirry.cn:6379
# ---- LLM智能选股DeepSeekOpenAI 兼容协议;/anthropic 后缀会被 _endpoint 自动归一)----
# key 在 https://bigmodel.cn 控制台获取,格式形如 xxxxxxxx.yyyyyyyyid.secret
LLM_BASE_URL=https://api.deepseek.com
LLM_API_KEY=sk-b09acbd6c0ca4f94818b6deb039d6515
LLM_MODEL=deepseek-chat