> For the complete documentation index, see [llms.txt](https://docs.abyssprotocol.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abyssprotocol.xyz/faq.md).

# FAQ

#### General

**Q: Do I need to create a margin manager for spot trading?** A: No, spot trading uses your wallet balance directly. Margin managers are only needed for leveraged trading.

**Q: Can I use multiple margin managers?** A: Yes, you can create multiple margin managers to separate different strategies or trading pairs.

**Q: What happens if I get liquidated?** A: Your position is automatically closed, the borrowed amount is repaid, and a liquidation reward (2-3%) goes to the liquidator. Any remaining collateral stays in your margin manager.

#### Trading

**Q: What's the difference between market and limit orders?** A: Market orders execute immediately at the current price. Limit orders only execute when the market reaches your specified price.

**Q: Can I increase or decrease my position size after opening?** A: Yes, you can place additional orders to increase your position or partially close to reduce it.

**Q: How is PNL calculated?** A: PNL = (Current Price - Entry Price) × Position Size. For short positions, this is inverted.

#### Technical

**Q: Why did my transaction fail?** A: Common reasons include:

* Insufficient wallet balance for gas
* Slippage exceeded (try increasing slippage tolerance)
* Price moved significantly during transaction
* RPC connection issues (try switching RPC endpoints)

**Q: How do I switch RPC endpoints?** A: Click the settings icon near your wallet address and select a different RPC endpoint from the dropdown.

**Q: Where can I get testnet tokens?** A: Use the Sui testnet faucet to receive testnet SUI, then swap for other testnet tokens.

***

### Support

For additional help:

* Visit the Abyss Protocol documentation
* Join the community Discord
* Report issues on Discord or Github

***

*This documentation is for informational purposes only. Trading with leverage involves significant risk. Only trade with funds you can afford to lose.*


---

# 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://docs.abyssprotocol.xyz/faq.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.
