-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.env.example
More file actions
51 lines (41 loc) · 2.3 KB
/
.env.example
File metadata and controls
51 lines (41 loc) · 2.3 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
# =============================================================================
# Alphapoly Configuration
# =============================================================================
# Copy this file to .env and fill in values:
# cp .env.example .env
# =============================================================================
# REQUIRED: OpenRouter API key for LLM inference
# Get free key at: https://openrouter.ai/keys
OPENROUTER_API_KEY=sk-or-v1-xxxxxxxxxxxx
# REQUIRED: LLM models for pipeline steps (via OpenRouter)
# Browse models at: https://openrouter.ai/models
# Implications extraction (capable model for finding relations between market groups)
IMPLICATIONS_MODEL=google/gemini-2.5-flash
# Validation (capable model for validating implications on market level)
VALIDATION_MODEL=google/gemini-3-flash-preview
# OPTIONAL: Polymarket tags to fetch (comma-separated)
# Available: politics, sports, crypto, pop-culture, business, science
POLYMARKET_TAG=politics
# =============================================================================
# Market Polling (Background Service)
# =============================================================================
# OPTIONAL: Enable/disable background market polling
# When enabled, polls for new events and processes them incrementally
# When disabled, you need to run new events or run from scratch manually (see Pipeline tab - Add New Events)
MARKET_POLLING_ENABLED=false
# OPTIONAL: Polling interval in seconds
# How often to check for new markets (minimum: 30)
POLL_INTERVAL_SECONDS=60
# =============================================================================
# On-chain Actions (Optional)
# =============================================================================
# Polygon RPC node, required only for placing bets on-chain
# Get a free high-quality node at: https://chainstack.com
CHAINSTACK_NODE=https://polygon-mainnet.core.chainstack.com/xxxxxxxx
# OPTIONAL: HTTPS proxy for Polymarket CLOB API
# Required if trading is geo-restricted in your region (403 errors)
# HTTPS_PROXY=http://user:pass@proxy-host:port
# OPTIONAL: Polymarket V2 cutover (2026-04-28). When true, the CLOB client
# uses py-clob-client-v2 against clob-v2.polymarket.com with pUSD collateral
# and EIP-712 domain version "2". Defaults to false (V1 stays in charge).
# POLYMARKET_V2_ENABLED=false