Market (Futures)
Documentation on interacting with Bitget's Futures Market Data API functions through the PENDAX Javascript SDK.
Get All Symbols
Function name:
getAllFuturesSymbols(options)Usage:
import { createExchange } from "./exchanges/exchange.js";
let myBitgetAccount = createExchange({
exchange: "bitget",
authenticate: "true",
key: "myKeys",
secret: "mySecret",
passphrase: "myPassphrase",
label: "bitget",
marginType: "usdt",
testnet: "false"
});
async function getAllFuturesSymbols(exchange, options) {
try {
let result = await exchange.getAllFuturesSymbols(options);
console.log(result);
} catch (error) {
console.log(error.message);
}
}
const result = await getAllFuturesSymbols(myBitgetAccount, {productType: "umcbl"})Get Depth
Function name:
Usage:
Get Single Symbol Tracker
Function name:
Usage:
Get All Symbol Tracker
Function name:
Usage:
Get Fills
Function name:
Usage:
Get Candle Data
Function name:
Usage:
Get Symbol Index Price
Function name:
Usage:
Get Symbol Next Funding Time
Function name:
Usage:
Get History Funding Rate
Function name:
Usage:
Get Current Funding Rate
Function name:
Usage:
Get Open Interest
Function name:
Usage:
Get Symbol Mark Price
Function name:
Usage:
Get Symbol Leverage
Function name:
Usage:
Last updated