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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the account

Query Params
integer
Defaults to 1

Page number for pagination

integer
Defaults to 100

Set a max number of number of positions to return

string
enum
Defaults to closeDate

Sort the results by specified field

Allowed:
string
enum
Defaults to desc

Sort direction (ascending/descending)

Allowed:
Headers
string
enum
required

Response format

Allowed:
Responses

401

Authentication required or invalid credentials

403

Access denied to the requested resource

404

The requested resource was not found

Language
Credentials
Bearer
Bearer <access_token>
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json