> For the complete documentation index, see [llms.txt](https://learn.bluefin.io/bluefin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.bluefin.io/bluefin/bluefin-perps-exchange.md).

# Bluefin Perps Exchange

- [Introduction](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/introduction.md)
- [Roadmap](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/roadmap.md): Secure, Decentralized Trading for Everyone - Bluefin’s Roadmap to Get There
- [Getting Started](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/getting-started.md): Welcome to Bluefin v2 - the next generation of on-chain trading, powered by Sui, an innovative Layer-1 blockchain network designed for security and scalability.
- [Onboarding](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/getting-started/onboarding.md)
- [Depositing & Set Up](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/getting-started/depositing-and-set-up.md)
- [Tutorials](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/getting-started/tutorials.md): Placing an Order, Adjusting Leverage, Adjusting Margin, Closing a Position
- [Perpetual Swaps](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/getting-started/perpetual-swaps.md): Leverage, Profit and Loss
- [Trading](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading.md)
- [Order Types](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/order-types.md): Limit, Market, Post-Only, Reduce-Only, TIF
- [TP/SL Orders](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/order-types/tp-sl-orders.md): Take Profit (TP) and Stop Loss (SL) Orders are used to fully or partially close your position at a pre-defined price level, to either secure benefits or manage the potential risk of a trade.
- [Orderbook Design](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/orderbook-design.md)
- [Isolated Margining](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/isolated-margining.md)
- [PnL Calculation](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/pnl-calculation.md)
- [Oracle and Index Price](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/oracle-and-index-price.md)
- [Risk Engine](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/risk-engine.md): Liquidation Process, Insurance Funds, and ADL
- [Liquidation Process](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/risk-engine/liquidation-process.md)
- [Insurance Fund](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/risk-engine/insurance-fund.md)
- [ADL](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/risk-engine/adl.md)
- [Funding](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/funding.md)
- [Trading Fees](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/trading-fees.md)
- [Gas Fees](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/gas-fees.md)
- [Contract Specs](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/trading/contract-specs.md): Trading rules of perpetual markets on Bluefin
- [Pre-Launch Markets](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/pre-launch-markets.md)
- [Migration to Pro](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/migration-to-pro.md)
- [Final Withdrawal from Legacy](https://learn.bluefin.io/bluefin/bluefin-perps-exchange/migration-to-pro/final-withdrawal-from-legacy.md)


---

# 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://learn.bluefin.io/bluefin/bluefin-perps-exchange.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.
