akg-factor-bridge/.env.example

37 lines
1.2 KiB
Plaintext
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.

# akg-factor-bridge 连接配置。复制为 .env 后填写。桥不硬编码任何主机。
# 三处连接:读基座视图(PG) · 读热度(153) · 写因子+注册(平台MySQL)。部署在哪台
# 服务器由"能同时连通这三处"决定。
# --- ① astock-kg 基座 PostgreSQL读四个只读视图只读账号即可---
AKG_PG_HOST=
AKG_PG_PORT=5432
AKG_PG_USER=
AKG_PG_PASSWORD=
AKG_PG_DB=akg
# --- ② 153 代理 MySQL读 stock_fund_heat_scores 热度;即 astock-kg 的 MASTER_MYSQL_*---
HEAT_MYSQL_HOST=
HEAT_MYSQL_PORT=3306
HEAT_MYSQL_USER=
HEAT_MYSQL_PASSWORD=
HEAT_MYSQL_DB=
# --- ③ 平台因子库 MySQLPROXY_DB_URL 指向的库:写 t_factor_* + factor_metadata---
FACTOR_MYSQL_HOST=
FACTOR_MYSQL_PORT=3306
FACTOR_MYSQL_USER=
FACTOR_MYSQL_PASSWORD=
FACTOR_MYSQL_DB=
# --- 现价来源upside 用;默认复用 ③ 同实例的 gp_day_data可单独指向---
# PRICE_MYSQL_HOST=
# PRICE_MYSQL_PORT=3306
# PRICE_MYSQL_USER=
# PRICE_MYSQL_PASSWORD=
# PRICE_MYSQL_DB=
# gp_day_data 的股票代码列名(待实机核实:可能是 ts_code 或 symbol
PRICE_CODE_COL=ts_code
# 可选:用平台 REST 注册因子时填(留空=直连 ③ 写 factor_metadata
# FACTOR_API_BASE=http://192.168.16.155:8000