Trading

GET Futures Account Balance

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-futures-account-balancearrow-up-right

Function Name:

getFuturesAccountBalance()

Usage:

import { createExchange } from "./exchanges/exchange.js";

   let myBlofinExchange  = createExchange({
      exchange: "blofin",
      authenticate: "true",
      key: "myKey",
      secret: "mySecret",
      passphrase: "myPassphrase",
      label: "blofin"
  });

async function getFuturesAccountBalance(exchange, options) {
    try {
        let result = await exchange.getFuturesAccountBalance(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

let result = await getFuturesAccountBalance(myBlofinExchange, 
});

GET Positions

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-positionsarrow-up-right

Function Name:

Usage:

GET Margin Mode

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-margin-modearrow-up-right

Function Name:

Usage:

GET Multiple Leverage

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-multiple-leveragearrow-up-right

Function Name:

Usage:

Set Leverage

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#set-leveragearrow-up-right

Function Name:

Usage:

Place Order

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#place-orderarrow-up-right

Function Name:

Usage:

Place Multiple Orders

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#place-multiple-ordersarrow-up-right

Function Name:

Usage:

Place TPSL Order

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#place-tpsl-orderarrow-up-right

Function Name:

Usage:

Cancel Order

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#cancel-orderarrow-up-right

Function Name:

Usage:

Cancel Multiple Orders

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#cancel-multiple-ordersarrow-up-right

Function Name:

Usage:

Cancel TPSL Order

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#cancel-tpsl-orderarrow-up-right

Function Name:

Usage:

GET Active Orders

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-active-ordersarrow-up-right

Function Name:

Usage:

GET Active TPSL Orders

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-active-tpsl-ordersarrow-up-right

Function Name:

Usage:

Close Positions

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#close-positionsarrow-up-right

Function Name:

Usage:

GET TPSL Order History

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-tpsl-order-historyarrow-up-right

Function Name:

Usage:

GET Trade History

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-trade-historyarrow-up-right

Function Name:

Usage:

Last updated