-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (31 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
36 lines (31 loc) · 1.58 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
33
34
35
36
# Futu OpenD connection configuration
# Copy this to .env and fill in your actual values.
# .env is gitignored — never commit real credentials.
# ---------------------------------------------------------------------------
# OpenD Gateway Hosts
# ---------------------------------------------------------------------------
# Comma-separated list of host:port:is_rsa entries for HA gateway selection.
# is_rsa=True for remote OpenD instances with RSA enabled.
# is_rsa=False for localhost or remote without RSA.
# Example (remote with RSA):
# FUTU_OPEND_HOSTS="172.18.208.88:11111:True,172.20.208.88:11111:True"
# Example (localhost, no RSA):
# FUTU_OPEND_HOSTS="127.0.0.1:11111:False"
# For a single host fallback (no HA, no RSA):
FUTU_ADDR=127.0.0.1:11111
# ---------------------------------------------------------------------------
# RSA Configuration
# ---------------------------------------------------------------------------
# Path to RSA private key (required for remote OpenD with RSA enabled)
FUTU_RSA_KEY=/etc/futu/keys/private_key.pem
# ---------------------------------------------------------------------------
# Connection Timeouts
# ---------------------------------------------------------------------------
# TCP probe timeout in seconds
FUTU_TCP_TIMEOUT=3
# ---------------------------------------------------------------------------
# Trade (Demo / SIMULATE only)
# ---------------------------------------------------------------------------
# Demo SIMULATE trade unlock password — NEVER use real account passwords here
# This project is for DEMO purposes only.
FUTU_TRADE_PWD=123456