> For the complete documentation index, see [llms.txt](https://api-docs.b2trader.b2broker.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.b2trader.b2broker.com/get-started/order-statuses.md).

# Order statuses

## Market and Limit orders

Orders can be assigned one of the following statuses:

* **Started**: The order has passed preliminary checks.
* **Pending**: For Limit orders: the order is waiting for a price trigger.
* **Working**: The order is being executed.
* **Completed**: The order has been executed in its full amount.
* **Cancelled**: The order has been cancelled by a trader.
* **Rejected**: The order has been rejected by the system and has never been assigned the *Working* status.
* **Expired**: The order has been cancelled due to [Time in force](/get-started/time-in-force.md) settings. Some part of it may have already been executed. The status is applicable for GTD and Day orders only.

## Stop orders

Orders can be assigned one of the following statuses:

* **Waiting for activation**: The order awaits the Activation price trigger.
* **Activated**: The Activation price has been reached, a new Market or Limit order has been placed.
* **Rejected**: The Activation price has been reached, but an issue occurred with placing of a new Market or Limit order.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.b2trader.b2broker.com/get-started/order-statuses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
