get_stock_daily_trading
Get daily trading statistics for a Taiwan stock by symbol, including total volume, total value, transaction count, average price, bid-ask spread, and market cap. Use it to review a stock's daily trading activity.
Instructions
取得股票日交易統計資訊。
提供指定股票當日的詳細交易統計,包括成交量、成交金額、 委買委賣資訊等交易面數據。
使用範例: get_stock_daily_trading("2330") # 查詢台積電日交易資訊 get_stock_daily_trading("0050") # 查詢0050 ETF日交易資訊
Args: symbol: 股票代碼 (例如: "2330")
Returns: MCPToolResponse[dict]: 統一格式的回應,包含: - success (bool): 操作是否成功 - data (dict): 日交易統計資訊,包含: * trading_date: 交易日期 * total_volume: 總成交量 * total_value: 總成交金額 * transaction_count: 成交筆數 * average_price: 平均成交價 * bid_ask_spread: 買賣價差 * market_cap: 市值 - error (str): 錯誤訊息(失敗時) - tool (str): 工具名稱
Raises: 查詢失敗時返回錯誤回應,可能的原因: - 股票代碼不存在 - 非交易日或市場尚未開盤 - 資料來源暫時無法存取
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |