mirror of
https://github.com/Sabermrddz/QuantCore-FX.git
synced 2026-07-27 18:47:51 +00:00
70 lines
2.4 KiB
Bash
70 lines
2.4 KiB
Bash
# APEX Layer 1 — Environment Configuration Example
|
|
#
|
|
# Copy this file to .env and fill in your values
|
|
# cp .env.example .env
|
|
|
|
# ============================================================================
|
|
# FRED API Configuration (Required)
|
|
# ============================================================================
|
|
# Get a free API key from: https://fred.stlouisfed.org
|
|
# 1. Register for an account
|
|
# 2. Go to Account → API Keys
|
|
# 3. Copy your key and paste below
|
|
FRED_API_KEY=paste_your_fred_api_key_here
|
|
|
|
# ============================================================================
|
|
# Database Configuration
|
|
# ============================================================================
|
|
# Path to SQLite database file
|
|
DB_PATH=apex.db
|
|
|
|
# Database connection timeout (seconds)
|
|
DB_TIMEOUT=10
|
|
|
|
# Auto-create schema on first run
|
|
DB_AUTO_CREATE=true
|
|
|
|
# ============================================================================
|
|
# Debugging & Logging
|
|
# ============================================================================
|
|
# Enable debug output to console (true/false)
|
|
DEBUG=true
|
|
|
|
# ============================================================================
|
|
# Scoring Weights (must sum to 1.0)
|
|
# ============================================================================
|
|
# Interest rate differential weight (50% default)
|
|
WEIGHT_RATE=0.50
|
|
|
|
# CPI deviation weight (30% default)
|
|
WEIGHT_CPI=0.30
|
|
|
|
# PMI composite weight (20% default)
|
|
WEIGHT_PMI=0.20
|
|
|
|
# ============================================================================
|
|
# Trading Rules
|
|
# ============================================================================
|
|
# Minimum gap in points to generate trade signal (default 20)
|
|
# Gap < 20: NO TRADE
|
|
# Gap 20-40: Weak signal
|
|
# Gap 40-60: Standard signal
|
|
# Gap > 60: Strong signal
|
|
MIN_GAP=20.0
|
|
|
|
# ============================================================================
|
|
# Auto-Fetch Configuration
|
|
# ============================================================================
|
|
# Automatically fetch rates from FRED on app startup (true/false)
|
|
AUTO_FETCH_RATES_ON_STARTUP=true
|
|
|
|
# ============================================================================
|
|
# Application UI Settings
|
|
# ============================================================================
|
|
# Window title
|
|
APP_TITLE=APEX Layer 1 — Currency Strength Engine
|
|
|
|
# Default window size (width x height)
|
|
WINDOW_WIDTH=1200
|
|
WINDOW_HEIGHT=800
|