-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy path.env.example
More file actions
32 lines (27 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
32 lines (27 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# ===== TickFlow =====
# 留空或不填则启用 Free 试用模式(TickFlow.free()),仅能拿历史日 K 单股数据
TICKFLOW_API_KEY=
# ===== AI(可选,留空跳过 AI 功能) =====
AI_PROVIDER=openai_compat # openai_compat | ollama
AI_BASE_URL=https://api.deepseek.com/v1
AI_API_KEY=
AI_MODEL=deepseek-chat
AI_DAILY_TOKEN_BUDGET=500000
# OrcaRouter(OpenAI 兼容网关)示例:
# AI_BASE_URL=https://api.orcarouter.ai/v1
# AI_MODEL=orcarouter/auto
# ===== Server =====
HOST=0.0.0.0
PORT=3018
LOG_LEVEL=INFO
# ===== Auth =====
# 首次启动时预置访问密码(可选)。公网服务器部署时填入,免去 SSH 端口转发设密码。
# 仅在尚未设置密码时生效(一次性初始化);设过后改密码请用页面 UI, 此处不再读取。
# 建议至少 6 位。.env 文件权限保持 600 且不要提交到 Git。
AUTH_PASSWORD=
# Optional backend dependency extras for Docker and ./dev.sh / .\dev.ps1.
# Set to legacy-cpu on older CPUs without AVX2/FMA support.
# Combine with backtest as: legacy-cpu backtest
BACKEND_EXTRAS=
# ===== Data =====
DATA_DIR=./data