# Coinlocally Docs

## API Document

- [Introduction](https://docs.coinlocally.com/introduction.md)
- [API Basic Information](https://docs.coinlocally.com/introduction/api-basic-information.md)
- [HTTP Error Codes](https://docs.coinlocally.com/introduction/http-error-codes.md)
- [General Information](https://docs.coinlocally.com/introduction/general-information.md)
- [Limits](https://docs.coinlocally.com/introduction/limits.md)
- [Endpoint Security Type](https://docs.coinlocally.com/introduction/endpoint-security-type.md)
- [Signature Authentication](https://docs.coinlocally.com/introduction/signature-authentication.md)
- [Timing Security](https://docs.coinlocally.com/introduction/timing-security.md)
- [SIGNED Endpoint Example](https://docs.coinlocally.com/introduction/signed-endpoint-example.md)
- [Changelog](https://docs.coinlocally.com/changelog.md)
- [Spot](https://docs.coinlocally.com/spot.md)
- [Public](https://docs.coinlocally.com/spot/public.md)
- [Market](https://docs.coinlocally.com/spot/market.md)
- [Trade](https://docs.coinlocally.com/spot/trade.md)
- [Account](https://docs.coinlocally.com/spot/account.md)
- [Futures](https://docs.coinlocally.com/futures.md)
- [Public](https://docs.coinlocally.com/futures/public.md)
- [Market](https://docs.coinlocally.com/futures/market.md)
- [Trade](https://docs.coinlocally.com/futures/trade.md)
- [Account](https://docs.coinlocally.com/futures/account.md)
- [Margin](https://docs.coinlocally.com/margin.md)
- [Withdraw](https://docs.coinlocally.com/withdraw.md)
- [WebSocket](https://docs.coinlocally.com/websocket.md)
- [Spot](https://docs.coinlocally.com/websocket/spot.md)
- [Futures](https://docs.coinlocally.com/websocket/futures.md)
- [Official SDK](https://docs.coinlocally.com/official-sdk.md)
- [Affiliate](https://docs.coinlocally.com/affiliate.md)
- [Enums](https://docs.coinlocally.com/enums.md)
- [Error](https://docs.coinlocally.com/error.md)
- [FAQ](https://docs.coinlocally.com/faq.md)

## Perpetual Contracts

- [Introduction](https://docs.coinlocally.com/perpetual-contracts/introduction.md)
- [Overview](https://docs.coinlocally.com/perpetual-contracts/overview.md)
- [Funding Rate](https://docs.coinlocally.com/perpetual-contracts/overview/funding-rate.md)
- [Mark Price](https://docs.coinlocally.com/perpetual-contracts/overview/mark-price.md)
- [Index Price](https://docs.coinlocally.com/perpetual-contracts/overview/index-price.md)
- [Ladder Balancing Mechanism](https://docs.coinlocally.com/perpetual-contracts/overview/ladder-balancing-mechanism.md)
- [Insurance Fund](https://docs.coinlocally.com/perpetual-contracts/overview/insurance-fund.md)
- [Auto-Deleveraging (ADL)](https://docs.coinlocally.com/perpetual-contracts/overview/auto-deleveraging-adl.md)
- [USDT Margined Perpetual Contract](https://docs.coinlocally.com/perpetual-contracts/usdt-margined-perpetual-contract.md)
- [Introduction](https://docs.coinlocally.com/perpetual-contracts/usdt-margined-perpetual-contract/introduction.md)
- [Leverage and Position Limit](https://docs.coinlocally.com/perpetual-contracts/usdt-margined-perpetual-contract/leverage-and-position-limit.md)
- [Ladder Maintenance Margin Rate](https://docs.coinlocally.com/perpetual-contracts/usdt-margined-perpetual-contract/ladder-maintenance-margin-rate.md)
- [Margin and Profit/Loss Calculations](https://docs.coinlocally.com/perpetual-contracts/usdt-margined-perpetual-contract/margin-and-profit-loss-calculations.md)
- [Coin Margined Perpetual Contracts](https://docs.coinlocally.com/perpetual-contracts/coin-margined-perpetual-contracts.md)
- [Currency Standard Perpetual Contract](https://docs.coinlocally.com/perpetual-contracts/coin-margined-perpetual-contracts/currency-standard-perpetual-contract.md)
- [Leverage and Position Limit](https://docs.coinlocally.com/perpetual-contracts/coin-margined-perpetual-contracts/leverage-and-position-limit.md)
- [Ladder Maintenance Margin Rate](https://docs.coinlocally.com/perpetual-contracts/coin-margined-perpetual-contracts/ladder-maintenance-margin-rate.md)
- [Margin and Profit/Loss Calculations](https://docs.coinlocally.com/perpetual-contracts/coin-margined-perpetual-contracts/margin-and-profit-loss-calculations.md)
- [Functions](https://docs.coinlocally.com/perpetual-contracts/functions.md)
- [Perpetual Contract User Guide](https://docs.coinlocally.com/perpetual-contracts/functions/perpetual-contract-user-guide.md)
- [One-way and Two-way Positions](https://docs.coinlocally.com/perpetual-contracts/functions/one-way-and-two-way-positions.md)
- [Conditional Order](https://docs.coinlocally.com/perpetual-contracts/functions/conditional-order.md)
- [Take Profit, Stop Loss TP/SL](https://docs.coinlocally.com/perpetual-contracts/functions/take-profit-stop-loss-tp-sl.md)
- [Take Profit Stop Loss Order](https://docs.coinlocally.com/perpetual-contracts/functions/take-profit-stop-loss-order.md)
- [Contract Grid](https://docs.coinlocally.com/perpetual-contracts/functions/contract-grid.md)
- [Futures Copy](https://docs.coinlocally.com/perpetual-contracts/functions/futures-copy.md)
- [How to Carry Out a Transaction](https://docs.coinlocally.com/perpetual-contracts/functions/futures-copy/how-to-carry-out-a-transaction.md)
- [Profit Sharing](https://docs.coinlocally.com/perpetual-contracts/functions/futures-copy/profit-sharing.md)
- [How to Copy Trade](https://docs.coinlocally.com/perpetual-contracts/functions/futures-copy/how-to-copy-trade.md)
- [Futures Copy Trading Rules](https://docs.coinlocally.com/perpetual-contracts/functions/futures-copy/futures-copy-trading-rules.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.coinlocally.com/introduction.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.
