3a17471c0e4b1e76f31f59ba5efb7e56e0039357
Cold /scan is rate-limited (4 pairs × 3 TFs = 12 credits, free tier 8/min) so the first call takes ~73s. Without provider reuse, every subsequent /scan is also ~73s because the cache is rebuilt from scratch. Reusing the provider on the bot instance preserves the OHLCV cache between calls, so a /scan within the cache TTLs (M15: 5m, H1: 30m, D1: 4h) skips the prefetch entirely: Cold /scan: ~73s (rate-limited prefetch + analyze + Gemini) Warm /scan: ~10s (cached data, news re-scored) Re-warm: ~1.5s (cached data + cached sentiment) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Description
No description provided
Languages
Python
92.4%
HTML
6.6%
PHP
1%