-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (47 loc) · 1.16 KB
/
.env.example
File metadata and controls
54 lines (47 loc) · 1.16 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Database
# For local non-Docker runs keep localhost.
# Docker Compose overrides POSTGRES_HOST to `postgres` automatically.
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=trade_recon
POSTGRES_USER=postgres
POSTGRES_PASSWORD=
DATABASE_URL=
# Redis (Task Queue and Caching)
# For local non-Docker runs keep localhost.
# Docker Compose overrides REDIS_URL to `redis://redis:6379/0` automatically.
REDIS_URL=redis://localhost:6379/0
# Trading system connections
OMS_API_URL=https://api.kraken.com
OMS_API_KEY=
ALPACA_API_KEY_ID=
ALPACA_API_SECRET_KEY=
KRAKEN_PAIR=XBTUSD
CUSTODIAN_SFTP_HOST=
CUSTODIAN_SFTP_USER=
CUSTODIAN_SFTP_KEY=
PRIME_BROKER_API_URL=
PRIME_BROKER_API_KEY=
# ML model paths
ML_MODEL_PATH=./models
BREAK_PREDICTION_MODEL=break_predictor_latest.pkl
# Thresholds and rules
FUZZY_MATCH_THRESHOLD=0.85
AUTO_MATCH_THRESHOLD=0.95
MANUAL_REVIEW_THRESHOLD=0.75
PRICE_TOLERANCE_PCT=0.01
QUANTITY_TOLERANCE=0
# SLA configuration (minutes)
SLA_HIGH_PRIORITY=30
SLA_MEDIUM_PRIORITY=120
SLA_LOW_PRIORITY=480
# Notification
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=587
EMAIL_USER=
EMAIL_PASSWORD=
SLACK_WEBHOOK_URL=
# Application
LOG_LEVEL=INFO
ENVIRONMENT=development
MAX_WORKERS=8