v1

latestOpenAPI 3.0.02026-07-24374582.1 KB
Accounts

Get Account Gain/Loss

Get cost basis and gain/loss information for an account. This includes information for all closed positions. Cost basis information is updated through a nightly batch reconciliation process with our clearing firm

get/v1/accounts/{account_id}/gainloss

Path parameters

account_idstring required

ID of the account

Query parameters

pageinteger

Page number for pagination

limitinteger

Set a max number of number of positions to return

sortBy'closeDate' | 'openDate'

Sort the results by specified field

sort'asc' | 'desc'

Sort direction (ascending/descending)

Headers

Accept'application/json' required

Response format

Response

Account gain/loss information