-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (32 loc) · 1.26 KB
/
Copy path.env.example
File metadata and controls
43 lines (32 loc) · 1.26 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
# Frontend Environment Variables
# Copy this file to .env.local and fill in your values
# Backend Configuration
# URL of the FastAPI backend service
VITE_BACKEND_URL=http://localhost:8006
# Default API URLs
# Alpaca API base URL (paper trading or live)
VITE_ALPACA_BASE_URL=https://paper-api.alpaca.markets
# Supabase project URL
VITE_SUPABASE_URL=https://your-project.supabase.co
# Default LLM Models
# OpenRouter primary model
VITE_OPENROUTER_MODEL=openai/gpt-4-turbo
# OpenRouter fallback model
VITE_OPENROUTER_FALLBACK_MODEL=openai/gpt-4o-mini
# Perplexity model for news and research
VITE_PERPLEXITY_MODEL=sonar-pro
# Strategy Defaults
# Maximum number of concurrent positions
VITE_MAX_POSITIONS=5
# Risk per trade as decimal (0.01 = 1%)
VITE_RISK_PER_TRADE_PCT=0.01
# Chat Configuration
# LLM provider: 'openrouter', 'perplexity', or 'none'
VITE_CHAT_PROVIDER=openrouter
# LLM temperature (0.0-1.0, lower = more deterministic)
VITE_CHAT_TEMPERATURE=0.2
# IMPORTANT NOTES:
# - All variables must be prefixed with VITE_ to be accessible in the frontend
# - Never store API keys or secrets in these variables (they're bundled into the build)
# - API keys should be configured in the backend .env file only
# - For production, set VITE_BACKEND_URL to your deployed backend URL