Market (Futures)

Documentation on interacting with Bitget's Futures Market Data API functions through the PENDAX Javascript SDK.

Get All Symbols

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#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

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-depth

Function name:

Usage:

Get Single Symbol Tracker

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-single-symbol-ticker

Function name:

Usage:

Get All Symbol Tracker

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-all-symbol-ticker

Function name:

Usage:

Get Fills

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-fills

Function name:

Usage:

Get Candle Data

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-candle-data

Function name:

Usage:

Get Symbol Index Price

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-symbol-index-price

Function name:

Usage:

Get Symbol Next Funding Time

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-symbol-next-funding-time

Function name:

Usage:

Get History Funding Rate

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-history-funding-rate

Function name:

Usage:

Get Current Funding Rate

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-current-funding-rate

Function name:

Usage:

Get Open Interest

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-open-interest

Function name:

Usage:

Get Symbol Mark Price

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-symbol-mark-price

Function name:

Usage:

Get Symbol Leverage

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/mix/#get-symbol-leverage

Function name:

Usage:

Last updated