Download Anonymized Trades Archive
download_trades_archiveDownload a CSV file of anonymized trades for a specified instrument and trading day. Use for portfolio analysis and trade history review.
Instructions
Download the anonymized trades archive for one trading day (history-md service) into a CSV file in the output root. Comma-separated, the file carries its own header: TRADE_TS,TICKER_CC,DIRECTION,PRICE,QUANTITY,TRADE_SOURCE,INSTRUMENT_UID. 404 means no archive for that date (weekend/holiday or not yet built — archives are rebuilt nightly).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instrumentId": "<instrumentId>",
"date": "<date>"
},
"name": "download_trades_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Trading day, YYYY-MM-DD | |
| outputPath | No | Target CSV path relative to the output root (default: trades_<uid>_<date>.csv) | |
| instrumentId | Yes | Instrument UID (uuid) from find_instrument |