initial setup

This commit is contained in:
Bojan Kucera 2025-06-02 08:15:20 -04:00
commit 232a63dfe8
61 changed files with 4985 additions and 0 deletions

35
.env.example Normal file
View file

@ -0,0 +1,35 @@
# Environment Configuration
NODE_ENV=development
PORT=3000
# Database Configuration
QUESTDB_HOST=localhost
QUESTDB_PORT=9000
QUESTDB_DATABASE=qdb
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DATABASE=stockbot
POSTGRES_USERNAME=postgres
POSTGRES_PASSWORD=password
DRAGONFLY_HOST=localhost
DRAGONFLY_PORT=6379
DRAGONFLY_PASSWORD=
# API Keys (Add your actual keys here)
ALPHA_VANTAGE_API_KEY=demo
ALPACA_API_KEY=your_alpaca_key_here
ALPACA_SECRET_KEY=your_alpaca_secret_here
# Trading Configuration
PAPER_TRADING=true
MAX_POSITION_SIZE=0.1
MAX_DAILY_LOSS=1000
# Logging
LOG_LEVEL=debug
# Feature Flags
ENABLE_ML_SIGNALS=false
ENABLE_SENTIMENT_ANALYSIS=false