broker_get_trade_stats
Aggregate imported trade statistics by date range and broker, including buy/sell counts, shares, amounts, fees, and distinct symbols. Use it to review trading activity and portfolio holdings.
Instructions
汇总已导入交易的统计指标(买卖笔数/股数/金额、费用、持仓标的数)。
Args:
start_date: 起始日期 YYYY-MM-DD(含)
end_date: 结束日期 YYYY-MM-DD(含)
broker: 券商标识筛选(默认全部)
Returns:
{buy: {...}, sell: {...}, total_trades, distinct_symbols, first_date, last_date}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker | No | ||
| end_date | No | ||
| start_date | No |