# Defx Documentation

## Defx Documentation

- [Defx Overview](https://docs.defx.com/docs/defx-overview.md)
- [Our Guiding Principles](https://docs.defx.com/docs/defx-overview/our-guiding-principles.md)
- [Vision](https://docs.defx.com/docs/defx-overview/vision.md)
- [Defx Perp DEX](https://docs.defx.com/docs/trade/defx-perp-dex.md)
- [Orders](https://docs.defx.com/docs/trade/defx-perp-dex/orders.md)
- [Margin](https://docs.defx.com/docs/trade/defx-perp-dex/margin.md)
- [Liquidation](https://docs.defx.com/docs/trade/defx-perp-dex/liquidation.md)
- [Insurance Fund](https://docs.defx.com/docs/trade/defx-perp-dex/insurance-fund.md)
- [Auto-Deleveraging (ADL)](https://docs.defx.com/docs/trade/defx-perp-dex/auto-deleveraging-adl.md)
- [Self Trade Prevention](https://docs.defx.com/docs/trade/defx-perp-dex/self-trade-prevention.md)
- [Price Oracle](https://docs.defx.com/docs/trade/defx-perp-dex/price-oracle.md)
- [Fees](https://docs.defx.com/docs/trade/defx-perp-dex/fees.md)
- [Portfolio Margin](https://docs.defx.com/docs/trade/defx-perp-dex/portfolio-margin.md)
- [Collateralization & Liquidation Ratios](https://docs.defx.com/docs/trade/defx-perp-dex/portfolio-margin/collateralization-and-liquidation-ratios.md)
- [Liquidation in Portfolio Margin](https://docs.defx.com/docs/trade/defx-perp-dex/portfolio-margin/liquidation-in-portfolio-margin.md)
- [Glossary](https://docs.defx.com/docs/trade/defx-perp-dex/glossary.md): This section provides an overview of key terms related to the perp DEX. For in-depth explanations and additional details, relevant links are included where applicable.
- [Swaps](https://docs.defx.com/docs/trade/swaps.md): Deposit and withdraw fiat with our integrated partners.
- [Introduction](https://docs.defx.com/docs/trading-bots/introduction.md)
- [Futures Grid](https://docs.defx.com/docs/trading-bots/futures-grid.md)
- [Market Maker Bot](https://docs.defx.com/docs/trading-bots/market-maker-bot.md): Deposit and withdraw fiat with our integrated partners.
- [Delta Neutral Bot](https://docs.defx.com/docs/trading-bots/delta-neutral-bot.md): Deposit and withdraw fiat with our integrated partners.
- [Copy Trade Bot](https://docs.defx.com/docs/trading-bots/copy-trade-bot.md): Deposit and withdraw fiat with our integrated partners.
- [Vaults](https://docs.defx.com/docs/earn/vaults.md)
- [Liquidity Provider Vaults](https://docs.defx.com/docs/earn/vaults/liquidity-provider-vaults.md)
- [Curated Vaults](https://docs.defx.com/docs/earn/vaults/curated-vaults.md)
- [Defx Liquidity Engine](https://docs.defx.com/docs/earn/defx-liquidity-engine.md)
- [Fiat Ramps](https://docs.defx.com/docs/pay/fiat-ramps.md)
- [USD](https://docs.defx.com/docs/pay/fiat-ramps/usd.md)
- [IDR](https://docs.defx.com/docs/pay/fiat-ramps/idr.md)
- [Points](https://docs.defx.com/docs/incentives/points.md)
- [Contests](https://docs.defx.com/docs/incentives/contests.md)
- [Referrals](https://docs.defx.com/docs/incentives/referrals.md)
- [Affiliates](https://docs.defx.com/docs/incentives/affiliates.md)
- [Developer Hub](https://docs.defx.com/docs/api-docs/developer-hub.md)
- [REST APIs Documentation](https://docs.defx.com/docs/api-docs/developer-hub/rest-apis-documentation.md)
- [WebSocket Documentation](https://docs.defx.com/docs/api-docs/developer-hub/websocket-documentation.md)
- [Defx Improvement Proposals (DIPs)](https://docs.defx.com/docs/updates/defx-improvement-proposals.md)
- [DIP-1: Tokenised Vaults](https://docs.defx.com/docs/updates/defx-improvement-proposals/tokenised-vaults.md)
- [DIP-2: 0 Fees & HFT Mode](https://docs.defx.com/docs/updates/defx-improvement-proposals/0-fees.md)
- [DIP-3](https://docs.defx.com/docs/updates/defx-improvement-proposals/dip-3.md)
- [Roadmap](https://docs.defx.com/docs/updates/roadmap.md)
- [Change Log](https://docs.defx.com/docs/updates/change-log.md)
- [Testnet](https://docs.defx.com/docs/resources/testnet.md)
- [Perpetual Contract Specifications](https://docs.defx.com/docs/resources/perpetual-contract-specifications.md)
- [Tokenised Vault Specifications](https://docs.defx.com/docs/resources/tokenised-vault-specifications.md)
- [Protocol Architecture](https://docs.defx.com/docs/resources/tokenised-vault-specifications/protocol-architecture.md)
- [Smart Contracts](https://docs.defx.com/docs/resources/smart-contracts.md)
- [Audits](https://docs.defx.com/docs/resources/audits.md)
- [Smart Contract Vulnerabilities](https://docs.defx.com/docs/risks/smart-contract-vulnerabilities.md)
- [Liquidity Challenges](https://docs.defx.com/docs/risks/liquidity-challenges.md)
- [Oracle Price Risk](https://docs.defx.com/docs/risks/oracle-price-risk.md)
- [Vault Drawdown Risk](https://docs.defx.com/docs/risks/vault-drawdown-risk.md)
- [Regulatory Uncertainty](https://docs.defx.com/docs/risks/regulatory-uncertainty.md)
- [Cybersecurity Threats](https://docs.defx.com/docs/risks/cybersecurity-threats.md)
- [Risk Management Strategies](https://docs.defx.com/docs/risks/risk-management-strategies.md)
- [Terms & Conditions](https://docs.defx.com/docs/legal/terms-and-conditions.md): Terms of use
- [Restricted Territories](https://docs.defx.com/docs/legal/restricted-territories.md)
- [Terms & Conditions](https://docs.defx.com/docs/archive/terms-and-conditions.md): Terms of use
- [Risks](https://docs.defx.com/docs/archive/risks.md)
- [Restricted Territories](https://docs.defx.com/docs/archive/restricted-territories.md)
- [Deprecated - Defx Liquidity Engine](https://docs.defx.com/docs/archive/deprecated-defx-liquidity-engine.md): Defx Liquidity Engine was deprecated after DIP-1
- [sUSDe support](https://docs.defx.com/docs/archive/susde-support.md): Trade Perps on Defx using sUSDe as collateral while your assets keep earning 5% APY
- [Defx Platform Overview](https://docs.defx.com/docs/archive/defx-platform-overview.md)
- [Self-Custodial Exchange](https://docs.defx.com/docs/archive/defx-platform-overview/self-custodial-exchange.md)
- [Central-Limit Order Book (CLOB)](https://docs.defx.com/docs/archive/defx-platform-overview/central-limit-order-book-clob.md)
- [Our Vision](https://docs.defx.com/docs/archive/our-vision.md)
- [Roadmap](https://docs.defx.com/docs/archive/roadmap.md)
- [Trade Smarter: How Defx's Multi-Asset Collateral System Transforms Crypto Trading](https://docs.defx.com/docs/archive/trade-smarter-how-defxs-multi-asset-collateral-system-transforms-crypto-trading.md)
- [Getting Started](https://docs.defx.com/docs/archive/getting-started.md)
- [Just-in-Time (JIT) Funding](https://docs.defx.com/docs/archive/just-in-time-jit-funding.md)
- [Liquidity Pools](https://docs.defx.com/docs/archive/liquidity-pools.md)
- [Arbitrum L2](https://docs.defx.com/docs/archive/arbitrum-l2.md)
- [Solana](https://docs.defx.com/docs/archive/solana.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, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.defx.com/docs/defx-overview.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.
