Team Ai
Apppublic

Sumitx369/Paper_Trading_Backtesting

sourceHugging Faceupdated 4mo agoView on Hugging Face
2likes
.env.example33 linesDownload Raw Back to root
1# Copy this to `.env` for local development.2# On Hugging Face Spaces, set these as Space "Secrets" instead.3 4# REQUIRED in production — a long random string used to sign JWTs.5JWT_SECRET=dev-secret-change-me-to-a-long-random-string6 7# Optional overrides (defaults shown)8# JWT_EXPIRE_MINUTES=14409# CACHE_DIR=./data/cache10# MAX_LOOKBACK_DAYS=36511 12# --- Agentic / Automated Trading layer ---13# Groq LLM (chatbot + bounded news enrichment). Get a key at console.groq.com.14# GROQ_API_KEY=gsk_...15# GROQ_MODEL=llama-3.3-70b-versatile16# LLM_ENABLED=true17 18# Optional enrichment feeds (features degrade gracefully if unset).19# NEWSAPI_KEY=...           # newsapi.org20# FRED_API_KEY=...          # fred.stlouisfed.org21 22# Paper-trading session defaults23# PAPER_CAPITAL=10000024# MAX_RISK_PER_TRADE=1000025# AGENTIC_SCAN_INTERVAL_S=6026 27# Database. Default is local SQLite:28# DATABASE_URL=sqlite:///./data/app.db29#30# For production (Neon Postgres) use the POOLED connection string from the Neon31# console (host contains "-pooler"). Example shape:32# DATABASE_URL=postgresql://USER:PASSWORD@ep-xxxxx-pooler.REGION.aws.neon.tech/DBNAME?sslmode=require33