- config.py: Add HTF_TIMEFRAME (1h) and HTF_CANDLE_LIMIT (50)
- data_fetcher.py: Fetch both 5m and 1h candles per symbol
- indicators.py: Add ADX, StochRSI, OBV+slope, CMF to 5m indicators;
new functions for HTF indicators, pivot points, and their summaries
- main.py: Wire up HTF data flow (1h indicators + pivots → LLM summary)
- llm_analyzer.py: Rewrite prompt with MTF filter (1h trend alignment),
require 2+ confirmations for BUY, confidence scoring guide
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Includes: Bitfinex API integration, technical indicators,
LLM signal generation, risk management, Slack notifications.
Recent fixes:
- SELL orders use position value instead of total balance
- SELL signals always close full position
- Failed orders added to rejected list for Slack reporting
- Position/exposure limits auto-cap to remaining room
- BUY order minimum raised to 10% of portfolio
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>