get_trade_history
Purpose: Query paper-trading history with dynamic filters (action / P&L / time / symbol). Triggers (casual questions too): "what trades happened lately?", "최근 거래 내역 보여줘", "how did the BTC trades go?", "승률 어때?", "show me the trade log", "how many trades won this week?". When to call: past trade review, single-symbol post-mortem, win-rate audits. Prerequisites: none. Next steps: analyze_trades, market://{market_id}/signals/feedback. Caveats: paper-trading data only (not real money). limit capped at 1000.
Args: market_id: Market ID (crypto, kr_stock, us_stock; aliases coin/kr/us accepted) limit: Max results (default 1000) action_filter: Filter by action (all, buy, sell) min_pnl: Min P&L % filter (e.g., -5.0) max_pnl: Max P&L % filter (e.g., 10.0) hours_back: Only trades within last N hours symbol: Filter by ticker symbol (e.g., "BTC", "AAPL"); case-insensitive
Disclaimer: Information only, not investment advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | No | ||
| max_pnl | No | ||
| min_pnl | No | ||
| market_id | Yes | ||
| hours_back | No | ||
| action_filter | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set true on error responses | |
| action | No | Recommended client action (error path) | |
| reason | No | Human-readable cause (error path) | |
| full_data | No | ||
| retryable | No | Whether the client should retry (error path) | |
| timestamp | Yes | RFC3339 UTC, server build time | |
| ai_summary | No | One-line AI-oriented summary (success path) | |
| disclaimer | Yes | Canonical compliance disclaimer (always present) | |
| error_code | No | Stable error identifier; see mcp_error_policy.md | |
| request_id | Yes | 32-hex per-response correlation id | |
| _llm_summary | No | ||
| action_value | No | ||
| _next_actions | No | ||
| fallback_note | No | ||
| fallback_tool | No | Suggested fallback (error path) | |
| is_real_money | No | ||
| _value_signals | No | ||
| summary_for_user | No | One-line jargon-free Korean summary (success path) | |
| data_classification | No | ||
| is_investment_advice | No | ||
| ai_summary_ttl_seconds | No | ||
| _market_state_narrative | No | ||
| ai_summary_generated_at | No | RFC3339 UTC | |
| _followup_questions_for_user | No |