-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
127 lines (97 loc) · 3.54 KB
/
Copy path.env.example
File metadata and controls
127 lines (97 loc) · 3.54 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# ============================================================
# QuantAgent Configuration
# ============================================================
# Environment
ENVIRONMENT=development
LOG_LEVEL=INFO
DEBUG=false
# ============================================================
# International LLM Providers
# ============================================================
# OpenAI (GPT-4o, GPT-4-turbo, etc.)
OPENAI_API_KEY=your_openai_key_here
# OPENAI_ORG_ID=your_org_id
# OPENAI_BASE_URL=https://api.openai.com/v1
# Anthropic (Claude 4 Sonnet, Claude 3.5 Sonnet, etc.)
ANTHROPIC_API_KEY=your_anthropic_key_here
# Google (Gemini 2.0 Flash, Gemini Pro, etc.)
GOOGLE_API_KEY=your_google_key_here
# AWS Bedrock (Claude, Llama, Titan, etc.)
# AWS_ACCESS_KEY_ID=your_aws_key
# AWS_SECRET_ACCESS_KEY=your_aws_secret
# AWS_REGION=us-east-1
# Azure OpenAI
# AZURE_OPENAI_API_KEY=your_azure_key
# AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
# AZURE_OPENAI_API_VERSION=2024-02-15-preview
# Groq (Llama 3, Mixtral, etc. - fast inference)
GROQ_API_KEY=your_groq_key_here
# Cohere (Command R+, etc.)
# COHERE_API_KEY=your_cohere_key
# Mistral AI (Mistral Large, etc.)
# MISTRAL_API_KEY=your_mistral_key
# Together AI (Open source models)
# TOGETHER_API_KEY=your_together_key
# Replicate (Various open source models)
# REPLICATE_API_KEY=your_replicate_key
# ============================================================
# Chinese LLM Providers (国产大模型)
# ============================================================
# DeepSeek (深度求索)
DEEPSEEK_API_KEY=your_deepseek_key_here
# Alibaba Qwen / 通义千问
QWEN_API_KEY=your_qwen_key_here
# Baidu ERNIE / 文心一言
ERNIE_API_KEY=your_ernie_api_key
ERNIE_SECRET_KEY=your_ernie_secret_key
# Zhipu AI GLM / 智谱AI (ChatGLM)
GLM_API_KEY=your_glm_key_here
# Moonshot / 月之暗面 (Kimi)
MOONSHOT_API_KEY=your_moonshot_key_here
# iFlytek Spark / 讯飞星火
SPARK_APP_ID=your_spark_app_id
SPARK_API_KEY=your_spark_api_key
SPARK_API_SECRET=your_spark_api_secret
# ByteDance Doubao / 豆包 (火山引擎)
DOUBAO_API_KEY=your_doubao_key
DOUBAO_ENDPOINT_ID=your_endpoint_id
# 01.AI Yi / 零一万物
YI_API_KEY=your_yi_key_here
# Baichuan / 百川
BAICHUAN_API_KEY=your_baichuan_key
# Minimax
MINIMAX_API_KEY=your_minimax_key
MINIMAX_GROUP_ID=your_group_id
# SenseTime SenseNova / 商汤日日新
SENSENOVA_API_KEY=your_sensenova_key
# ============================================================
# Data Sources
# ============================================================
ALPHA_VANTAGE_API_KEY=your_alpha_vantage_key
POLYGON_API_KEY=your_polygon_key
# ============================================================
# Trading APIs
# ============================================================
# Alpaca (US Stocks)
ALPACA_API_KEY=your_alpaca_key
ALPACA_SECRET_KEY=your_alpaca_secret
# Binance (Crypto)
BINANCE_API_KEY=your_binance_key
BINANCE_SECRET_KEY=your_binance_secret
# ============================================================
# Database
# ============================================================
DATABASE_URL=sqlite+aiosqlite:///./data/quantagent.db
REDIS_URL=redis://localhost:6379/0
# ============================================================
# Risk Management
# ============================================================
MAX_POSITION_SIZE=0.1
MAX_DAILY_LOSS=0.02
RISK_FREE_RATE=0.04
# ============================================================
# Trading Settings
# ============================================================
PAPER_TRADING=true
DEFAULT_CAPITAL=100000
DEFAULT_LLM=claude-sonnet-4-20250514