> For the complete documentation index, see [llms.txt](https://docs.pearprotocol.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pearprotocol.io/api-integration/executing-trade/basket-trade.md).

# Basket Trade

A basket trade allows you to execute multiple orders across different assets simultaneously as a single transaction. This is useful for portfolio rebalancing, implementing complex trading strategies, or executing correlated trades with precise timing.

Examples of basket trade: Long BTC + ETH, Short DOGE + SHIB in a single trade

This is possible in our API by specifying multiple `longAssets` and `shortAssets` along with their respective weights when calling the [Positions](/api-integration/api-specification/positions.md#post-positions)
