feat: log technical indicators on entry and add dashboard docs to README

- Include RSI, MACD_H, ATR in bot entry log so the log parser can
  extract and store them in the trades DB for dashboard display
- Update log parser regex and _handle_entry() to persist indicator values
- Add dashboard section to README (tech stack, screens, API endpoints)
- Add dashboard/ directory to project structure in README

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21in7
2026-03-05 21:08:16 +09:00
parent aef161002d
commit 39e55368fd
3 changed files with 61 additions and 7 deletions

View File

@@ -205,7 +205,10 @@ class TradingBot:
)
logger.success(
f"{signal} 진입: 가격={price}, 수량={quantity}, "
f"SL={stop_loss:.4f}, TP={take_profit:.4f}"
f"SL={stop_loss:.4f}, TP={take_profit:.4f}, "
f"RSI={signal_snapshot['rsi']:.2f}, "
f"MACD_H={signal_snapshot['macd_hist']:.6f}, "
f"ATR={signal_snapshot['atr']:.6f}"
)
sl_side = "SELL" if signal == "LONG" else "BUY"