> For the complete documentation index, see [llms.txt](https://ostium-labs.gitbook.io/ostium-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ostium-labs.gitbook.io/ostium-docs/ostium-trading-engine/step-by-step-tutorial/opening-a-trade.md).

# Opening a Trade

{% hint style="warning" %}
These docs are deprecated and may be outdated. Please use the new docs: [docs.ostium.com](https://docs.ostium.com/)
{% endhint %}

{% stepper %}
{% step %}

### Select a Market

Select your desired market from the drop-down menu in the trade form

<figure><img src="/files/7NdQQFow3fw5Qmq8ipvo" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Fill Trade Information

Select **Side** (long, short), **Order Type** (market, limit, stop), **Collateral Amount**, and **Leverage** (1-200x, depending on the asset). Traders can also input **Estimated Size** (in units of the asset traded), backing out leverage or collateral

<figure><img src="/files/n7LfKv5wmpiIozNXmSab" alt="" width="318"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### (Optional) Set Take Profit and Stop Loss

Optionally set **Take Profit** or **Stop Loss** conditions. Take profit orders at 10x (900%) gain are automatically set to reduce tail event risk for LPs.\
\&#xNAN;*(Please note: maximum and mandatory TPs of 10x is enforced; over time the protocol may increase this threshold or eliminate it entirely should risk management analysis determine they no longer be necessary).*

<figure><img src="/files/8VVSwyj1nDUGqPOTdH5e" alt="" width="304"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Fee breakdown

Optionally check fee breakdown by clicking into fee section and hovering over tooltips detailing your precise fee breakdown

<figure><img src="/files/BudlssbdNNNqOgw19gQ6" alt="" width="332"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Select Buy/Sell Button

Select buy for long (or sell, for shorts):

<figure><img src="/files/JjCyrbWev8IlbD1pDj1w" alt="" width="308"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Confirm trade

Confirm trade conditions. Traders can optionally choose to bypass this confirmation step in the future by selecting "hide order confirmation"

<figure><img src="/files/xwdupcLgMjrkFJsjHnjm" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### (1-click trading disabled) Wallet Confirmation

Confirm order in the wallet extension. Users can bypass this step and proceed directly to order execution through 1-click trading or a smart account

<figure><img src="/files/JcUGlTsTEQfRgIWdJKkF" alt="" width="359"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Monitor your trades

That's it! Monitor your trades in real-time in the "Trades" tab beneath the asset chart.

<figure><img src="/files/hcqETjY4VyrRp2LPMSvd" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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, and the optional `goal` query parameter:

```
GET https://ostium-labs.gitbook.io/ostium-docs/ostium-trading-engine/step-by-step-tutorial/opening-a-trade.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
