Get recent trades
tossinvest_get_tradesRetrieve the most recent executed trades for a stock during the current session, newest first. Use to gauge recent momentum and actual trade sizes.
Instructions
Get today's most recent executed trades (체결 내역) for one stock, newest first.
Useful for gauging very recent momentum and actual traded sizes. Only covers the current session — it is not a historical trade archive.
Args:
symbol (string): One symbol.
count (number): 1-50, default 50.
response_format ('markdown' | 'json'): default 'markdown'.
Returns { symbol, count, trades: [{ price, volume, timestamp, currency }] }. Returns an empty list before the session's first trade.
Errors: 404 stock-not-found for unknown symbols.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of trades to return (max 50). | |
| symbol | Yes | Stock symbol. KRX: 6 digits (e.g. '005930' for Samsung Electronics). US: ticker (e.g. 'AAPL'). | |
| response_format | No | Output format: 'markdown' for a compact human-readable summary, 'json' for the complete raw payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| symbol | Yes | ||
| trades | Yes | ||
| truncated | No | ||
| truncation_message | No |