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

# Using PENDAX SDK

## Understanding Common Functions

It is important to understand how functions are dictated within the PENDAX SDK.

Our team has done an excellent job in aggregating what we will refer to as "common functions" for a plethora of integrated platforms. Common functions are widely used calls available on different platforms and will work by just changing the "exchange" parameter and making edits to API credential layouts (depending on the selected exchange).

Examples of common functions include calls like **placing trade orders** or **getting account balances**. By normalizing these commands developers can work in a more efficient manner while customizing integrations or code bases for multiple or different supported platforms.

{% content-ref url="/pages/9KeEAlgJuWwrG3iFeAmH" %}
[Common Functions](/pendax/using-pendax-sdk/common-functions.md)
{% endcontent-ref %}

## Exchange Specific Functions

While there are a large variety of commonly normalized functions, there also may be a number of exchange-specific calls available for your selected platform. Many exchanges may include API features native to their interface and not found on other platforms so designating a common function is difficult in this manner.

We recommend browsing both the [Common Functions](/pendax/using-pendax-sdk/common-functions.md) and exchange-specific documentation pages while creating any instrument with PENDAX to ensure your code is designed to interact with the SDK in the correct manner.

{% content-ref url="/pages/gsNucVoTMTxAB5ELHuFf" %}
[OKX Functions](/pendax/using-pendax-sdk/okx-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/veVpaMByNPaTfIiW243M" %}
[ByBit Functions](/pendax/using-pendax-sdk/bybit-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/8SRJZOHoOjKz56cizzh6" %}
[Bitget Functions](/pendax/using-pendax-sdk/bitget-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/xMUECFglJFvcrUs8jqWB" %}
[Mexc Functions](/pendax/using-pendax-sdk/mexc-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/9aQoXZbAYeF0kMUiHJG3" %}
[FTX Functions](/pendax/using-pendax-sdk/ftx-functions.md)
{% endcontent-ref %}


---

# 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.compendium.finance/pendax/using-pendax-sdk.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.
