Commit Graph

10 Commits

Author SHA1 Message Date
Christian Gick
16ee24d45f docs(CF-236): Create comprehensive README with CLI documentation
Created full README.md for gridbot-mcp including:

**MCP Server Documentation:**
- Configuration for Claude Code
- Complete tool reference (60+ tools)
- Monitoring, trading, analysis, system tools
- Signal intents and scale-out features

**CLI Wrapper Documentation:**
- Full command reference for gridbot CLI
- Session start (recommended workflow)
- Monitoring commands
- Market data commands
- Trading validation
- Analysis tools
- Emergency operations

**Architecture:**
- Conductor API integration
- Position management with real-time P/L
- Risk management and circuit breakers
- PI Consensus integration

CLI wrapper located at:
~/Development/Infrastructure/AgilitonScripts/bin/gridbot

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-19 21:47:46 +02:00
Christian Gick
c9a1775bb5 feat(Session 452): Add 24/5 trading MCP tools
Added 4 new MCP tools for Session 452 - 24/5 Trading Enhancement:

1. market_closure_context
   - Get current market closure context and crypto allocation adjustments
   - Endpoint: /api/dashboard/market-closure-context

2. pi_consensus_query
   - Get PI consensus data for a symbol (3+ PIs holding)
   - Endpoint: /api/pi-intelligence/consensus/{symbol}

3. pi_consensus_top
   - Get top PI consensus opportunities
   - Endpoint: /api/pi-intelligence/consensus/top

4. pi_scan_trigger
   - Trigger manual PI portfolio scan
   - Endpoint: /api/pi-intelligence/scan/trigger

USAGE: Enables Claude to query market status and PI consensus during
trading sessions, supporting dynamic strategy adjustments.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-19 12:47:48 +02:00
Christian Gick
b072878ca5 Replace hardcoded IPs with DNS hostnames
- Updated server.py BASE_URL to use services.agiliton.internal
- Updated docstring with new default URL

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-17 09:11:41 +02:00
Christian Gick
69d7c1f572 feat(Session 246): Add 8 new MCP tools for gridbot enhancement
Added MCP tools to match Session 246 conductor API enhancements:

**New Tools:**
1. session_start - Aggregated session workflow (replaces 5-6 calls)
2. scale_out_trigger - Manual profit-taking (prevents givebacks)
3. create_intents_bulk - Batch intent creation (5-10x faster)
4. close_positions_by_filter - Fast rebalancing (asset class, P/L, symbols)
5. scale_out_adjust_threshold - Per-symbol threshold override
6. scale_out_get_overrides - List all threshold overrides
7. scale_out_delete_override - Revert symbol to default threshold

**Integration:**
- All tools map to new conductor API endpoints
- Handlers added to call_tool switch
- Input schemas with proper validation

**Impact:**
- 80% time savings on session start
- Instant profit protection via manual scale-out
- 10x faster portfolio rebalancing
- Dynamic elite symbol tuning

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 17:24:26 +02:00
Christian Gick
f3c3ab5e2d fix(TSL): Enable TSL by default in MCP tool
Changed is_tsl_enabled default from False to True in:
- Tool schema definition
- Payload construction (arguments.get default)

Fixes issue where MCP tool was overriding conductor API schema
default. Requires Claude Code restart to reload MCP tools.

Related: eToroGridbot commit 2d91848
2026-01-16 12:27:47 +02:00
Christian Gick
25839d0b19 fix: Default GRIDBOT_API_URL to 10.0.1.3 (infra VM) 2026-01-15 16:37:42 +02:00
Christian Gick
1ac1e245d6 fix: Update gridbot-mcp from SSH tunnel to VPN architecture
- Change error messages from "SSH tunnel" to "VPN"
- Update docstring to reference VPN and GRIDBOT_API_URL
- Default API URL now http://10.0.1.3:8000 (conductor on infra VM)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 16:32:48 +02:00
Christian Gick
d231fcce67 feat(Session 241): Add scale-out MCP tools
Position Exit Management System support:
- scale_out_status: Service status and statistics
- scale_out_pending: Positions awaiting scale-out
- scale_out_stats: Execution statistics
- scale_out_set_dry_run: Toggle dry-run mode

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 14:16:08 +02:00
Christian Gick
8faf5ecca6 feat: Add is_tsl_enabled to create_order MCP tool
Enable trailing stop loss via native eToro feature when creating orders.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 14:05:15 +02:00
Christian Gick
c749c42bc4 Initial commit: gridbot-mcp server
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 19:17:44 +02:00