Get All Done Orders
GET
https://api.sfox.com/v1/orders/done
Retrieve a list of completed orders.
Rate Limit: 5 requests per 10 seconds
sFOX recommends using the Orders WebSocket feed instead, which streams order updates in real-time and does not count towards your request limit.
Query Parameters
limit
int
Limit on the number of results to return. Default and maximum = 50
. Each response will include no more than 50 results.
before
int
Pagination parameter. Return results that occurred before (older) than the specified ID (id
from response body).
after
int
Pagination parameter. Return results that occurred after (newer) than the specified ID (id
from response body).
action
string
Filter response to only include orders with the specified action/side. Possible values: buy
or sell
(case sensitive).
currency_pair
string
Filter response to only include orders on the specified currency pair (pair
from response body). Format: <basequote>
e.g. btcusd
.
algorithm_id
int
Filter response to only include orders with the specified algorithm_id
/order type. Possible values: Order Types.
status
string
Filter response to only include orders with the specified order status (status
from response body). Possible values: Order Statuses.
Responses
Example Requests
Last updated