Realised P&L attributed per deployment/strategy, net of fees and funding (scope: trading:read)
get/v1/trading/portfolio/attribution
Request
- Base URL: https://app.texttoquant.com/api
- URL: https://app.texttoquant.com/api/v1/trading/portfolio/attribution
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Query parameters
mode'paper' | 'live'
Restrict to paper or live. Omit for both.
fromstring date-time
ISO-8601 window start.
tostring date-time
ISO-8601 window end.
symbolsstring
Comma-separated venue symbols, e.g. BTCUSDT,ETHUSDT.
direction'long' | 'short'
result'win' | 'loss'
dowsstring
Days of week, 0=Sun..6=Sat, e.g. 1,2,3. Listing all seven is treated as no filter.
hour_frominteger
Session start hour. IGNORED unless hour_to is sent too — a lone bound is not guessed at.
hour_tointeger
Session end hour. Required alongside hour_from.
tzstring
IANA timezone for day/hour bucketing.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.