Analyze my trading journal
analyze_trading_performanceAnalyze matched historical stock and ETF SELL executions in the signed-in user's ValuEdge portfolio. Choose overview, daily, sale_weekday or holding_period breakdown, optionally selecting a ticker/currency. Use recorded transaction dates and calendar holding days, not verified execution hours. Compute FIFO gross P&L, P&L after recorded fees, fee impact and verified net only with fee evidence. Preserve eligible history before the first ambiguous date after all identity/source/inventory checks; disclose excluded later sales. One sale is not a full round trip. Keep currencies, matching coverage and fee coverage separate. Not account equity returns, tax reporting or trading instructions. For a daily, weekly or monthly period comparison, specify current from/to and period_review with previous from/to; optional same ticker/currency. This read-only report is included in Lite and higher paid plans or an active Trial. Request separately from other journal review options.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_trading_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date in YYYY-MM-DD format. | |
| from | No | Start date in YYYY-MM-DD format. | |
| ticker | No | Optional exact ticker. Applied after complete FIFO matching; prior purchases remain available. | |
| currency | No | Optional currency code. Required when ranking realized P&L so currencies are never compared nominally. | |
| breakdown | No | Requested breakdown; default overview. Daily detail is bounded and reports truncation. Weekdays use recorded sale dates, not exchange-local execution times. | |
| period_review | No | ||
| portfolio_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| metadata | Yes |