Get All Orders

Retrieves a list of orders for the account, filtered by the supplied query parameters.

Query Params
string
enum

Order status to be queried. open, closed or all. Defaults to open.

Allowed:
integer

The maximum number of orders in response. Defaults to 50 and max is 500.

string

The response will include only ones submitted after this timestamp (exclusive.)

string

The response will include only ones submitted until this timestamp (exclusive.)

string
enum

The chronological order of response based on the submission time. asc or desc. Defaults to desc.

Allowed:
boolean

If true, the result will roll up multi-leg orders under the legs field of primary order.

string

A comma-separated list of symbols to filter by (ex. “AAPL,TSLA,MSFT”). A currency pair is required for crypto orders (ex. “BTCUSD,BCHUSD,LTCUSD,ETCUSD”).

string

Filters down to orders that have a matching side field set.

asset_class
array of strings

A comma-separated list of asset classes, the response will include only orders in the specified asset classes. By specifying us_option as the class, you can query option orders by underlying symbol using the symbols parameter.

asset_class
string

Return orders submitted before the order with this ID (exclusive). Mutually exclusive with after_order_id. Do not combine with after/until.

string

Return orders submitted after the order with this ID (exclusive). Mutually exclusive with before_order_id. Do not combine with after/until.

Response

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