💻Common Functions
This page documents common functions across exchanges within the PENDAX SDK that developers can utilize while integrating.
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).
Some exchanges may not be included in common functions due to unique API layouts native to that platform. If a common function is not found here for your selected exchange then please visit that exchange's functions page.
Account Data
Get Balances
getBalances(options)Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Trading
Place Order
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Cancel Order
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Cancel All Orders
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Not supported on OKX (Use combination of getLiveOrders() or the native getOrderList() and cancelMultiOrder() ) - WARNING - Okx rate-limits cancelMultiOrder() - see documents for details: https://www.okx.com/docs-v5/en/#rest-api-trade-cancel-multiple-orders
Get Open Positions
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Get Open Orders
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Market Info
Get Markets
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Get Market
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
FTX US ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Get Open Interest
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Get Current Funding Rate
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Get Next Funding Rate
Available Exchanges:
FTX ( ⚠️ Exchange Unavailable - For Documentation Purposes ONLY)
Last updated