> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pacifica.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Orders

> This section covers details for interacting with current and historical orders on Pacifica.

* [Create market order](/api-documentation/api/rest-api/orders/create-market-order): This endpoint allows users to create a new market order with optional take profit and stop loss levels.
* [Create limit order](/api-documentation/api/rest-api/orders/create-limit-order): This endpoint allows users to create a new limit order with optional take profit and stop loss levels.
* [Create stop order](/api-documentation/api/rest-api/orders/create-stop-order): This endpoint allows users to create stop order.
* [Create position TP/SL](/api-documentation/api/rest-api/orders/create-position-tp-sl): This endpoint allows users to set take profit and stop loss levels for an existing position.
* [Cancel order](/api-documentation/api/rest-api/orders/cancel-order): This endpoint allows users to cancel an existing order.
* [Cancel all orders](/api-documentation/api/rest-api/orders/cancel-all-orders): This endpoint allows users to cancel all orders for all/given symbol(s).
* [Cancel stop order](/api-documentation/api/rest-api/orders/cancel-stop-order): This endpoint allows users to cancel a stop order by its (CL)OID.
* [Edit order](/api-documentation/api/rest-api/orders/edit-order): This endpoint allows users to edit an existing limit order by modifying its size and/or price.
* [Batch order](/api-documentation/api/rest-api/orders/batch-order): This endpoint allows users to submit multiple order operations in a single request. Batched orders are executed in the order they are batched in, and will not be split up by other users' orders.
* [Get open orders](/api-documentation/api/rest-api/orders/get-open-orders): This endpoint allows users to get open orders on their account.
* [Get order history](/api-documentation/api/rest-api/orders/get-order-history): This endpoint allows users to get a summarized order history.
* [Get order history by ID](/api-documentation/api/rest-api/orders/get-order-history-by-id): This endpoint allows users to get order history by id.
