update .env.example
This commit is contained in:
@@ -326,7 +326,7 @@ The fastest way to get QuantDinger running.
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git && \
|
git clone https://github.com/brokermr810/QuantDinger.git && \
|
||||||
cd QuantDinger && \
|
cd QuantDinger && \
|
||||||
cp docker.env.example backend_api_python/.env && \
|
cp backend_api_python/env.example backend_api_python/.env && \
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -334,7 +334,7 @@ docker-compose up -d --build
|
|||||||
```powershell
|
```powershell
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git
|
git clone https://github.com/brokermr810/QuantDinger.git
|
||||||
cd QuantDinger
|
cd QuantDinger
|
||||||
Copy-Item docker.env.example -Destination backend_api_python\.env
|
Copy-Item backend_api_python\env.example -Destination backend_api_python\.env
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -365,7 +365,7 @@ QuantDinger 为全球用户构建,提供全面的国际化支持:
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git && \
|
git clone https://github.com/brokermr810/QuantDinger.git && \
|
||||||
cd QuantDinger && \
|
cd QuantDinger && \
|
||||||
cp docker.env.example backend_api_python/.env && \
|
cp backend_api_python/env.example backend_api_python/.env && \
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -373,7 +373,7 @@ docker-compose up -d --build
|
|||||||
```powershell
|
```powershell
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git
|
git clone https://github.com/brokermr810/QuantDinger.git
|
||||||
cd QuantDinger
|
cd QuantDinger
|
||||||
Copy-Item docker.env.example -Destination backend_api_python\.env
|
Copy-Item backend_api_python\env.example -Destination backend_api_python\.env
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -321,7 +321,7 @@ QuantDingerを実行する最速の方法です。
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git && \
|
git clone https://github.com/brokermr810/QuantDinger.git && \
|
||||||
cd QuantDinger && \
|
cd QuantDinger && \
|
||||||
cp docker.env.example backend_api_python/.env && \
|
cp backend_api_python/env.example backend_api_python/.env && \
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -329,7 +329,7 @@ docker-compose up -d --build
|
|||||||
```powershell
|
```powershell
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git
|
git clone https://github.com/brokermr810/QuantDinger.git
|
||||||
cd QuantDinger
|
cd QuantDinger
|
||||||
Copy-Item docker.env.example -Destination backend_api_python\.env
|
Copy-Item backend_api_python\env.example -Destination backend_api_python\.env
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -334,7 +334,7 @@ QuantDinger를 실행하는 가장 빠른 방법입니다.
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git && \
|
git clone https://github.com/brokermr810/QuantDinger.git && \
|
||||||
cd QuantDinger && \
|
cd QuantDinger && \
|
||||||
cp docker.env.example backend_api_python/.env && \
|
cp backend_api_python/env.example backend_api_python/.env && \
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -342,7 +342,7 @@ docker-compose up -d --build
|
|||||||
```powershell
|
```powershell
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git
|
git clone https://github.com/brokermr810/QuantDinger.git
|
||||||
cd QuantDinger
|
cd QuantDinger
|
||||||
Copy-Item docker.env.example -Destination backend_api_python\.env
|
Copy-Item backend_api_python\env.example -Destination backend_api_python\.env
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -335,7 +335,7 @@ QuantDinger 為全球用戶構建,提供全面的國際化支持:
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git && \
|
git clone https://github.com/brokermr810/QuantDinger.git && \
|
||||||
cd QuantDinger && \
|
cd QuantDinger && \
|
||||||
cp docker.env.example backend_api_python/.env && \
|
cp backend_api_python/env.example backend_api_python/.env && \
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -343,7 +343,7 @@ docker-compose up -d --build
|
|||||||
```powershell
|
```powershell
|
||||||
git clone https://github.com/brokermr810/QuantDinger.git
|
git clone https://github.com/brokermr810/QuantDinger.git
|
||||||
cd QuantDinger
|
cd QuantDinger
|
||||||
Copy-Item docker.env.example -Destination backend_api_python\.env
|
Copy-Item backend_api_python\env.example -Destination backend_api_python\.env
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ PRICE_CACHE_TTL_SEC=10
|
|||||||
# =========================
|
# =========================
|
||||||
# If you use a local proxy (common ports: 7890/7891/10808), set PROXY_PORT only.
|
# If you use a local proxy (common ports: 7890/7891/10808), set PROXY_PORT only.
|
||||||
# Default scheme is socks5h and host is 127.0.0.1.
|
# Default scheme is socks5h and host is 127.0.0.1.
|
||||||
# If run docker the PROXY_HOST use : host.docker.internal
|
# For Docker deployment: set PROXY_HOST=host.docker.internal to access host's proxy
|
||||||
PROXY_PORT=
|
PROXY_PORT=
|
||||||
PROXY_HOST=127.0.0.1
|
PROXY_HOST=127.0.0.1
|
||||||
PROXY_SCHEME=socks5h
|
PROXY_SCHEME=socks5h
|
||||||
|
|||||||
@@ -1,79 +0,0 @@
|
|||||||
# QuantDinger Docker Environment Configuration
|
|
||||||
# Copy this file to .env and modify the settings
|
|
||||||
# cp docker.env.example backend_api_python/.env
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Authentication
|
|
||||||
# =========================
|
|
||||||
SECRET_KEY=quantdinger-secret-key-change-me
|
|
||||||
ADMIN_USER=quantdinger
|
|
||||||
ADMIN_PASSWORD=123456
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Network Configuration
|
|
||||||
# =========================
|
|
||||||
PYTHON_API_HOST=0.0.0.0
|
|
||||||
PYTHON_API_PORT=5000
|
|
||||||
PYTHON_API_DEBUG=False
|
|
||||||
CORS_ORIGINS=*
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# OpenRouter / LLM (Required for AI analysis)
|
|
||||||
# =========================
|
|
||||||
OPENROUTER_API_KEY=your-openrouter-api-key
|
|
||||||
OPENROUTER_API_URL=https://openrouter.ai/api/v1/chat/completions
|
|
||||||
OPENROUTER_MODEL=openai/gpt-4o
|
|
||||||
OPENROUTER_TEMPERATURE=0.7
|
|
||||||
OPENROUTER_MAX_TOKENS=4000
|
|
||||||
OPENROUTER_TIMEOUT=300
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Data Source API Keys (fill as needed)
|
|
||||||
# =========================
|
|
||||||
# Finnhub (US stocks / forex)
|
|
||||||
FINNHUB_API_KEY=
|
|
||||||
|
|
||||||
# Tiingo (optional backup data source)
|
|
||||||
TIINGO_API_KEY=
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Notification Settings (optional)
|
|
||||||
# =========================
|
|
||||||
# Telegram
|
|
||||||
TELEGRAM_BOT_TOKEN=
|
|
||||||
|
|
||||||
# Email / SMTP
|
|
||||||
SMTP_HOST=
|
|
||||||
SMTP_PORT=587
|
|
||||||
SMTP_USER=
|
|
||||||
SMTP_PASSWORD=
|
|
||||||
SMTP_FROM=
|
|
||||||
|
|
||||||
# Twilio SMS
|
|
||||||
TWILIO_ACCOUNT_SID=
|
|
||||||
TWILIO_AUTH_TOKEN=
|
|
||||||
TWILIO_FROM_NUMBER=
|
|
||||||
|
|
||||||
# Webhook
|
|
||||||
SIGNAL_WEBHOOK_URL=
|
|
||||||
SIGNAL_WEBHOOK_TOKEN=
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Strategy Execution Settings
|
|
||||||
# =========================
|
|
||||||
ENABLE_PENDING_ORDER_WORKER=true
|
|
||||||
STRATEGY_TICK_INTERVAL_SEC=10
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Search Engine (optional, for AI analysis)
|
|
||||||
# =========================
|
|
||||||
SEARCH_PROVIDER=google
|
|
||||||
SEARCH_GOOGLE_API_KEY=
|
|
||||||
SEARCH_GOOGLE_CX=
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Proxy Configuration (if network requires)
|
|
||||||
# =========================
|
|
||||||
PROXY_PORT=
|
|
||||||
PROXY_HOST=127.0.0.1
|
|
||||||
PROXY_SCHEME=socks5h
|
|
||||||
Reference in New Issue
Block a user