Spaces:
Running
Running
| # Trading Suite Light (HF Edition) - Example .env | |
| # COPY to .env and fill in the secret values locally. DO NOT commit .env | |
| # Hugging Face token for HF CLI and Space variables | |
| HF_TOKEN=your_hf_token_here | |
| # GitHub personal access token (optional, for CI requiring GH_TOKEN) | |
| GH_TOKEN=your_github_token_here | |
| # Alpha Vantage — used for some equity/historical data | |
| ALPHA_VANTAGE_API_KEY=your_alpha_vantage_key_here | |
| # FlashAlpha | |
| FLASH_ALPHA_API_KEY=your_flashalpha_key_here | |
| # FRED API key (optional — macroeconomic series) | |
| FRED_API_KEY=your_fred_key_here | |
| # CoinGecko API | |
| COINGECKO_API_KEY=your_coingecko_key_here | |
| # Bingx.com API | |
| BINGX_API_KEY=your_bingx_key_here | |
| BINGX_SECRET_KEY=your_bingx_secret_here | |
| # Deribit API | |
| DERIBIT_API_KEY=your_deribit_key_here | |
| # www.finnhub.io API | |
| FINNHUB_API_KEY=your_finnhub_key_here | |
| # www.db.nomics.world API | |
| DBNOMICS_API_KEY=your_dbnomics_key_here | |
| # massive.com (Polygon) / IBKR / other market data keys | |
| POLYGON_API_KEY=your_polygon_key_here | |
| IBKR_API_KEY=your_ibkr_key_here | |
| # Demo mode flag (1 = synthetic/demo, 0 = live) | |
| DEMO_MODE=1 | |
| # Other optional provider keys (add as needed) | |
| # POLYGON_API_SECRET= | |
| # SOME_OTHER_SECRET= | |
| # Local settings | |
| LOG_LEVEL=INFO | |
| CACHE_DIR=./assets/cache | |
| # NOTE: After filling this file, run the following to set GH secrets (example): | |
| # for K in ALPHA_VANTAGE_API_KEY FRED_API_KEY HF_TOKEN GH_TOKEN; do | |
| # VAL=$(grep -E "^$K=" .env | sed -E "s/^$K=//") | |
| # echo "$VAL" | gh secret set "$K" --body - | |
| # done | |