httpx async client with custom retry loop (max 3, exponential 1s/2s/4s), memory dict cache (portfolio 60s / news-sentiment 300s / screener 60s), X-WebAI-Key auth header injection. Stale fallback returns last successful response with logger.warning on persistent failures. 6 integration tests pass with respx httpx mock. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
68 lines
741 B
Plaintext
68 lines
741 B
Plaintext
# Environment Variables
|
|
.env
|
|
.env.local
|
|
.env.*
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
pip-wheel-metadata/
|
|
share/python-wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# Virtual Environment
|
|
venv/
|
|
env/
|
|
ENV/
|
|
.venv/
|
|
|
|
# IDE settings
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Data & Logs (Runtime generated)
|
|
data/
|
|
*.log
|
|
daily_trade_history.json
|
|
watchlist.json
|
|
bot_ipc.json
|
|
|
|
# Test (top-level only; signal_v2/tests tracked separately)
|
|
tests/
|
|
tests/*
|
|
!signal_v2/tests/
|
|
!signal_v2/tests/**
|
|
|
|
# System
|
|
Thumbs.db
|
|
Desktop.ini
|
|
|
|
# stock
|
|
KIS_SETUP.md
|
|
# Claude Code subagent state
|
|
.claude/
|
|
|
|
# Signal V2 runtime data
|
|
signal_v2/data/*.db
|
|
signal_v2/data/*.db-*
|