/api/rest/v1/otc/trades/by-sub-account/{subAccountId}get https://api.t-dx.com/api/rest/v1/otc/trades/by-sub-account/{subAccountId}Path ParamssubAccountIduuidrequiredThe unique identifier for the sub-account we want to get the trades for.Query Paramssortstring(executed_at-asc|executed_at-desc)Defaults to executed_at-descOptionally sort the resultslimitstringDefaults to 20Optionally limit the number of results (between 1 and 500)queryarray of stringsOptionally filter the resultsqueryADD stringcursorstringOptionally provide a cursor to paginate over pages of resultsResponses 200A successful response. 400Bad Request: indicates that the server cannot or will not process the request due to something that is perceived to be a client error (for example, malformed request syntax, invalid request message framing, or deceptive request routing) 401Unauthenticated: indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource 403Forbidden: indicates that the server understands the request but refuses to authorize it 404Not Found: indicates that the server cannot find the requested resource 500Internal Server Error: indicates that the server encountered an unexpected condition that prevented it from fulfilling the request 503Service Unavailable: indicates that the server is not ready to handle the request. defaultAn unexpected error response.Updated 4 months ago /api/rest/v1/otc/orders/by-sub-account/{subAccountId}/{id}/api/rest/v1/otc/trades/by-sub-account/{subAccountId}/{id}Did this page help you?YesNo