chemavx 33ad86f352
CI/CD / build-and-push (push) Successful in 1m32s
feat(news): 6h cache, politics-only, max 5/cycle, 2s sleep between calls
- CACHE_TTL: 4h → 6h (≤36 req/day with ≤9 politics markets)
- GNews only called for is_politics markets (BTC/F&G cover crypto/macro)
- MAX_NEWS_QUERIES_PER_CYCLE=5: BayesianStrategy.reset_cycle() called each
  iteration; counter increments only on actual API call (cache hits free)
- 2s asyncio.sleep in news.py finally block after each real HTTP request
- main.py sorts markets: politics first by end_date ascending, so soonest-
  resolving markets consume the 5-query budget before others

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 12:33:26 +00:00
S
Description
Polymarket trading bot
478 KiB
Languages
Python 92.3%
JavaScript 5.1%
CSS 2.2%
Dockerfile 0.2%
HTML 0.2%