Commit Graph

2 Commits

Author SHA1 Message Date
ashimnandi-trika 0624bf4564 Fix type hint, config handling, and auth header
- Fix return type: Tuple[str, str, dict] → Tuple[str, dict, dict]
  (full_signal is a dict, not a string)
- Use safe config merge to avoid mutating caller's dict
- Fix auth header to use X-API-Key (System R convention)

Co-Authored-By: gemini-code-assist[bot] <noreply@github.com>
2026-03-08 23:52:41 +05:30
ashimnandi-trika 07260ff4fe Add System R risk intelligence integration example
Add an example showing how to use System R's pre-trade-gate API as an
external risk validation layer for TradingAgents.  The wrapper runs the
standard analyst/trader/risk-debate pipeline, then gates the final BUY/SELL
decision through System R before execution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:16:03 +05:30