-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
74 lines (64 loc) · 2.33 KB
/
Copy path.env.example
File metadata and controls
74 lines (64 loc) · 2.33 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# ─────────────────────────────────────────────────────────────────
# TRITAN — .env.example
# Copy to .env and fill in your values. Never commit .env to git.
# ─────────────────────────────────────────────────────────────────
# LLM (OpenAI-compatible endpoint — tested with MiMo via Z.ai)
AI_API_KEY=your_api_key_here
AI_BASE_URL=https://token-plan-sgp.xiaomimimo.com/v1
AI_MODEL=mimo-v2.5
LLM_MAX_TOKENS=3000
LLM_DAILY_COST_LIMIT_USD=2.0
MAX_LLM_CALLS_PER_CYCLE=8
# Polymarket Wallet (Polygon)
POLYGON_PRIVATE_KEY=0x_your_private_key
POLYGON_WALLET_ADDRESS=0x_your_wallet_address
SIGNATURE_TYPE=0
POLYGON_RPC_URL=https://polygon-mainnet.g.alchemy.com/v2/YOUR_KEY
CHAIN_ID=137
# Polymarket API
POLYMARKET_CLOB_HOST=https://clob.polymarket.com
POLYMARKET_GAMMA_API=https://gamma-api.polymarket.com
POLYMARKET_DATA_API=https://data-api.polymarket.com
POLY_API_KEY=your_poly_api_key
POLY_API_SECRET=your_poly_api_secret
POLY_API_PASSPHRASE=your_poly_passphrase
# Agent Mode
AGENT_MODE=demo
SCAN_INTERVAL_MINUTES=15
SCAN_INTERVAL_ACTIVE_MINUTES=5
# Data Files (mode-separated — never share demo/live state)
DEMO_TRADES_FILE=./data/demo_trades.json
LIVE_TRADES_FILE=./data/live_trades.json
BANKROLL_STATE_FILE=./data/bankroll_state.json
BANKROLL_STATE_FILE_LIVE=./data/bankroll_state_live.json
EVOLUTION_FILE=./data/evolution_lessons.json
PNL_SUMMARY_FILE=./data/pnl_summary.json
# Financial Settings
DEMO_BANKROLL=20.00
LIVE_BANKROLL=0.00
MIN_BET_SIZE=1.00
MAX_BET_SIZE=3.00
MAX_BET_PCT_OF_BANKROLL=0.15
MAX_OPEN_POSITIONS=20
KELLY_FRACTION=0.25
# Edge Thresholds
MIN_CONFIDENCE=0.55
MIN_CONFIDENCE_CRYPTO=0.60
MIN_CONFIDENCE_GEOPOLITIK=0.65
MIN_CONFIDENCE_POLITICS=0.62
MIN_STAT_EDGE=0.08
MIN_STAT_EDGE_HIGH_RISK=0.10
# Exit Settings
EXIT_TAKE_PROFIT=0.15
EXIT_STOP_LOSS=0.12
EXIT_MAX_HOURS=8
TRAILING_STOP_PCT=0.05
# Research APIs
SERPER_API_KEY=your_serper_key
NEWS_API_KEY=your_newsapi_key
TAVILY_API_KEY=your_tavily_key
TWITTER_BEARER_TOKEN=your_twitter_bearer
ODDS_API_KEY=your_odds_api_key
OPENWEATHER_API_KEY=your_openweather_key
# Web Dashboard
API_SECRET_TOKEN=generate_with_python_secrets_token_hex_32