Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# QuantCoder CLI Environment Configuration
# Copy this file to ~/.quantcoder/.env and fill in your values
# IMPORTANT: Set file permissions to 600 (chmod 600 .env)

# =============================================================================
# LLM Provider API Keys (at least one required)
# =============================================================================

# OpenAI API Key (for GPT-4 models)
# Get your key at: https://platform.openai.com/api-keys
OPENAI_API_KEY=

# Anthropic API Key (for Claude models - recommended)
# Get your key at: https://console.anthropic.com/
ANTHROPIC_API_KEY=

# Mistral API Key (for Mistral models)
# Get your key at: https://console.mistral.ai/
MISTRAL_API_KEY=

# =============================================================================
# QuantConnect Credentials (required for backtesting)
# =============================================================================

# QuantConnect User ID
# Find at: https://www.quantconnect.com/account
QUANTCONNECT_USER_ID=

# QuantConnect API Key
# Generate at: https://www.quantconnect.com/account
QUANTCONNECT_API_KEY=

# =============================================================================
# Local LLM Configuration (optional - for offline use)
# =============================================================================

# Ollama base URL (default: http://localhost:11434)
# Use http://host.docker.internal:11434 when running in Docker
OLLAMA_BASE_URL=http://localhost:11434

# =============================================================================
# Logging Configuration (optional)
# =============================================================================

# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL (default: INFO)
LOG_LEVEL=INFO

# Log format: json or text (default: text)
# Use json for production log aggregation
LOG_FORMAT=text

# =============================================================================
# Advanced Configuration (optional)
# =============================================================================

# API timeout in seconds (default: 60)
# QC_API_TIMEOUT=60

# Maximum concurrent API requests (default: 10)
# QC_MAX_CONCURRENT=10

# Circuit breaker failure threshold (default: 5)
# QC_CIRCUIT_BREAKER_THRESHOLD=5

# Circuit breaker reset timeout in seconds (default: 60)
# QC_CIRCUIT_BREAKER_TIMEOUT=60
52 changes: 52 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# QuantCoder CLI Code Owners
# These owners will be requested for review on PRs that modify their areas.
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Default owner for everything
* @SL-Mar

# Core CLI and configuration
/quantcoder/cli.py @SL-Mar
/quantcoder/config.py @SL-Mar
/quantcoder/chat.py @SL-Mar

# Tool system
/quantcoder/tools/ @SL-Mar

# Multi-agent system
/quantcoder/agents/ @SL-Mar

# LLM providers and integration
/quantcoder/llm/ @SL-Mar
/quantcoder/core/ @SL-Mar

# Autonomous learning pipeline
/quantcoder/autonomous/ @SL-Mar

# Strategy library builder
/quantcoder/library/ @SL-Mar

# Evolution engine (AlphaEvolve)
/quantcoder/evolver/ @SL-Mar

# QuantConnect MCP integration
/quantcoder/mcp/ @SL-Mar

# Execution and parallelization
/quantcoder/execution/ @SL-Mar

# Tests
/tests/ @SL-Mar

# Documentation
/docs/ @SL-Mar
*.md @SL-Mar

# CI/CD and deployment
/.github/ @SL-Mar
/Dockerfile @SL-Mar
/docker-compose.yml @SL-Mar

# Configuration files
/pyproject.toml @SL-Mar
/requirements.txt @SL-Mar
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ output.*
# Configuration and secrets (API keys)
.env
.env.*
!.env.example
*.env
.envrc
.quantcoder/
Expand Down
Loading
Loading