# Trading

OptSwap provides users with a number of tools to trade quickly and efficiently on-chain. It is important to understand how each of them works so that the various advanced order types and settings can be utilized correctly.

In general, all limit orders and trades are always matched on the Decentralized Exchange (DEX). The Automated Market Maker (AMM) manages orders on your behalf by constantly re-pricing the options contracts based on your pre-defined risk criteria until a counterparty is available who is willing to trade at the latest price.

Batch Orders allow traders to post multiple orders as part of a single transaction; and can ensure that all orders within the batch are either completely filled or the whole batch gets reverted. This is useful for option spread traders who want to be guaranteed the complete fill of all the legs within an advanced multi-legged strategy.

{% hint style="info" %}
Buying options requires paying the premium denominated in cash tokens. Selling options requires posting the margin, which may be denominated in either the underlying asset or cash tokens depending on the option type. Spreads are always cash settled.
{% endhint %}

### Topics

{% content-ref url="/pages/CczZbhpIfC5nXuu1dqq6" %}
[Limit Orders](/user-manual/trading/limit-orders.md)
{% endcontent-ref %}

{% content-ref url="/pages/BhhoWdWgErKwctiLSgvL" %}
[Option Spreads](/user-manual/trading/option-spreads.md)
{% endcontent-ref %}

{% content-ref url="/pages/ki9QMhWd1ZSjETdszxuh" %}
[Advanced Order Types](/user-manual/trading/advanced-order-types.md)
{% endcontent-ref %}

{% content-ref url="/pages/VluYxAELVWyPSKIz0mO0" %}
[Automated Market Maker (AMM)](/user-manual/trading/automated-market-maker-amm.md)
{% endcontent-ref %}

{% content-ref url="/pages/h6d7JhRpL9aTMzkK8Jsb" %}
[Modify & Cancel Orders](/user-manual/trading/modify-and-cancel-orders.md)
{% endcontent-ref %}

{% content-ref url="/pages/m42LcVUO4OQv3STEYQxZ" %}
[Positions](/user-manual/trading/positions.md)
{% endcontent-ref %}

{% content-ref url="/pages/enjj3UTr9LUoAt1P1g1O" %}
[User Accounts](/user-manual/trading/user-accounts.md)
{% endcontent-ref %}

{% content-ref url="/pages/P7HSna0uRRzNS0FvrZ46" %}
[Options Oracles](/user-manual/trading/options-oracles.md)
{% endcontent-ref %}

{% content-ref url="/pages/upOm6LSM4WSmozG4yn5j" %}
[Margin Requirements](/user-manual/trading/margin-requirements.md)
{% endcontent-ref %}

{% content-ref url="/pages/NI3QjLwSDF9lkMExePON" %}
[Fees](/user-manual/trading/fees.md)
{% endcontent-ref %}


---

# Agent Instructions: 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://docs.optswap.org/user-manual/trading.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.
