.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
ALPHA_VANTAGE_KEY
secret
── Market data ──────────────────────────────────────────────────────────────
FRED_API_KEY
secret
TELEGRAM_BOT_TOKEN
secret
── Telegram alerts ───────────────────────────────────────────────────────────
TELEGRAM_CHAT_ID
DB_HOST
── PostgreSQL database ───────────────────────────────────────────────────────
DB_PORT
DB_NAME
DB_USER
DB_PASSWORD
secret
GROQ_API_KEY_1
secret
── LLM APIs ───────────────────────────────────────────────────────────────── Groq — free tier: 100k tokens/day per key…
GROQ_API_KEY_2
secret
OPENROUTER_API_KEY_1
secret
OpenRouter — free tier: 50 req/day per key https://openrouter.ai
OPENROUTER_API_KEY_2
secret
PORTFOLIO_CURRENCY
── Portfolio settings ────────────────────────────────────────────────────────
HOME_COUNTRY
RISK_LEVEL
MAX_ALPHA_VANTAGE_CALLS
MIN_TRADE_VALUE_EUR
── Pipeline limits ─────────────────────────────────────────────────────────── Minimum EUR value per buy order — trades below this are…
DAILY_ANALYSIS_COUNT
How many tickers to run through the full LLM debate each day. Higher = more coverage, more LLM quota consumed.
MAX_HOLDINGS
Maximum number of open positions the portfolio can hold at once.
brew install flyctl && fly launch --from https://github.com/amrit-regmi/advisor
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/amrit-regmi/advisor
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/amrit-regmi/advisor