fix: backfill symbol_demand for sidebar-added symbols + analyst ratings schema fix
- Add await ctx.cache.subscribe() to addSymbol mutation so symbols added via the sidebar get registered in symbol_demand and yfinance jobs are queued immediately - Backfill PEP, WYNN, STZ, CELH into symbol_demand + adapter_queue - Upgrade yahoo-finance2 3.15.3 -> 3.15.4 and pass validateResult:false to quoteSummary() to handle Yahoo schema drift - Add error detail logging for analyst ratings schema failures - Update .gitignore with common ignores
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Investor Flow — Environment Variables
|
||||
# Copy this file to .env and fill in the values.
|
||||
|
||||
# ─── Security ───────────────────────────────────────────────────────────────
|
||||
# Session secret for JWT signing (generate with: openssl rand -hex 32)
|
||||
IFLOW_SESSION_SECRET=dev-secret-change-me
|
||||
|
||||
# ─── SEC EDGAR ──────────────────────────────────────────────────────────────
|
||||
# Operator email for EDGAR user-agent (required by SEC fair-use policy)
|
||||
SEC_OPERATOR_EMAIL=operator@example.com
|
||||
|
||||
# ─── X/Twitter ──────────────────────────────────────────────────────────────
|
||||
# Cookie string from x.com (for cookie-based scraping)
|
||||
X_COOKIE=
|
||||
|
||||
# ─── Reddit API ─────────────────────────────────────────────────────────────
|
||||
# Reddit OAuth app credentials (https://www.reddit.com/prefs/apps)
|
||||
REDDIT_CLIENT_ID=
|
||||
REDDIT_CLIENT_SECRET=
|
||||
REDDIT_USER_AGENT=investor-flow/1.0
|
||||
|
||||
# ─── LLM Provider (ADR-0006: local-only) ────────────────────────────────────
|
||||
# URL for the local LLM provider (e.g. LM Studio, ollama, omlx)
|
||||
LLM_PROVIDER_URL=http://localhost:1234/v1
|
||||
|
||||
# ─── FRED (Federal Reserve Economic Data) ───────────────────────────────────
|
||||
# API key from https://fred.stlouisfed.org/docs/api/api_key.html
|
||||
FRED_API_KEY=
|
||||
|
||||
# ─── OAuth (optional) ───────────────────────────────────────────────────────
|
||||
GITHUB_CLIENT_ID=
|
||||
GITHUB_CLIENT_SECRET=
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
Reference in New Issue
Block a user