forked from cenab/MSTO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
38 lines (29 loc) · 778 Bytes
/
.env
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
# Environment
ENV=dev
# Trading Configuration
TRADING_MODE=paper
DROP_LOOKBACK_DAYS=60
# API Keys and External Services
TRADINGVIEW_WEBHOOK_URL=your_webhook_url_here
NEWS_API_KEY=your_newsapi_key_here
# Database Configuration
DB_CONNECTION_STRING=postgresql://user:password@localhost:5432/msto
# Logging Configuration
LOG_LEVEL=INFO
LOG_FORMAT=json
# Common Strategy Configuration
DEFAULT_MIN_IMPACT_THRESHOLD=0.3
MIN_DROP_THRESHOLD=-5.0
# Fundamental Strategy Configuration
MAX_PE_RATIO=30.0
# Volatility Strategy Configuration
MIN_SENTIMENT_THRESHOLD=-0.5
BASE_POSITION_SIZE=100
# Position Limits
MAX_POSITION_SIZE=1000
MIN_POSITION_SIZE=10
# Monitoring Configuration
CHECK_INTERVAL_SECONDS=300
MAX_SIGNALS_PER_TICKER=3
MARKET_HOURS_ONLY=true
MAX_PARALLEL_TICKERS=10