Download config.py from deanpowers/blind-monkeys: direct link, hf CLI and curl.
- Browser
- Download file 953 Bytes
-
https://huggingface.co/deanpowers/blind-monkeys/resolve/main/config.py
- Command line
-
hf download hf://deanpowers/blind-monkeys/config.py
-
curl -L -o config.py https://huggingface.co/deanpowers/blind-monkeys/resolve/main/config.py
953 Bytes
| import os | |
| # ---------- API Keys ---------- | |
| BINGX_API_KEY = os.environ.get('BINGX_API_KEY') | |
| BINGX_API_SECRET = os.environ.get('BINGX_API_SECRET') | |
| FRED_API_KEY = os.environ.get('FRED_API_KEY') | |
| # ---------- File Paths ---------- | |
| JOURNAL_FILE = 'trade_journal.csv' | |
| COIN_CACHE_FILE = 'coins_cache.json' | |
| SETTINGS_FILE = 'settings.json' | |
| # ---------- API Endpoints ---------- | |
| BINGX_BASE_URL = "https://open-api.bingx.com" | |
| COINGECKO_BASE_URL = "https://api.coingecko.com/api/v3" | |
| # ---------- Default Settings ---------- | |
| DEFAULT_SETTINGS = { | |
| "scan_min_market_cap": 10_000_000, | |
| "scan_min_volume": 500_000, | |
| "scan_max_coins": 200, | |
| "coin_cache_ttl_hours": 24, | |
| "auto_filter_bingx": 1, # 1 = enabled, 0 = disabled | |
| "excluded_coins": [] | |
| } | |
| # ---------- Treasury Symbols ---------- | |
| TREASURY_SYMBOLS = { | |
| "3M": "DGS3MO", | |
| "6M": "DGS6MO", | |
| "1Y": "DGS1", | |
| "2Y": "DGS2", | |
| "5Y": "DGS5", | |
| "10Y": "DGS10", | |
| "30Y": "DGS30" | |
| } | |