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).
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 |