# Coin Exchange

## Coin Exchange

- [Overview](https://ajaib.gitbook.io/coin-exchange/overview.md)
- [Authentication](https://ajaib.gitbook.io/coin-exchange/getting-started/authentication.md): This page explains how to sign and authenticate HTTP endpoint requests with API keys.
- [Definitions](https://ajaib.gitbook.io/coin-exchange/getting-started/definitions.md)
- [Errors](https://ajaib.gitbook.io/coin-exchange/getting-started/errors.md): Learn more about error codes and how to resolve them.
- [Market Info](https://ajaib.gitbook.io/coin-exchange/api-references/market-info.md)
- [Server Time](https://ajaib.gitbook.io/coin-exchange/api-references/market-info/server-time.md)
- [Exchange Info](https://ajaib.gitbook.io/coin-exchange/api-references/market-info/exchange-info.md)
- [Depth](https://ajaib.gitbook.io/coin-exchange/api-references/market-info/depth.md)
- [Price](https://ajaib.gitbook.io/coin-exchange/api-references/market-info/price.md)
- [Wallet](https://ajaib.gitbook.io/coin-exchange/api-references/wallet.md)
- [Retrieve Portfolio](https://ajaib.gitbook.io/coin-exchange/api-references/wallet/retrieve-portfolio.md)
- [Spot Trading](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading.md)
- [Get Trades](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/get-trades.md)
- [Get Order](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/get-order.md)
- [Get Open Orders](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/get-open-orders.md)
- [New Order](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/new-order.md)
- [Self Trading](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/self-trading.md)
- [Batch New Orders](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/batch-new-orders.md)
- [Cancel Order](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/cancel-order.md)
- [Batch Cancel Orders](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/batch-cancel-orders.md)
- [Cancel All Open Orders](https://ajaib.gitbook.io/coin-exchange/api-references/spot-trading/cancel-all-open-orders.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://ajaib.gitbook.io/coin-exchange/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.
