Batch download account valuations as CSV
Streams MTM summaries for multiple accounts as CSV (one row per account). Use for multi-account book-close exports.
Body
Request to download valuations for multiple accounts as CSV.
Required. List of account resource names to query.
Optional. Query valuations as of this timestamp. Mutually exclusive with asOfDate.
Optional. Query valuations as of end of this trade date. Mutually exclusive with asOfTime.
Optional. Method for determining mark price. Default is LAST.
MARK_PRICE_TYPE_LAST, MARK_PRICE_TYPE_VWAP, MARK_PRICE_TYPE_MID Response
A successful response (streaming).
CSV file stream containing account valuation summaries. One row per account. Columns: account, currency, total_cost, total_market_value, total_unrealized_pnl, total_realized_pnl, position_count, valuation_time, mark_price_type, price_source