-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
101 lines (85 loc) · 2.99 KB
/
.env.example
File metadata and controls
101 lines (85 loc) · 2.99 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# StockSim Environment Configuration
# Copy this file to .env and update with your API keys
# =====================================
# Message Broker Configuration
# =====================================
RABBITMQ_HOST=localhost
# =====================================
# Data Sources (at least one required)
# =====================================
# Polygon.io - Primary data source for stocks and crypto
POLYGON_API_KEY=your_polygon_api_key_here
# Alpha Vantage - Alternative data source
ALPHA_VANTAGE_API_KEY=your_alpha_vantage_api_key_here
# =====================================
# LLM Providers (optional - required for LLM agents)
# =====================================
# OpenAI - Default API key
OPENAI_API_KEY=your_openai_api_key_here
# OpenAI - Additional keys for concurrent usage (optional)
# You can define multiple OpenAI keys and reference them in config files
# OPENAI_API_KEY_2=your_second_openai_key_here
# OPENAI_API_KEY_BACKUP=your_backup_openai_key_here
# Anthropic - Direct API key
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Hugging Face (for specialized models)
HUGGINGFACE_TOKEN=your_huggingface_token_here
# =====================================
# AWS Configuration (for Anthropic Bedrock)
# =====================================
AWS_ACCESS_KEY_ID=your_aws_access_key_here
AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here
AWS_REGION=us-west-2
# =====================================
# Directory Configuration (optional)
# =====================================
# Log output directory
LOG_DIR=logs
# Metrics and results output directory
METRICS_OUTPUT_DIR=metrics
# =====================================
# Logging Configuration (optional)
# =====================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# =====================================
# Multi-Key Configuration
# =====================================
#
# You can define multiple API keys for the same provider and reference them
# by name in your config files. This enables:
# 1. Different keys for different agents/models
# 2. Load balancing across multiple keys
# 3. Backup keys for redundancy
#
# Example usage in config.yaml:
# models:
# agent_1:
# api_keys:
# openai_api_key: "OPENAI_API_KEY" # Uses default key
# agent_2:
# api_keys:
# openai_api_key: "OPENAI_API_KEY_2" # Uses second key
#
# =====================================
# API Key Instructions
# =====================================
#
# 1. Polygon.io: https://polygon.io/dashboard/api-keys
# - Free tier: 5 calls/minute, 1 year historical data
# - Paid plans for real-time and unlimited access
#
# 2. Alpha Vantage: https://www.alphavantage.co/support/#api-key
# - Free tier: 25 calls/day
# - Premium plans for higher limits
#
# 3. OpenAI: https://platform.openai.com/api-keys
# - Pay-per-use pricing
#
# 4. Anthropic: https://console.anthropic.com/
# - Pay-per-use pricing
#
# 5. Hugging Face: https://huggingface.co/settings/tokens
# - Free for most models
#
# =====================================