Win rate, profit factor, expectancy, average win/loss over the same filters as the list. Computed over ALL matching trades, not a page (scope: trading:read)
get/v1/trading/trades/stats
Request
- Base URL: https://app.texttoquant.com/api
- URL: https://app.texttoquant.com/api/v1/trading/trades/stats
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Query parameters
source'live' | 'paper' | 'manual' | 'all'
Which ledger. "live" means real money and expands to live+manual; "paper" is simulated.
deployment_idstring uuid
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.