Get Closed Orders
Retrieve information about orders that have been closed (filled or cancelled). 50 results are returned at a time, the most recent by default.
Note: If an order’s tx ID is given for start or end time, the order’s opening time (opentm) is used
API Key Permissions Required: Orders and trades - Query closed orders & trades
Authorizations
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
Body
Nonce used in construction of API-Sign header
Whether or not to include trades related to position in output
Restrict results to given user reference
Restrict results to given client order id
Starting unix timestamp or order tx ID of results (exclusive)
Ending unix timestamp or order tx ID of results (inclusive)
Result offset for pagination
Which time to use to search
open, close, both Whether or not to consolidate trades by individual taker trades
Whether or not to include page count in result (true is much faster for users with many closed orders)
Optional parameter for viewing xstocks data.
rebased: Display in terms of underlying equity.base: Display in terms of SPV tokens.
rebased, base